To prevent normal routing of packets in main connection after connecting new connection like vpn, should disable use default gateway on remote network on vpn connection properties->Networking->IP Properties->General Advanced, and to enable routing of packets of vpn to appropriate destination add the following to the route table:
route add dest-addresses mask dest-addr-mask gateway-ip
route add 192.168.0.0 mask 255.255.0.0 192.168.100.120
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment