Package: network-manager-pptp Version: 1.0.6-1 Severity: important Dear Maintainer,
When i connect to the configured vpn, the network-manager deletes the default-route to my router. I have to add this route manually again with route add default gw 192.168.0.1 When I stop the connection, the route to the vpn will not be deleted. Before starting the vpn-tunnel: Kernel-IP-Routentabelle Ziel Router Genmask Flags Metric Ref Use Iface default router.local 0.0.0.0 UG 100 0 0 wlan0 link-local 0.0.0.0 255.255.0.0 U 100 0 0 wlan0 192.168.0.0 0.0.0.0 255.255.255.0 U 600 0 0 wlan0 After starting the vpn-tunnel: Kernel-IP-Routentabelle Ziel Router Genmask Flags Metric Ref Use Iface XXX.YYY.0.190 router.local 255.255.255.255 UGH 0 0 0 wlan0 link-local 0.0.0.0 255.255.0.0 U 100 0 0 wlan0 192.168.0.0 0.0.0.0 255.255.255.0 U 600 0 0 wlan0 aldebaran 0.0.0.0 255.255.255.255 UH 50 0 0 ppp0 After stopping the vpn-tunnel Kernel-IP-Routentabelle Ziel Router Genmask Flags Metric Ref Use Iface XXX.YYY.0.190 router.local 255.255.255.255 UGH 0 0 0 wlan0 link-local 0.0.0.0 255.255.0.0 U 100 0 0 wlan0 192.168.0.0 0.0.0.0 255.255.255.0 U 600 0 0 wlan0 It's the same, when i activate "use ressources only for this network" or deactivate this option. Here the debug-output from "nm-pptp-service -debug" connection id : "VPN-MMBT" (s) uuid : "df5bfafb-d49a-433a-a6d6-57eb8f28abad" (s) interface-name : NULL (sd) type : "vpn" (s) permissions : user:jakob: (s) autoconnect : TRUE (sd) timestamp : 1447487865 (s) read-only : FALSE (sd) zone : NULL (sd) master : NULL (sd) slave-type : NULL (sd) secondaries : (sd) gateway-ping-timeout : 0 (sd) vpn service-type : "org.freedesktop.NetworkManager.pptp" (s) user-name : "jakob" (s) persistent : FALSE (sd) data : lcp-echo-interval=30,password-flags=2,require-mppe=yes,no-vj-comp=yes,mppe-stateful=yes,user=username,refuse-eap=yes,refuse-chap=yes,nobsdcomp=yes,lcp-echo-failure=5,gateway=vpn.company.at,nodeflate=yes,refuse-pap=yes (s) secrets : password=verysecure (s) ipv6 method : "auto" (s) dhcp-hostname : NULL (sd) dns : (s) dns-search : (sd) addresses : (s) routes : (s) route-metric : -1 (sd) ignore-auto-routes : FALSE (sd) ignore-auto-dns : FALSE (sd) never-default : FALSE (sd) may-fail : TRUE (sd) ip6-privacy : -1 (sd) ipv4 method : "link-local" (s) dns : (s) dns-search : (sd) addresses : (s) routes : (s) route-metric : -1 (sd) ignore-auto-routes : TRUE (s) ignore-auto-dns : TRUE (s) dhcp-client-id : NULL (sd) dhcp-send-hostname : TRUE (sd) dhcp-hostname : NULL (sd) never-default : TRUE (s) may-fail : TRUE (sd) Plugin /usr/lib/pppd/2.4.6/nm-pptp-pppd-plugin.so loaded. using channel 8 Using interface ppp0 Connect: ppp0 <--> /dev/pts/3 sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x42e54b1d> <pcomp> <accomp>] rcvd [LCP ConfReq id=0x0 <mru 1400> <auth eap> <magic 0x7e8a425a> <pcomp> <accomp> <callback CBCP> <mrru 1614> <endpoint [local:85.c3.47.8c.27.dc.42.67.8c.8f.0d.bf.01.89.cd.7f.00.00.00.00]>] sent [LCP ConfRej id=0x0 <callback CBCP> <mrru 1614>] rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x42e54b1d> <pcomp> <accomp>] rcvd [LCP ConfReq id=0x1 <mru 1400> <auth eap> <magic 0x7e8a425a> <pcomp> <accomp> <endpoint [local:85.c3.47.8c.27.dc.42.67.8c.8f.0d.bf.01.89.cd.7f.00.00.00.00]>] sent [LCP ConfNak id=0x1 <auth chap MS-v2>] rcvd [LCP ConfReq id=0x2 <mru 1400> <auth chap MS-v2> <magic 0x7e8a425a> <pcomp> <accomp> <endpoint [local:85.c3.47.8c.27.dc.42.67.8c.8f.0d.bf.01.89.cd.7f.00.00.00.00]>] sent [LCP ConfAck id=0x2 <mru 1400> <auth chap MS-v2> <magic 0x7e8a425a> <pcomp> <accomp> <endpoint [local:85.c3.47.8c.27.dc.42.67.8c.8f.0d.bf.01.89.cd.7f.00.00.00.00]>] sent [LCP EchoReq id=0x0 magic=0x42e54b1d] rcvd [CHAP Challenge id=0x0 <f8a2e03a6d2065df5a2818fe273fdf0d>, name = "FILESERVER"] added response cache entry 0 sent [CHAP Response id=0x0 <2950f406d259277306a33f20b1c4d65b00000000000000004a5bfc18979071bafaa969e5d4e204a1273bb2ff8ed6cb8e00>, name = "office"] rcvd [LCP EchoRep id=0x0 magic=0x7e8a425a] rcvd [CHAP Success id=0x0 "S=D637A220B16FF821FED7E079B04A1088A3301EF3"] response found in cache (entry 0) CHAP authentication succeeded sent [CCP ConfReq id=0x1 <mppe +H -M +S +L -D -C>] rcvd [CCP ConfReq id=0x4 <mppe +H -M +S -L -D +C>] sent [CCP ConfNak id=0x4 <mppe +H -M +S -L -D -C>] rcvd [IPCP ConfReq id=0x5 <addr 192.168.6.210>] sent [IPCP TermAck id=0x5] rcvd [CCP ConfNak id=0x1 <mppe +H -M +S -L -D -C>] sent [CCP ConfReq id=0x2 <mppe +H -M +S -L -D -C>] rcvd [CCP ConfReq id=0x6 <mppe +H -M +S -L -D -C>] sent [CCP ConfAck id=0x6 <mppe +H -M +S -L -D -C>] rcvd [CCP ConfAck id=0x2 <mppe +H -M +S -L -D -C>] MPPE 128-bit stateless compression enabled sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>] rcvd [IPCP ConfNak id=0x1 <addr 192.168.6.213> <ms-dns1 192.168.1.2> <ms-dns2 8.8.8.8>] sent [IPCP ConfReq id=0x2 <addr 192.168.6.213> <ms-dns1 192.168.1.2> <ms-dns2 8.8.8.8>] rcvd [IPCP ConfAck id=0x2 <addr 192.168.6.213> <ms-dns1 192.168.1.2> <ms-dns2 8.8.8.8>] rcvd [IPCP ConfReq id=0x7 <addr 192.168.6.210>] sent [IPCP ConfAck id=0x7 <addr 192.168.6.210>] local IP address 192.168.6.213 remote IP address 192.168.6.210 primary DNS address 192.168.1.2 secondary DNS address 8.8.8.8 Script /etc/ppp/ip-up started (pid 18453) Script /etc/ppp/ip-up finished (pid 18453), status = 0x0 Terminating on signal 2 Connect time 0.4 minutes. Sent 6960 bytes, received 0 bytes. Script /etc/ppp/ip-down started (pid 20121) MPPE disabled sent [LCP TermReq id=0x2 "MPPE disabled"] sent [LCP TermReq id=0x3 "MPPE disabled"] Terminating on signal 15 Child process /usr/sbin/pptp 91.112.0.190 --nolaunchpppd --loglevel 2 --logstring nm-pptp-service-18372 (pid 18407) terminated with signal 15 Modem hangup Connection terminated. Script /etc/ppp/ip-down finished (pid 20121), status = 0x0 thank you jakob -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'unstable'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=de_AT.utf8, LC_CTYPE=de_AT.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages network-manager-pptp depends on: ii libc6 2.19-22 ii libdbus-1-3 1.10.2-1 ii libdbus-glib-1-2 0.102-1 ii libglib2.0-0 2.46.1-2 ii libnm-glib-vpn1 1.0.6-1 ii libnm-glib4 1.0.6-1 ii libnm-util2 1.0.6-1 ii ppp 2.4.6-3.1 ii pptp-linux 1.8.0-1 network-manager-pptp recommends no packages. network-manager-pptp suggests no packages. -- no debconf information