|
Posted by Vikas on December 18, 2006, 12:51 am
If you were Registered and logged in, you could reply and use other advanced thread options Vegar wrote:
> Hi!
>
> I use VPN to connect to my campus network to access an online library
> and a news-server. I only want the traffic bound for my university
> subnet to go through the VPN connection and the rest to go through my
> home router.
>
> The client I'm using, and my university recommends, is Cisco VPN:
> version 4.8.01.0300. My OS is Windows XP.
>
> So far I've tried to check the Allow local LAN access in the Cisco VPN
> client menus, then I used the "route" command to remove the VPN default
> gateway, after that I added a route for the university subnet and then
> added a default gateway which is my home router.
>
> These are the steps i took:
> Logon to VPN server
> # Delete default route
> route delete 0.0.0.0
> # Add the route to campus subnet.
> route add xxx.xxx.0.0 mask 255.255.0.0 <assigned VPN ip> if 0x50004
> # Add default route
> route add 0.0.0.0 mask 0.0.0.0 <home router ip> if 0x2
>
> After these steps the route to the campus subnet works and I can connect
> to all IPs on that subnet, however the default route does not work even
> though I can ping <home router ip>. An identical route works fine when
> VPN is not active.
>
> I have been unsuccessful in locating relevant information on the web and
> I therefore post in this newsgroup.
>
> Vegar
You can not modify the routes when the VPN client is active. The VPN
client's Virtual Adapter keeps a tab on the routing of the local system
and will not let you modify the routes since it is a security breach.
Try adding another NIC on the system and keep it as the default gateway.
So when you are trying to go to the univ. campus you use NIC 1 and when
you are trying to go to local lan you use NIC2.
Expect some hiccups with two NICs and VPN client (not very grave) as the
Cisco VPN client is not designed to work with two NICs.
Regards
Vikas
|