Sharing internet connection over local VPN?

pojo

Active Member
Joined
May 25, 2006
Messages
54
Reaction score
0
Location
Centurion
Here is my setup:

Server:
International internet connection via ethernet.
Hosts a simple windows PPTP connection server.

Client:
Local only internet connection via ethernet (Router at 192.168.0.1)
Connects to the server via PPTP (Gets an IP (10.0.0.11), connection is working).

The question is how can I setup the server to allow clients to make use of the international connection?

--------
On a side note:
I have also managed to get the PPTP connection working on my router (Running RouterOS). I can see the packets being sent but nothing comes back. So it must be a configuration problem/issue on the server side?

Thanks
Pojo
 
No it's on your side. Set your routes so that all local goes through local adsl and that international goes through pptp.

And make sure that you have added the masquarade rule for this pptp connection as it is needed as well as one for your dsl account
 
I'm pretty sure I got that right. I usually have a local and international PPPoE client that work 100%. When I test the VPN I disable the international connection and enable the PPTP connection. It is set to be default route, so all international packets are going through the PPTP connection.
 
Do you have a route on the server side that points to your local subnet via the VPN?
 
I find it easier to do in the Registry. You need to add persistent routes so they don't get removed when you reboot the PC.

Here the path.

http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/w2000Msgs/1774.mspx?mfr=true

That seems that is the way to go but how do you specify the source interface (There is only 1 interface parameter)? I want to forward all requests from the VPN connection to the Internet/Ethernet connection, while the server still operates as normal. This is pretty simple with RouterOs but not Windows
 
You can add static routes in the Routing and Remote Access snap-in.
 
Top
Sign up to the MyBroadband newsletter
X