# change Windows routing table to a different default gateway
set VPN_GW="192.168.1.2"
route add 0.0.0.0 mask 128.0.0.0 %VPN_GW%
route add 128.0.0.0 mask 128.0.0.0 %VPN_GW%
# change Windows routing table back to original (ISP) default gateway
set VPN_GW="192.168.1.2"
route delete 0.0.0.0 mask 128.0.0.0 %VPN_GW%
route delete 128.0.0.0 mask 128.0.0.0 %VPN_GW%
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!