slackit-ml
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Slackit.org] iptables info


From: nello
Subject: Re: [Slackit.org] iptables info
Date: Fri, 03 Jun 2005 19:35:37 +0200
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050323)

si ho seguito un po quella e un po alcune nozioni di base trovate su un paio di riviste. la mia intenzione รจ quella di creare regole solo per la catena input. praticamente voglio bloccare tutte le porte tranne la 9176 tcp/udp. a tuo parere queste regole vanno bene?

iptables -I INPUT -p tcp -i ppp0 -s 0/0 --dport 9176 -j ACCEPT

iptables -I INPUT -p udp -i ppp0 -s 0/0 --dport 9176 -j ACCEPT

iptables -I INPUT -p tcp -i ppp0 -m state -s 0/0 --dport 1:65535 --state INVALID,NEW -j DROP

iptables -I INPUT -p icmp -i ppp0 -m state -s 0/0 --state INVALID,NEW -j DROP

iptables -I INPUT -p udp -i ppp0 -m state -s 0/0 --state INVALID,NEW -j DROP

Nello




reply via email to

[Prev in Thread] Current Thread [Next in Thread]