You are not logged in.

#1 2017-05-04 16:01:35

Distrust
Member
Registered: 2017-05-04
Posts: 1

PPTP: No access to VPN resources & no internet access

After complete system upgrade I cannot access any resources over VPN and internet connection is also unavailable. I always configure everything using GUI if possible. Nothing has been changed by me after the system update. I'm connecting using Network Manager applet in Plasma 5. This is very strange because the VPN connection is established and correctly authenticated. When I disconnect from my VPN connection the internet is available again. I think the problem is that the NetworkManager is not setting the routes correctly, but I don't know how they should look like and how to set them.

My config:

sudo iptables -L:

Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Before connecting over VPN:

ifconfig:

enp0s25: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 68:f7:28:95:59:6b  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 20  memory 0xd1300000-d1320000  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1  (Local Loopback)
        RX packets 1491  bytes 79867 (77.9 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1491  bytes 79867 (77.9 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp4s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.26  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 fe80::3ab5:ea8b:4169:54d7  prefixlen 64  scopeid 0x20<link>
        ether 60:57:18:7a:55:3a  txqueuelen 1000  (Ethernet)
        RX packets 7237  bytes 7285716 (6.9 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 6252  bytes 1080140 (1.0 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ip route:

default via 192.168.0.1 dev wlp4s0 proto static metric 600 
192.168.0.0/24 dev wlp4s0 proto kernel scope link src 192.168.0.26 metric 600

sudo route:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         192.168.0.1     0.0.0.0         UG    600    0        0 wlp4s0
192.168.0.0     0.0.0.0         255.255.255.0   U     600    0        0 wlp4s0

After the PPTP connection is established:

ifconfig:

enp0s25: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 68:f7:28:95:59:6b  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 20  memory 0xd1300000-d1320000  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1  (Local Loopback)
        RX packets 3153  bytes 1189142 (1.1 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 3153  bytes 1189142 (1.1 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ppp0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1400
        inet 172.21.0.124  netmask 255.255.255.255  destination 10.255.254.0
        ppp  txqueuelen 3  (Point-to-Point Protocol)
        RX packets 7  bytes 82 (82.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 66  bytes 3869 (3.7 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp4s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.26  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 fe80::3ab5:ea8b:4169:54d7  prefixlen 64  scopeid 0x20<link>
        ether 60:57:18:7a:55:3a  txqueuelen 1000  (Ethernet)
        RX packets 29489  bytes 25795685 (24.6 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 23917  bytes 4018925 (3.8 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ip route:

default dev ppp0 proto static scope link metric 50 
default via 192.168.0.1 dev wlp4s0 proto static metric 600 
5.196.52.3 via 192.168.0.1 dev wlp4s0 proto static src 192.168.0.26 
10.255.254.0 dev ppp0 proto kernel scope link src 172.21.0.124 metric 50 
192.168.0.0/24 dev wlp4s0 proto kernel scope link src 192.168.0.26 metric 600 
192.168.0.1 dev wlp4s0 proto static scope link metric 600

sudo route:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         0.0.0.0         0.0.0.0         U     50     0        0 ppp0

(and it doesn't close)

Offline

Board footer

Powered by FluxBB