mmbriant wrote: ↑Tue Oct 17, 2017 5:56 pm
why sending one PING inside the tunnel, and getting one PING response inside the tunnel, each 240 seconds (4 minutes) correct the problem?
TomCamTech wrote:
Is that with --keepalive set also ?
Yes --keepalive are set but with 300 2000 parameters. Since we send ping each 240 seconds (and server respond also every 240 seconds), the openVPN built-in keepalive never has to send it's own "ping"
And again, the problem is not the NAT closing the port. If the NAT was closing the port, there would be no problem understanding what is happening. The router/firewall/other device does NOT close the port because sometimes the openVPN ping goes through.
I'm not familiar with rules here but can I send a small 23KB .pcap (tcpdump / wireshark) capture of what is actually is happening.... and would this help ?