Maybe you can simply take a look at this ... http://www.debian.org/doc/manuals/securing-debian-howto/ap-fw-security-update.en.html
On Tue, Mar 11, 2003 at 12:45:48AM -0000, Ian Goodall 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 -- __o _`\<,_ Marc Demlenne Public Key on www.keyserver.net (_)/ (_) GPG/768FA483 BFD8 E61B 180C 3E7A 3435 D393 B605 9979 768F A483