Unsolved
This post is more than 5 years old
2 Intern
•
7.9K Posts
0
22807
January 10th, 2008 21:00
Static Routes, VPN, and Split Tunneling -- Please Help Me :)
My school recently openned up VPN access for students (PPTP based). It assigns us an IP in the 192.168.168.x range. This allows us to access resouces that we would otherwise be denied access to -- such resources have public IPs (not 192.168.168.255 addresses).
The negative to this is that when I connect to the VPN (I'm using vista right now), all traffic is routed through the VPN by default. I only wanted traffic for the secured resources in question to flow through the VPN -- I want the rest to use my normal internet connection.
I have tried unchecking the box to 'use default gateway on remote network’ under the TCP settings for the VPN connection. The immediate effect of this (from looking at the routing table) is to only pass 192.168.168.x traffic through the VPN and not other traffic. This fails to pass the secured resources through the VPN as they are not on this subnet.
I have come to the conclusion that I need to uncheck the box so that the default gateway is not the remote network. I then need to manually define static routes. The problem is, I have no idea how to do this either on vista (which I'm currently using as a client) or on my dd-wrt router (which can also be a PPTP client).
Thanks for any help.
No Events found!


NemesisDB
2 Intern
•
7.9K Posts
0
January 11th, 2008 22:00
dremeda
8 Posts
0
January 11th, 2008 22:00
It is open source, free, and easy to configure.
Enjoy your weekend :)
Dre
dremeda
8 Posts
0
January 11th, 2008 22:00
NemesisDB
2 Intern
•
7.9K Posts
0
January 12th, 2008 03:00
NemesisDB
2 Intern
•
7.9K Posts
0
January 12th, 2008 14:00
dremeda
8 Posts
0
January 12th, 2008 14:00
Also if you run into any problems editing your HOSTS or LMHOSTS file being that it's Vista here is the work around:
http://support.microsoft.com/kb/923947
http://support.microsoft.com/kb/314884/en-us
http://theillustratednetwork.mvps.org/Vista/PPTP/Examplelmhosts.txt
dremeda
8 Posts
0
January 12th, 2008 22:00
dremeda
8 Posts
0
January 15th, 2008 10:00
NemesisDB
2 Intern
•
7.9K Posts
0
January 15th, 2008 11:00
NemesisDB
2 Intern
•
7.9K Posts
0
January 20th, 2008 00:00
Message Edited by NemesisDB on 01-19-2008 08:48 PM
NemesisDB
2 Intern
•
7.9K Posts
0
January 20th, 2008 01:00
NemesisDB
2 Intern
•
7.9K Posts
0
January 21st, 2008 02:00
for /f "tokens=1-2 delims=:" %%i in (ip1.txt) do echo %%j> ip2.txt
route add IP2 %CLS%
del ip1.txt
del ip2.txt
Message Edited by NemesisDB on 01-21-2008 01:32 AM
dremeda
8 Posts
0
January 21st, 2008 11:00