Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: bcruse on November 26, 2007, 04:47:39 PM
-
How can I change the gateway ip issued to clients when they connect. The vpn works perfectly except I would like to be able to use a diffrent gateway. I do not want to use the pptp server as the gateway. any ideas? I appreciate the assistance.
Brian
-
How can I change the gateway ip issued to clients when they connect.
The clients aren't given a gateway IP when they connect via PPTP VPN.
-
For Windows XP:
In Network Connections
Right click the VPN connection and select properties
Under Networking Tab
Select "Internet Protocol (TCP/IP)" then click "Properties" button
Click the "Advanced..." button
Un-check the box for "Use default gateway on remote network"
-
That only sets the connection to use the gateway provided by my isp. I need to use a gateway inside my local network. I need to be able to set a gateway when a client receives an address under pptp. is there anyway it can be done?
-
If you do a route print it shows the ppp interface is the gateway for the VPN connection.
All traffic has to be routed through that interface to reach the remote network.
You can change the gateway with route change but you will break the tunnel:
route CHANGE 192.168.1.0 MASK 255.255.255.0 192.168.1.196 METRIC 1
^destination ^mask ^gateway