Weird limit, no route to host until I ping from client
Posted: Mon Apr 04, 2022 8:06 am
Hi,
Can someone help me?
I have a debian 9 and from Feb. 16 we updatated openvpn server to OpenVPN 2.4.7. We have nearly 340 clients on this server, but from this update (But it is not sure that it is caused by the update) when we reach the 254 clients connected, all following clients are able to connect too, but the communication from the server to client is not working, I mean I cannot ping, or SSH to the clients. It writes me no route to host, or destination host unreachable. If I ping the server from the clients, the communication is starts to work both ways right away and stays working until it's connected. (But if I do not ping from the client, there is no way to initialize the connection from the server to the client)
Before everything was worked without any issues. And we haven't made any changes to the clients, only the server.
Do anyone have an idea why is it doing this?
(I was thinking that it might be caused by ipv6, or something, but I am not sure)
My config is looks like this:
Client config is looks like this:
Can someone help me?
I have a debian 9 and from Feb. 16 we updatated openvpn server to OpenVPN 2.4.7. We have nearly 340 clients on this server, but from this update (But it is not sure that it is caused by the update) when we reach the 254 clients connected, all following clients are able to connect too, but the communication from the server to client is not working, I mean I cannot ping, or SSH to the clients. It writes me no route to host, or destination host unreachable. If I ping the server from the clients, the communication is starts to work both ways right away and stays working until it's connected. (But if I do not ping from the client, there is no way to initialize the connection from the server to the client)
Before everything was worked without any issues. And we haven't made any changes to the clients, only the server.
Do anyone have an idea why is it doing this?
(I was thinking that it might be caused by ipv6, or something, but I am not sure)
My config is looks like this:
Code: Select all
local ....
port 443
proto udp
dev tap
ca /etc/openvpn/easy-rsa/keys/ca.crt
cert server.crt
key server.key
dh dh2048.pem
script-security 2
crl-verify easy-rsa/keys/crl.pem
#tls-verify "/usr/local/sbin/ovpnCNcheck.py /etc/openvpn/CN_whitelist"
server 10.9.0.0 255.255.0.0
ifconfig-pool-persist ipp.txt
# push "redirect-gateway def1"
# push "dhcp-option WINS 10.9.0.1"
# push "dhcp-option DNS 8.8.8.8"
# push "dhcp-option DNS 8.8.4.4"
client-config-dir /etc/openvpn/static
#client-to-client
keepalive 10 120
persist-key
persist-tun
status openvpn-status.log
log-append openvpn-connects.log
management localhost 7505
verb 3
Code: Select all
client
proto udp
dev tap
remote .... 443
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert .....crt
key .....key
remote-cert-tls server
verb 3
mute 20
ping-restart 10
tls-version-min 1.0