VPN server is not accessible after transport protocol change
Steps to reproduce
Tried with reForis on MOX in HBT/TOS 5.1.10
- Setup default (via UDP) and working OpenVPN server.
- Restart a router to make sure everything works as expected after reboot
- Go to reforis, exchange trasport protocol to UDP and click save
Now, OpenVPN server becomes inaccessible - it does not listen on UDP anymore and TCP port 1194 is closed by the firewall.
Recommended solution
The root cause is IMO in reloading the firewall which leads to not applying the rule to open TCP prot (it also let the UDP port open!). Once I restart the firewall manually via ssh, the openvpn server becomes accessible.
Please also verify that the openvpn
service is restarted after the change in step 3.