If you are interested in a Free, interactive, application firewall for Linux, do take a look at opensnitch:
https://github.com/evilsocket/opensnitch
It pops up a dialogue window when it detects a connection, allowing you to control what to do with it (allow/drop traffic, do so permanently/temporarily etc.).