Hello.
Configured OVPN server on RB750Gr3, ROS 6.44.5
/interface ovpn-server server
set auth=sha1 certificate=ovpn-srv cipher=aes256 default-profile=ovpn_srv enabled=yes require-client-certificate=yes
/ip firewall filter
add action=accept chain=input dst-port=1194 log=yes log-prefix=1194 protocol=tcp
Ovpn client connects to it
client.ovpn:
client
dev tun
proto tcp
remote 1.2.3.4 1194
resolv-retry infinite
nobind
persist-key
persist-tun
cert_export_ovpn ca-ca.crt
cert cert_export_ovpn-intay-1.crt
key cert_export_ovpn-intay-1.key
auth-user-pass intay.txt
remote-cert-tls server
verb 3
route-delay 3
cipher AES256
route 10.19.79.0 255.255.255.252
mute-replay-warnings
The server takes about 30 minutes to connect. After that
nothing happens. Packets pass through a firewall, but the client does not connect and falls off on a timeout. Nothing in the logs.
If you change any parameter in the setting (e.g. on. or off. md5) and click apply, the server wakes up and accepts the connection. If the client is connected, it works indefinitely. But a new client can connect within ~30 minutes after changing the server config. What could be?