I have an issue with my internet connection. I am using VPN (Aventail Client) to access the local resources. When connected to VPN the Internet traffic passes through it, not through my LAN or Wi-Fi network. I would like to change the routing table to use the Wi-Fi adapter of the PC for WAN traffic. I have routing file, which works very well and routes the traffic in this way, but only when I am physically connected to the local network through LAN. But I can't set it to work with the VPN connection, because I have no gateway when I am connected to it. Etc this in bold is missing. What to do?
route change 0.0.0.0 mask 0.0.0.0 172.16.76.1 metric 200 if 12
route change 0.0.0.0 mask 0.0.0.0 10.44.2.1 metric 400 if 11
route add 188.8.131.52 mask 255.255.0.0 10.44.2.1 metric 100 if 11
route add 10.0.0.0 mask 255.0.0.0 10.44.2.1 metric 100 if 11