erlug
[Top] [All Lists]

Re: [Erlug] Aiuto veloce x iptables

To: erlug <erlug@xxxxxxxxxxxxxx>
Subject: Re: [Erlug] Aiuto veloce x iptables
From: Massimo Danieli <massimo.danieli@xxxxxxxxx>
Date: 06 Nov 2002 10:25:39 +0100
Il mer, 2002-11-06 alle 10:00, Enzo ha scritto:
> 
> Una domanda/verifica (non sono sicuro di aver fatto bene).
> 
> Che due regole dareste ad iptables per aprire solo HTTP
> (ho apache attivo) e chiudere tutte le richieste esterne
> alle altre porte sull'interfaccia ppp0 ?
iptables -A INPUT -d $WEB_SERVER_IP --dport 80 -i ppp0 -j ACCEPT
iptables -A INPUT -i ppp0 -j DROP

andy



<Prev in Thread] Current Thread [Next in Thread>