[Vpn-help] Established VPN connection but no internet anymore
Stefan Bauer
stefan.bauer at cubewerk.de
Wed Nov 4 01:24:22 CST 2009
Kai Wetzelsberger schrieb:
> Ziel Router Genmask Flags
> Metric Ref Use Iface
> 192.168.178.0 0.0.0.0 255.255.255.0 U 2
> 0 0 wlan0
> 192.168.122.0 0.0.0.0 255.255.255.0 U 0
> 0 0 virbr0
> 169.254.0.0 0.0.0.0 255.255.0.0 U 1000
> 0 0 wlan0
> 0.0.0.0 192.168.178.1 0.0.0.0 UG 0
> 0 0 wlan0
>
> and with a vpn connection:
>
> Ziel Router Genmask Flags
> Metric Ref Use Iface
> 141.19.7.253 192.168.178.1 255.255.255.255 UGH 0
> 0 0 wlan0
> 192.168.178.0 0.0.0.0 255.255.255.0 U 2
> 0 0 wlan0
> 141.19.173.0 0.0.0.0 255.255.255.0 U 0
> 0 0 tap0
> 192.168.122.0 0.0.0.0 255.255.255.0 U 0
> 0 0 virbr0
> 169.254.0.0 0.0.0.0 255.255.0.0 U 1000
> 0 0 wlan0
> 0.0.0.0 141.19.173.11 0.0.0.0 UG 0
> 0 0 tap0
> 0.0.0.0 192.168.178.1 0.0.0.0 UG 0
> 0 0 wlan0
Kai,
I hope you see the problem too. After establishing the
vpn-connection you have 2 default routes (the last 2 lines)
As it will always be used the first, your internet-traffic is now
going through the tap0 interface in the vpn direction which is
obviously not wanted.
A first workaround would be to delete the first default route with:
route del default gw 141.19.173.11
after establishing the vpn-connection.
--
Stefan Bauer -----------------------------------------
PGP: E80A 50D5 2D46 341C A887 F05D 5C81 5858 DCEF 8C34
-------- plzk.de - Linux - because it works ----------
More information about the vpn-help
mailing list