Hi all, ok i now figured out what goes wrong: kvpnc does put up sensful routes automatically when using pptp:
That is my routing table before connecting: with .192.168.0.254 as the my local router: 192.168.0.0 * 255.255.255.0 U 0 0 0 wlan0 default 192.168.0.254 0.0.0.0 UG 0 0 0 wlan0 -------------------------------------------------------------------- That is the routing table after connecting to a Cisco IP SEC and "Replace-Route activated" vpngw.somewhere.de 192.168.0.254 255.255.255.255 UGH 0 0 0 wlan0 192.168.0.0 * 255.255.255.0 U 0 0 0 wlan0 default * 0.0.0.0 U 0 0 0 tun0 Allright that means everything which is not adressed to the local network is routed via the tunnel-interface !!!except!!! the packages which are send to communiacte with the vpn-gateway (of course this must be like this: how should the client, (my computer) communicate with the vpn-server otherwise??) -------------------------------------------------------------------- That is the routing table after connecting using pptp: 192.168.1.2 * 255.255.255.255 UH 0 0 0 ppp0 192.168.0.0 * 255.255.255.0 U 0 0 0 wlan0 default * 0.0.0.0 U 0 0 0 ppp0 See what goes wrong?: The first results in the client trying to communicate to the server via the tunnel-gateway-address (i.e. the adress the vpngateway has seen form within the vpn). However how should the client know where the server is and through which gateway it can be reached?? It simply can't. For that it would need the line: vpn.gw.de * 255.255.255.255 UH 0 0 0 wlan0 instead of 192.168.1.2 * 255.255.255.255 UH 0 0 0 ppp0 and as the client can't communicate with the server it is simply the logical consequence that the connection is terminated. And the log makes perfectly sense then: debug: [pppd] LCP terminated by peer (Peer not responding) debug: [pppd] Connect time 0.5 minutes. debug: [pppd] Sent 306821191 bytes, received 0 bytes. debug: [pppd] restoring old default route to wlan0 [192.168.0.254] debug: [pppd] Modem hangup error: Remote modem has hung up. Connection was terminated. It would be nice if this could be fixed! Cheers Phil _______________________________________________ Kvpnc-user mailing list [email protected] https://mail.gna.org/listinfo/kvpnc-user
