I should say up-front that I am TOTALLY new to Linux, Ubuntu, and the technical side of networking. I am setting up Ubuntu on a server computer and have learned a bit about configuring the
ufw firewall. I have set ufw to block all ports by default (
sudo ufw default deny) and so far have added rules to open a couple of ports for SSH and game servers, but there is one thing I don't understand.
- How is it that I am still able to update packages, ping IP addresses, etc. if ufw is supposedly blocking all (or almost all) of the ports?
- Does ufw automatically allow traffic back from an IP address that I have connected to?
I'm sure there is a simple technical explanation but I'm having trouble finding it via Google.