I've just setup my first Linode (using Ubuntu 11.04) and everything is working fine so far, except for one thing. I've configured ufw to deny everything except 80/tcp, 443/tcp and 22/tcp. This seems to work as it should.
Problem is: now I can't use apt-get anymore, because it can't reach the server:
Code:
Temporary failure resolving 'us.archive.ubuntu.com'
I was under the impression that APT uses port 80, isn't that correct?
If I turn ufw off, everything works fine. Of course that's not really an option.
The server seems to be much slower (writing to disk etc.) when ufw is on, I suppose it shouldn't be that way, too?
Thanks for any help.