I have configured openvpn server, and now I see that it’a still unstable. Here is my config:
/interface ovpn-server server
set auth=sha1,md5 certificate=CA cipher=blowfish128,aes128,aes192,aes256 default-profile=openvpn_profil enabled=yes keepalive-timeout=disabled
mac-address=xx:xx:xx:xx:xx:xx max-mtu=1460 mode=ethernet netmask=24 port=6677 require-client-certificate=no
/ppp secret
add caller-id=“” comment=“” disabled=no limit-bytes-in=0 limit-bytes-out=0 name=user password=“xxx” profile=openvpn_profil routes=“” service=any
/interface bridge
add admin-mac=xx:xx:xx:xx:xx:xx ageing-time=5m arp=enabled auto-mac=yes comment=“Interfejs TAP dla OpenVPN’a” disabled=no forward-delay=15s
max-message-age=20s mtu=1500 name=bridge_vpn priority=0x8000 protocol-mode=none transmit-hold-count=6
- After changeing MTU value, server stop’s and cannot authentificate users. Only reboot of whole router helps.
- Server can run for a few days, but accidentialy crash.
In client log:
TLS: initial packet from …
After 1 minute: Connection, reset restarting…
No changes was made in configuration, just like that server stops working. As before, only reboot can repair this situation. After reboot all is working fine.
My questions:
How to restart openvpn server without rebooting whole router?
How can I check that server is still working normaly?
I use openvpn for about 2 years in Linux(Debian,Gentoo,Centos), but never have such problems.