Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

linux/win vpn and routing

Status
Not open for further replies.

uudavid

MIS
Aug 19, 1998
6
US
Hello All,<br>
<br>
I have the following and am missing something, but I don't know what yet (sigh):<br>
<br>
I have a windows 9x box that has a routed address in one office. In another office is a linux box running PoPToP (pptpd) and I can make a VPN connection between the two machines.<br>
<br>
From the windows box I can then telnet/ping/traceroute over the VPN to the linux box, and from the linux box I can ping and traceroute to the windows box. Also if I check the logs, the connection is made and the route is up between the boxes. The VPN is up!<br>
<br>
From the linux box I can see the internet and also the private network, BUT I have obviously missed something, because I can't see the private network from the windows box.<br>
<br>
What I want to do is be able to see the private network so that I can log onto a windows NT terminal server over the VPN.<br>
<br>
Any ideas of what I might missed? If requested, I can post the configs and a diagram on a web page.<br>
<br>
Thanks, David
 
Have you set up a route on the M$ box to the private network using the Linux box as the gateway? <br>
<br>
I think the syntax for this on the M$ box is: <br>
<br>
route add &lt;destination network&gt; mask &lt;netmask&gt; &lt;Linux box address&gt; metric x<br>
<br>
Remember to specify the full address for the destination network. ie, if it's network 10, then use 10.0.0.0. Netmask is whatever is in use on the private network, and &quot;x&quot; for metric should be &gt; 1, cos presumably this is over a dial-up link. 3 or 5 should be suitable.<br>
<br>
If you've done this, then is IP_FORWARDING turned on in the kernel on the Linux box? I believe this is needed if you need to use the box as a gateway. (Use xmenuconfig to reconfig the kernel - the option is well detailed in there.)<br>
<br>
HTH.
 
do you need to make entries in you windows lmhosts file? I was told this by someone however I have not tried it myself.<br>
<br>
war...
 
Windows 95\98\NT all have a hosts and lmhosts files these files need to be filled with names to ip addresses like the hosts file on a linux box! <p>Simon Jones<br><a href=mailto:sijones_uk@yahoo.com>sijones_uk@yahoo.com</a><br><a href= Allandale Youth Works</a><br><b>God</b> am good!!! and good lookin :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top