[NTLUG:Discuss] PPTP / VPN solution.. SO CLOSE!
Paul Ingendorf
pauldy at wantek.net
Fri Sep 21 17:22:12 CDT 2001
What he is asking there automatically happens via one of two means. Either poptop hands out the ip or pppd does depending on how you set it up. As far as routing to the subnets it should happen automatic as well. MS routes seem to work in lifo fashion meaning the last route entered becomes the first one to try. I've setup poptop a few times with varying levels of success.
I'm just guessing this is the type of setup your trying to do. You want to bridge one network to another using a vpn tunnel and bridge traffic from your internal network through the vpn adaptor on your windows machine to the linux machine. If this is not correct let me know. I've seen it many a time that this type of setup will not work properly due to the nature of a pptp connection. I can't explain that any further than that at this moment.
Now if your just trying to get your machines connected remotely as if they were on the local ip network you would just setup the following.
in your pptp.conf put in something like so
localip 10.2.247.59
remoteip 10.2.247.60-80
and in your options file
lock
name yourservername
auth
mru 1450
mtu 1450
proxyarp
Put ms-wins yourwinsip in the options file if you want to attempt network browsing. I run this type of setup to connect from home to the office and from the office to home and it works fine. However from each machine I have to open a vpn tunnel and I'm using the 192 net. If your trying to use it with the encryption I couldn't help you as I have yet to get that working as advertised.
Hope this helps,
-Paul Ingendorf
More information about the Discuss
mailing list