D
D
Denis Davydenko2018-05-06 02:56:33
linux
Denis Davydenko, 2018-05-06 02:56:33

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

1 answer(s)
B
Barafu_Albino_Cheetah, 2018-05-06
@GooseTheDestroyer

You /etc/default/ufwhave to writeDEFAULT_FORWARD_POLICY="ACCEPT"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question