Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 276
  • Last Modified:

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.
0
Ted22
Asked:
Ted22
1 Solution
 
jlevieCommented:
> 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

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now