routing VPN and LAN

  • Thread starter Thread starter Oleg
  • Start date Start date
O

Oleg

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
tunnel

anybody, help please !
thanks
 
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
connection.

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.
 
Thank You, Bill !

But one more question: how I can to determine "received" IP
(for example, through IPCONFIG /ALL or some else) ?
 
Back
Top