My windows VPN clients can access all internal resources with no problem, but when connected they cannot use internet. I have tried different windows settings but nothing seems to work. Any ideas?
You have a problem with default gateways. You are using the default gateway on the remote network. On a windows 2000 client, put up the PPTP connection properties, network tab, TCP/IP, advanced, and uncheck the box. The proceedure is similar on 98, but I don't have a 98 box around. Once unchecked, only packets desin for the remote network with travel accross the VPN. ALl other with go to you local DFG and continue to the appropriate destination.
In the case where you _don't_ have default gw set to your VPN-net - how do you tell the client which nets are behind the VPN-server, besides the local one?
Scenario: To subnets at work: 192.168.1.x and 10.1.2.x - the vpn-gw is located at the 192.168.1.x-net.
You want your PPTP-client to know that it should use the VPN-connection to get to 192.168.1.x _and_ the 10.1.2.x-net. And internet localy for the rest.
I know one can hard-set routes at the client - but I need to have the VPN-server to set them.
Use static route statments. Lets say that behind the VPN server there is network 192.168.1.0 /24 and 192.168.2.0 /24 and the IP of the VPN box is 167.34.x.x
On a windows client open a command window and enter the following ststements:
You can then use the route print command to view the routing table. These 2 entries should appear at the bottom under persistent routes, which means they will not be cleared by a reboot.