There is another way, using 'iptables-save' and 'iptables-restore' (see 'man' for details), but personally I prefer to put the script in '/etc/init.d/' and create the symlinks with 'update-rc.d'. It's easy and clean and less likely to happen you lock yourself outside after a network restart or a reboot.
-- Márcio H. Parreiras @ Pedro Leopoldo - MG - Brazil Por favor evite enviar-me anexos Excel (.xls), PowerPoint (.ppt) ou Word (.doc); Veja http://www.gnu.org/philosophy/no-word-attachments.pt.html Please avoid sending me Excel (.xls), PowerPoint (.ppt) or Word (.doc) attachments; See http://www.gnu.org/philosophy/no-word-attachments.html Experimente http://www.openoffice.org.br Try http://www.openoffice.org "A caixa dizia: Requer MS Windows ou superior, então eu instalei Debian/GNU Linux!" http://www.debian.org/index.pt.html "The box said: Requires MS Windows or better, then I installed Debian/GNU Linux!" http://www.debian.org/index.en.html http://pt.wikipedia.org/wiki/Linux http://en.wikipedia.org/wiki/Linux Codificação de caracteres / Character coding: Unicode (UTF-8) .