S
S
sudo rm -rf /2019-07-03 13:48:56
openvpn
sudo rm -rf /, 2019-07-03 13:48:56

OpenVPN: Why isn't a specific client pinged?

Problem: Doesn't ping over VPN Home PC. He can do himself, he can do others, but he can't. Others can ping each other.
The gist is below.
There are 3 machines: Laptop, Home PC (both Win 10) and VDS (Debian 9).
5d1c87f1086bc196564693.png
The VDS has an OpenVPN server. Server config looks like this

port 1194
proto udp
dev tun
sndbuf 0
rcvbuf 0
ca ca.crt
cert server.crt
key server.key
dh dh.pem
auth SHA512
tls-auth ta.key 0
topology subnet
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 108.61.10.10"
keepalive 10 120
cipher AES-256-CBC
user nobody
group nogroup
persist-key
persist-tun
status openvpn-status.log
verb 3
crl-verify crl.pem

The remaining devices are running OpenVPN clients. The configs are identical (with the exception of certificates and other similar crap):
client
dev tun
proto udp
sndbuf 0
rcvbuf 0
remote 140.82.11.11 1194
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
auth SHA512
cipher AES-256-CBC
setenv opt block-outside-dns
key-direction 1
verb 3
<ca> --- </ca>
<cert> --- </cert>
<key> --- </key>
<tls-auth> --- </tls-auth>

By default, the Notebook and Home PC are in LAN, but of course, they can be connected from any random network. At the same time, regardless of the connection network, ping to the laptop passes.
Ping to the PC does not go.
There are no problems connecting to the VPN. All devices on the network. Definitely.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin ™, 2019-07-03
@MaxLevs

1) Check that Windows responds to ping. Firewall settings, antivirus and more.
2) In the server config, write client-to-client, this option will allow clients to see each other, and not just the server. Without it, clients are isolated from each other.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question