force ip to use nic, VPN
Posted on 2004-09-10
I have 2 nics in a computer running Fedora Core 1.
nic 1 10.10.20.124
nic 2 192.168.0.1
(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
(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.