Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

You may want to take a look at this help.ubuntu.com post on the firewall, particularly the "ufw Application Integration" section.

share|improve this answer
1  
Unfortunately it is only a mapping between applications and usual port number used by them. If another application use the same port (not at the same time, obviously) the firewall cannot detect. There is no easy way to have firewall rules based on which applications use a given port. –  enzotib Aug 12 '11 at 7:04
1  
It looks like the default firewall doesn't really supports applications (if an application uses dynamic ports than this won't be of any help). Thanks. –  George Ciubotaru Aug 12 '11 at 14:08

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.