Solved

force ip to use nic, VPN

Posted on 2004-09-10
1
264 Views
Last Modified: 2008-03-06
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
Comment
Question by:Ted22
1 Comment
 
LVL 40

Accepted Solution

by:
jlevie earned 250 total points
ID: 12032227
> 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ovirt web management page 1 77
Linux : can't create transaction lock error 1 62
iptables ubuntu BLOCK all 2 83
Linux Hanging with disable Error Output 4 83
I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now