Oleg 2012-08-18 14:28:13
Hi All !
Client Win2KPro inside LAN connect to RAS (Win2KSrv) over
PPTP tunnel. Can I add some addition routes to client when
he (she) initiate tunnel? For example, host
192.168.100.100 connect to RAS server 192.168.100.101
and receive dynamic address 192.168.200.200. I want to
reroute all traffic from this host to 10.10.10.0 to PPTP
tunnel, but all other routes to leave as before tunnel
But Win2K RAS client have only two variants
1. Do Not use default gateway in remote LAN. In this case
I must add addition routes in manual manner
2. Use default gateway in remote LAN. In this case host
set the tunnel as default gateway and all traffic going to
anybody, help please !
Bill grant 2012-08-18 14:28:28
If you clear the “use default gateway .. ” on the client, only a subnet
route is configured to go through the tunnel. You can add extra routes after
the connection is made for other subnets.
It is difficult to make these routes persistent, because the interface
address in the route is the “received” IP address, which may change each
To make adding these routes automatic, you would need to use a script to
get the received IP and put it into the route command. You would also need
to have some event to trigger the script to run.
Oleg 2012-08-18 14:28:31
Thank You, Bill !
But one more question: how I can to determine “received” IP
(for example, through IPCONFIG /ALL or some else) ?
client, only a subnet
extra routes after
because the interface
may change each
to use a script to
You would also need