All is fine now. Adding the line: iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
fixes the problem. Does anyone know what this line does? I found this using an online script generator at http://www.iptables.1go.dk/index1.php. Thanks for all your help. This is the sort of thing that this list should be used for instead of debating what should be on it / other spam :) ----- Original Message ----- From: "I.R.van Dongen" <[EMAIL PROTECTED]> To: "Ian Goodall" <[EMAIL PROTECTED]> Cc: <debian-security@lists.debian.org> Sent: Tuesday, March 11, 2003 12:59 PM Subject: Re: iptables and apt-get > iptables -A OUTPUT -p tcp -d <mirror>/32 --dport 80 -j ACCEPT > > On Tue, 11 Mar 2003 00:45:48 -0000 > "Ian Goodall" <[EMAIL PROTECTED]> wrote: > > > Hi Guys, > > > > I am setting up iptables on my debain woody box. I have decided to close everyting and then open up just ssh and ssl. This obviously prevents my apt-get update from working. What ports do I need to open for this to work. If it helps I am going through a proxy to get to the internet. > > > > Thanks > > > > ijg0