quartersmile
August 23rd, 2007, 04:21 PM
I installed Ubuntu server on an old computer to learn a bit about running a linux server. Don't have much experience with setting up Linux and I've been following some tutorials I found in trying to set up a secure basic system.
My problem: after I installed shorewall as a firewall, apt-get doesn't work. I get an error message: "temporary failure resolving 'archive.ubuntu.com'" If I stop shorewall, apt-get works.
Following suggestions I found searching the web, I've added the following rules to shorewall:
ACCEPT net fw tcp 80
ACCEPT fw net tcp 80
ACCEPT fw net tcp 53
ACCEPT fw net udp 53
I've read that apt-get runs through port 80, but I haven't been able to crack this nut nor find an answer on the web or these forums.
Can anyone point me to a solution for allowing apt-get through the firewall?
tia,
q
My problem: after I installed shorewall as a firewall, apt-get doesn't work. I get an error message: "temporary failure resolving 'archive.ubuntu.com'" If I stop shorewall, apt-get works.
Following suggestions I found searching the web, I've added the following rules to shorewall:
ACCEPT net fw tcp 80
ACCEPT fw net tcp 80
ACCEPT fw net tcp 53
ACCEPT fw net udp 53
I've read that apt-get runs through port 80, but I haven't been able to crack this nut nor find an answer on the web or these forums.
Can anyone point me to a solution for allowing apt-get through the firewall?
tia,
q