Discussion Locked

Routing and VPN Problems driving me nuts

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

2 Questions both doing with routing

We have a machine that is setup to be the router and the remote access server (VPN). It has 2 cards in it one for the internal network and one for the Outside world (to use to connect to VPN) Once the new card was put on and RRAS was turned on we could get a VPN connection but not see the internet. So when someone connects to our machine they can not see the intenet while connected.
I tried creating static routes but I dont know enough about them to know what to do put.

THe two cards are setup totally differen if the internal cards gatway is the default then you can see the intenet and not connect to VPN. If the outside cards gateway is the default it is the opposite.

Next question onceconnected to our network you can see all the machines in network neighboorhood but you can not reach them by clicking on them.

Any help would be greatly appreciated. If you need more information let me know I will supply it there is just to muchto write.

Thank you

4 replies

by stillatit

When a client calls into the vpn server and has the "use default gateway on remote host" set, the client will appear to lose the internet while connected to the vpn.

The fix is to turn OFF that box, and to create a batch file to run route commands (below). An icon on the desktop is used to run the batch file.

Example:
Assume that the vpn server is at xxx.yyy.zzz.20, mask 255.255.255.0
Let the vpn server give out addresses in the range 192.168.1.0 mask 255.255.255.0 (why not)
The vpn server claims the address 192.168.1.1 as its address on this subnet.
RRAS is set to route the 192.168.1.0 range to the rest of your network, and advertise the route to your other routers.
The client dial-up networking entry connects to xxx.yyy.zzz.20 and accepts any IP address. The checkbox for "use default gateway" is NOT checked.
The box IP is aaa.bbb.ccc.ddd
You have a second IP range eee.fff.ggg.0.

The batch file should look like:
%echo off
ROUTE ADD xxx.yyy.zzz.20 MASK 255.255.255.255 aaa.bbb.ccc.ddd
rem leave route to the server alone
ROUTE ADD xxx.yyy.zzz.0 MASK 255.255.255.0 192.168.1.1
rem The rest of the range goes through the vpn
ROUTE ADD eee.fff.ggg.0 MASK 255.255.255.0 192.168.1.1
rem And this range does also
Good luck.

by stillatit

Being unable to reach the other stations might be because there is not a route back through your router to the vpn station. Having RRAS advertise the route should fix this.

by thornley

I was able to see internet but all I had to do was not accept the default route. The machines still look like they are there but are not reachable.

This discussion is closed to new replies.