Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I've read the ubuntu developer docs regarding the ufw here, but couldn't find what I was looking for. It allows me to set rules for controlling in/out traffic based on source IP or port numbers, but what I want is to restrict based on applications. For example:

(1) only firefox.exe allowed to communicate on port 80 - outgoing

(2) only apache.exe/httpd.exe allowed to communicate on port 80 - incoming, etc.

(Hope you get what I'm trying to imply - this is possible in windows firewall).

I'm not able to see how I can achieve this with ufw firewall? Or is there a better alternative to ufw which is able to do this on linux?

share|improve this question
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.