OpenSnitch
GNU/Linux interactive application firewall
Whenever a program tries to establish a new connection, it'll prompt the user to allow or deny it. The user can decide if block the outgoing connection based on properties of the connection: by port, by uid, by dst ip, by program or a combination of them. These rules can last forever, until the app restart or just one time. The GUI allows the user to view live outgoing connections, as well as search by process, user, host or port.
Have it
$ nami install opensnitch-ui
Or one line in your user.nami or a computer's computer.nami: - opensnitch-ui. An older one, 1.7: - opensnitch-ui: 1.7 (its newest, 1.7.2). Every version it has had: nami versions opensnitch-ui, or pick one in the window. Apps, in the docs