V1.05/08aug26 PPTP VPN Routing


===== If 'TP' ===== ===== ===== ===== ===== ===== ===== =====
route print (if you see 10.254.252.191(192...) anywhere you know you have a vpn connection)
--->Copy the section below and replace 191 and 215 addresses
@echo off
route print
echo .
echo .
echo This only works if your vpn address is 10.254.252.191...
echo ... and local ip 192.168.0.215... otherwise edit it...
pause
echo on
route delete 0.0.0.0 mask 0.0.0.0 10.254.252.191
route delete 192.168.0.0 * route add 10.254.1.0 mask 255.255.255.0 10.254.252.191
route add 172.16.31.0 mask 255.255.255.0 192.168.0.215
route add 172.16.32.0 mask 255.255.255.0 172.16.32.1
route add 172.17.0.0 mask 255.255.0.0 10.254.252.191
route add 172.20.0.0 mask 255.255.0.0 10.254.252.191
route add 192.168.0.0 mask 255.255.0.0 192.168.0.215
route add 192.168.115.0 mask 255.255.255.0 10.254.252.191
route add 199.198.212.128 mask 255.255.255.224 10.254.252.191
route add 199.198.212.96 mask 255.255.255.224 10.254.252.191
route print
pause
===== If 'RF' ===== ===== ===== ===== ===== ===== ===== =====
route print (if you see 10.254.252.191(192...) anywhere you know you have a vpn connection)
--->Copy the section below and replace 191 and 148 addresses
@echo off
route print
echo .
echo .
echo This only works if your vpn address is 10.254.252.191...
echo ... and local ip 172.16.31.148(gw:1)... otherwise edit it...
pause
echo on
route delete 0.0.0.0 mask 0.0.0.0 10.254.252.191
route delete 192.168.0.0 * route add 10.254.1.0 mask 255.255.255.0 10.254.252.191
route add 172.16.31.0 mask 255.255.255.0 192.168.0.215
route add 172.16.32.0 mask 255.255.255.0 172.16.32.1
route add 172.17.0.0 mask 255.255.0.0 10.254.252.191
route add 172.20.0.0 mask 255.255.0.0 10.254.252.191
route add 192.168.0.0 mask 255.255.0.0 172.16.31.1
route add 192.168.115.0 mask 255.255.255.0 10.254.252.191
route add 199.198.212.128 mask 255.255.255.224 10.254.252.191
route add 199.198.212.96 mask 255.255.255.224 10.254.252.191
route print
pause