Windows firewall allows to specify a program that will accept inbound connections no matter on which port(s) is listening (instead of specifying the port(s) to allow for that program). Is this possible in Ubuntu with the default firewall? How?
You may want to take a look at this help.ubuntu.com post on the firewall, particularly the "ufw Application Integration" section.
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
3 years ago