force ip to use nic, VPN

I have 2 nics in a computer running Fedora Core 1.
nic 1     10.10.20.124
nic 2     192.168.0.1

LOCAL NETWORK
(10.10.20.62, 10.10.20.63)   (10.10.20.72 through 10.10.20.123)  are connected to the 10.10.20.124 nic
REMOTE NETWORK
(10.10.20.64 through 10.10.20.71) are at the remote location

I am using 2 routers to make a VPN to the remote location.
My understanding is the subnets on both ends must be different.
How can I connect 192.168.0.1 to the VPN and telnet to the remote machines through the VPN?
(Telnet 10.10.20.64) wants to go out 10.10.20.124, not 192.168.0.1.
 
The local and remote lans must not be connected and I cannot change the addresses.
LVL 1
Ted22Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
jlevieConnect With a Mentor Commented:
> My understanding is the subnets on both ends must be different.

That would be correct and it isn't what you have now.  The only thing that you could do would be to use an arraingement like:

  Local Network----Linux Box--------------------Linux Box----Remote Network
                                                       Glue Network
                                                      192.168.0.0/24

Since each Linux Box would have an IP in the "Glue Network" you could telnet to the remote Linux boxes IP on that network. In that session you could then telnet to the 10.10.20.64 machine.
0
All Courses

From novice to tech pro — start learning today.