D
Daniel Pratt
Occasionally I need to connect to a client's network via VPN. As long as the
connection is up I cannot connect to the general internet. The VPN adapter
becomes the default gateway and all internet traffic is (incorrectly) routed
across the VPN. This is an annoyance and I'm pretty sure there's a
straightforward way to fix it.
I'm assuming what I need to do is use the "route" command to alter the
routing table so that general traffic is routed over the LAN vs. the VPN.
When the VPN connection is "up" a few entries are added to the routing
table. I think the offending entry may be this one:
N. Dest N. Mask Gateway Interface
Metric
0.0.0.0 0.0.0.0 192.168.20.101 192.168.20.101
1
There is already an entry that looks like this:
N. Dest N. Mask Gateway Interface
Metric
0.0.0.0 0.0.0.0 192.168.10.1 192.168.10.57
21 (20 when VPN is disconnected)
I know that 192.168.20.101 is the address of the VPN adapter and
192.168.10.57 is the address of the LAN adapter. My limited understanding of
routing tables makes me believe that general traffic will be routed to the
VPN adapter via these entries. I thought that deleting the VPN route would
fix the internet traffic problem, but it did not. It did break the VPN
traffic, though. I'm thinking I want to route all 192.168.20.* traffic to
the VPN adapter and all other traffic to the LAN adapter.
Thanks for any help.
Regards,
Dan
connection is up I cannot connect to the general internet. The VPN adapter
becomes the default gateway and all internet traffic is (incorrectly) routed
across the VPN. This is an annoyance and I'm pretty sure there's a
straightforward way to fix it.
I'm assuming what I need to do is use the "route" command to alter the
routing table so that general traffic is routed over the LAN vs. the VPN.
When the VPN connection is "up" a few entries are added to the routing
table. I think the offending entry may be this one:
N. Dest N. Mask Gateway Interface
Metric
0.0.0.0 0.0.0.0 192.168.20.101 192.168.20.101
1
There is already an entry that looks like this:
N. Dest N. Mask Gateway Interface
Metric
0.0.0.0 0.0.0.0 192.168.10.1 192.168.10.57
21 (20 when VPN is disconnected)
I know that 192.168.20.101 is the address of the VPN adapter and
192.168.10.57 is the address of the LAN adapter. My limited understanding of
routing tables makes me believe that general traffic will be routed to the
VPN adapter via these entries. I thought that deleting the VPN route would
fix the internet traffic problem, but it did not. It did break the VPN
traffic, though. I'm thinking I want to route all 192.168.20.* traffic to
the VPN adapter and all other traffic to the LAN adapter.
Thanks for any help.
Regards,
Dan