S
S
shamcode2015-12-27 18:32:23
ubuntu
shamcode, 2015-12-27 18:32:23

Why is the PPTP client not visible from the server?

I set up a PPTP server (Ubuntu) when a client connects to it, IP is issued (on the server and on the client, the ppp0 interfaces have the same IP), the client normally pings the server, but the client does not ping from the server:

[email protected]:~# ping -c5 192.168.55.7
PING 192.168.55.7 (192.168.55.7) 56(84) bytes of data.
From 192.168.55.7 icmp_seq=1 Destination Host Unreachable
From 192.168.55.7 icmp_seq=2 Destination Host Unreachable
From 192.168.55.7 icmp_seq=3 Destination Host Unreachable
From 192.168.55.7 icmp_seq=4 Destination Host Unreachable
From 192.168.55.7 icmp_seq=5 Destination Host Unreachable

--- 192.168.55.7 ping statistics ---
5 packets transmitted, 0 received, +5 errors, 100% packet loss, time 4026ms
pipe 4

Piece of tcpdump -i ppp0 when pinging:
19:15:10.018776 IP 192.168.55.1 > 192.168.55.7: ICMP echo request, id 3868, seq 4, length 64
19:15:10.068565 IP 192.168.55.7 > 192.168.55.1: ICMP host 192.168.55.7 unreachable, length 92
19:15:10.069057 IP 192.168.55.7 > 192.168.55.1: ICMP host 192.168.55.7 unreachable, length 92
19:15:10.069359 IP 192.168.55.7 > 192.168.55.1: ICMP host 192.168.55.7 unreachable, length 92

Contents of /etc/ppp/pptpd-options
name pptpd
netmask 255.255.255.0
refuse-pap
refuse-chap
refuse-mschap
require-mschap-v2
require-mppe-128
ms-dns 8.8.8.8
proxyarp
nodefaultroute
lock
nobsdcomp

iptables-l:
iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         
ACCEPT     all  --  192.168.55.0/24      anywhere            
ACCEPT     gre  --  anywhere             anywhere            

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere            
ACCEPT     all  --  anywhere             anywhere            

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

route-n:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         <шлюз сервера>    0.0.0.0         UG    0      0        0 eth0
<белый ip>    0.0.0.0         255.255.252.0   U     0      0        0 eth0
192.168.55.7    0.0.0.0         255.255.255.255 UH    0      0        0 ppp0

Client settings:
f743b2c0f7074897b9e37bcc15de91c0.png
I suspect that the problem is in the settings of this particular client. other clients from the server are visible and responded normally.
Tell me, what could be the reason?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
shamcode, 2015-12-27
@shamcode

The usual restart of the system on the client helped.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question