You are not logged in.

#1 2015-07-26 19:25:25

aleextra
Member
Registered: 2009-12-02
Posts: 28

vpn pptpd can ping, but cannot acces content

I am having problem, after today upgrade of my arch. I noticed that on laptop. Server is debian, clients works fine. After arch upgrade on laptop - on PC VPN over PPTP works 100% fine, on laptop - I just can ping, no ssh/website were accessible. Right now on PC after upgrade I have same situation.

Connection over VPN:

[root@mikpc mik]# ping -I ppp0 8.8.8.8
PING 8.8.8.8 (8.8.8.8) from 192.168.101.1 ppp0: 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=55 time=176 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=55 time=358 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=55 time=57.3 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=55 time=60.4 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=55 time=58.9 ms
^C
--- 8.8.8.8 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4005ms
rtt min/avg/max/mdev = 57.378/142.329/358.676/117.316 ms
[root@mikpc mik]# ping -I ppp0 google.com
PING google.com (173.194.112.129) from 192.168.101.1 ppp0: 56(84) bytes of data.
64 bytes from fra07s31-in-f1.1e100.net (173.194.112.129): icmp_seq=1 ttl=57 time=81.6 ms
64 bytes from fra07s31-in-f1.1e100.net (173.194.112.129): icmp_seq=2 ttl=57 time=362 ms
64 bytes from fra07s31-in-f1.1e100.net (173.194.112.129): icmp_seq=3 ttl=57 time=55.9 ms
64 bytes from fra07s31-in-f1.1e100.net (173.194.112.129): icmp_seq=4 ttl=57 time=94.7 ms
^C
--- google.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3003ms
rtt min/avg/max/mdev = 55.960/148.605/362.064/124.029 ms

route without vpn:

[root@mikpc mik]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         gateway         0.0.0.0         UG    100    0        0 enp2s0
192.168.0.0     *               255.255.255.0   U     100    0        0 enp2s0

with vpn:

[root@mikpc mik]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         gateway         0.0.0.0         UG    100    0        0 enp2s0
192.168.0.0     *               255.255.255.0   U     100    0        0 enp2s0
[root@mikpc mik]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         *               0.0.0.0         U     50     0        0 ppp0
default         gateway         0.0.0.0         UG    100    0        0 enp2s0
static-ip-85-25 gateway         255.255.255.255 UGH   0      0        0 enp2s0
192.168.0.0     *               255.255.255.0   U     100    0        0 enp2s0
192.168.100.2   *               255.255.255.255 UH    0      0        0 ppp0
mikpc           *               255.255.255.255 UH    50     0        0 ppp0

ifconfig without vpn:

enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.103  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 fe80::21e:8cff:fecf:442f  prefixlen 64  scopeid 0x20<link>
        ether 00:1e:8c:cf:44:2f  txqueuelen 1000  (Ethernet)
        RX packets 59779  bytes 44527235 (42.4 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 53526  bytes 7370948 (7.0 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 17  

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 0  (Local Loopback)
        RX packets 1898  bytes 137096 (133.8 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1898  bytes 137096 (133.8 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ifconfig with vpn:

[root@mikpc mik]# ifconfig 
enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.103  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 fe80::21e:8cff:fecf:442f  prefixlen 64  scopeid 0x20<link>
        ether 00:1e:8c:cf:44:2f  txqueuelen 1000  (Ethernet)
        RX packets 59618  bytes 44412199 (42.3 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 53343  bytes 7352510 (7.0 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 17  

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 0  (Local Loopback)
        RX packets 1898  bytes 137096 (133.8 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1898  bytes 137096 (133.8 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ppp0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1486
        inet 192.168.101.1  netmask 255.255.255.255  destination 192.168.100.2
        ppp  txqueuelen 3  (Point-to-Point Protocol)
        RX packets 133  bytes 16631 (16.2 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 225  bytes 14194 (13.8 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Connection by NetworkManager. At morning, before upgrade it worked just fine.

Other devices works fine with VPN, just not fresh arch upgrade. Can anyone help me?

Offline

#2 2015-07-27 11:18:56

aleextra
Member
Registered: 2009-12-02
Posts: 28

Re: vpn pptpd can ping, but cannot acces content

When I am accessing url that redirects somewhere else - redirect is executed, but I am not able to download content. Cannot establish any ssh connection.

Offline

Board footer

Powered by FluxBB