Im not new too Linux (Ubuntu 14.x) however I must admit that I have never bothered with a Firewall until now. Im currently using Ubuntu's inbuilt firewall (UFW) with a graphical plugin (GUFW), which I have configured to revoke all incoming and outgoing connections, with the exception of allowed applications/processes for which i have created rules to manage,
e.g: Allow application 'Steam' both incoming and outgoing, port 27036.
The problem is however that some applications such as Minecraft (yes I play minecraft) for example does not appear to use a specific port for LAN connections. Additionally, other applications will undoubtedly use obscure ports for updates and communications, for which the ports are either not listed in documentation, or are not specific (as appears to be the case with Minecraft).
My current practice is to simply deactivate the firewall for short periods of time, to 'lower the drawbridge' so-to-say, whenever I am using an application which appears to use a seemingly random port. This does not strike me as a particularly efficient method, so too summarise, my questions are:
- How do I best manage a firewall with multiple network reliant applications/processes?
- Is my current method the most practical one
- And if so, is living with a firewall just plain difficult?