[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Riminilug-general] problema con iptables
On Wed, Apr 11, 2007 at 07:12:32PM +0200, zorro@xxxxxxxxxxxx wrote:
> > On Tue, Apr 10, 2007 at 06:26:57PM +0200, zorrito wrote:
> > ah non avevo proprio capito allora! quale riga ti da l'errore?
> >
> > filippo
>
> iptables -A INPUT -i $IFACE -j LOG --log-prefix "IPTABLES
> PROTOCOL-X-IN: " iptables -A INPUT -i $IFACE -j DROP
>
> iptables -A OUTPUT -o $IFACE -j LOG --log-prefix "IPTABLES
> PROTOCOL-X-OUT: " iptables -A OUTPUT -o $IFACE -j DROP
credo che manchi qualche a-capo qui, ma non ho idea di cosa lo script volesse
fare.. a naso direi:
iptables -A INPUT -i $IFACE -j LOG --log-prefix "IPTABLES PROTOCOL-X-IN: "
iptables -A INPUT -i $IFACE -j DROP
iptables -A OUTPUT -o $IFACE -j LOG --log-prefix "IPTABLES PROTOCOL-X-OUT: "
iptables -A OUTPUT -o $IFACE -j DROP
filippo
--
Filippo Giunchedi - http://esaurito.net
PGP key: 0x6B79D401
random quote follows:
Age is not a particularly interesting subject. Anyone can get old. All
you have to do is live long enough.
-- Groucho Marx
_______________________________________________
Riminilug-general mailing list
Riminilug-general@xxxxxxxxxxxx
http://riminilug.it/mailman/listinfo/riminilug-general