Answer the question
In order to leave comments, you need to log in
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
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
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
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
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
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question