I've got a corporate VPN, which I use to access the Internet. When it's on, I cannot reach the servers inside the corporate network anymore, so I think there are some problems with the gateway setup. Here is the netstat -rn
output when the VPN is turned off:
Destination Gateway Genmask Flags MSS Window irtt Iface
91.218.225.31 10.131.60.1 255.255.255.255 UGH 0 0 0 eth1_rename
10.131.60.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1_rename
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1_rename
0.0.0.0 10.131.60.1 0.0.0.0 UG 0 0 0 eth1_rename
Here it is with the VPN turned on:
Destination Gateway Genmask Flags MSS Window irtt Iface
10.7.4.0 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
91.218.225.31 10.131.60.1 255.255.255.255 UGH 0 0 0 eth1_rename
91.218.225.31 10.131.60.1 255.255.255.255 UGH 0 0 0 eth1_rename
10.131.60.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1_rename
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1_rename
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0
ppp0
is the VPN device.
How can I make both the Internet and LAN routing work when the VPN is enabled?