[Vpn-help] Established VPN connection but no internet anymore

Kai Wetzelsberger k.wetzelsberger at hs-mannheim.de
Wed Nov 4 16:34:21 CST 2009


Nice, it seems to work. But now I encountered the next problem. I can
manually adjust the routing table after vpn connection. For automation
purpose I put everything in a shell script after ikec command. But the tap0
ip changes every connection. I wrote a shell script which extracts the ip
address from the ifconfig command. Is there an easier way? Because I use the
same shrew version for windows 7 and everything works "out of the box"...  

> -----Ursprüngliche Nachricht-----
> Von: vpn-help-bounces at lists.shrew.net [mailto:vpn-help-
> bounces at lists.shrew.net] Im Auftrag von Stefan Bauer
> Gesendet: Mittwoch, 4. November 2009 23:08
> Cc: vpn-help at lists.shrew.net
> Betreff: Re: [Vpn-help] Established VPN connection but no internet
> anymore
> 
> Kai Wetzelsberger schrieb:
> > Hi,
> >
> > I followed your advice and delete the default routing entry. From now
> the
> > internet is reachable with established vpn connection. But the vpn
> sites
> > behind the tunnel are not accessible... Any additional hints?
> 
> Yes, the rule below needs to get modified.
> 
> >>> 141.19.173.0    0.0.0.0         255.255.255.0   U     0
> >>>      0        0 tap0
> 
> Should be something like 141.19.173.0 141.19.173.11 255.255.255.0
> over tap0
> 
> because right now, traffic for your vpn is redirected to the default
> route which ends in the internet.
> 
> Stefan
> 
> --
> Stefan Bauer -----------------------------------------
> PGP: E80A 50D5 2D46 341C A887 F05D 5C81 5858 DCEF 8C34
> -------- plzk.de - Linux - because it works ----------
> _______________________________________________
> vpn-help mailing list
> vpn-help at lists.shrew.net
> http://lists.shrew.net/mailman/listinfo/vpn-help
> 
> Eingehende eMail ist virenfrei.
> Von AVG überprüft - www.avg.de
> Version: 9.0.698 / Virendatenbank: 270.14.49/2480 - Ausgabedatum:
> 11/04/09 08:37:00




More information about the vpn-help mailing list