I’m having a slight problem with any PPTP VPN under KVPNC. According to the KVPNC changelog, replacing the default route when using a PPTP connection should work. However, I can’t get it to work. If I leave the default route alone and specify additional routes; everything works fine. Since I have to add 2 routes for each PPTP connection I have (4 constant; add/remove others for testing purposes) AND as I use wifi/ethernet and also a CDMA card (appears as ppp0 when dialed in); manually adding routes for each VPN connection is not really an option for me.
So, is there anything I can do/tricks I’m missing/etc? I get the same results for every PPTP vpn connection to different sites/servers (Netopia VPN server, MS Server 03, Linux PPTPD). I’ve tried with iptables on (filtering) and off (no rules). I’m running openSUSE 11.0 under KDE 3.59 on x86 with all official patches installed (nothing from build service/packman/etc installed).
Routes prior to a VPN connection:
linux-x7my:~ # route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.8.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.8.254 0.0.0.0 UG 0 0 0 eth0
And here are the routes after connecting (PPTP; replace route).
linux-x7my:~ # route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.50.25 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.8.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0
Myself, I’m thinking this is a KVPNC bug as after disconnecting from the VPN, the default route is screwed and I can’t get out past the local LAN without restarting networking. So, am I doing something wrong? Should I wait for 11.1 w/NetworkManager-PPTP (hopefully w/knetworkmanager support)? Should I go back to 10.3 (ha… package manager sucks WAY to much)? Or should I use that OS from MS (ha again. I hate viruses and spyware)? Any help is of course appreciated.