How to create inbound rules in Ubuntu Firewall with Firestarter
Inbound rules allow you to filter all incoming connections. By default, all uninvited incoming connections are turned away. Creating an inbound rule effectively allows you to create a "hole" in the firewall for certain types of connection to get through, as needed by particular programs.