I've been looking around for a solution to specify ufw firewallrules for a specific program. I found out that using the applications.d should do the trick.
However, upon adding the rules to the firewall, the firewall opens the port for all applications.
Basically I'm denying both incoming and outgoing on ufw, and then add the following to a file called OVPN in the applications.d directory
[OVPN]
title=Ovpn
description=Ovpn client
ports=53,1194,1195/udp|53,443,7505/tcp
I can't figure out why this opens the port for all programs on the computer..
Anybody got any suggestions?
sudo ufw allow APPNAME
as shortcut to allow incoming connection. – Alvin Liang Nov 21 '19 at 05:46