Re: Firewall + Portsentry
"dominique berthier" <dominique-berthier@mail.com> writes:
> Hello,
Hello,
> J'ai un petit réseau perso chez moi sous Debian Woody. Idem pour le
> pc passerelle. Les règles du script firewall sont basiques : rien ne
> devrait rentrait (je "drop" tout ce qui bouge) et tout doit pouvoir
> sortir depuis chacun des postes client.
Que donne iptables-save ?
Moi, j'ai
ROOT /home/moy# iptables-save
# Generated by iptables-save v1.2.7a on Sun May 11 19:32:12 2003
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [299811:64742744]
:block - [0:0]
-A INPUT -j block
-A FORWARD -j block
-A block -m state --state RELATED,ESTABLISHED -j ACCEPT
-A block -i ! ppp0 -m state --state NEW -j ACCEPT
-A block -j LOG
-A block -j DROP
COMMIT
# Completed on Sun May 11 19:32:12 2003
--
Matthieu
Reply to: