Answer the question
In order to leave comments, you need to log in
Why does ufw stop opening sites via OpenVPN when turned on?
Hello.
Rented a VPS to install VPN and proxies.
OS: Debian 9. Installed UFW as a firewall.
OpenVPN uses port XXXX. Accordingly, I prescribed ufw allow XXXX. However, when you turn on ufw, sites stop loading (the connection itself occurs). The proxy also works.
With ufw disabled, everything works as it should.
Can you please tell me what I missed in the settings? Maybe there is some other port needed? There are currently 3 ports open: SSH, XXXX for OpenVPN and YYYY for proxies.
Answer the question
In order to leave comments, you need to log in
You /etc/default/ufw
have to writeDEFAULT_FORWARD_POLICY="ACCEPT"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question