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

Re: [OT] Primo script Iptables: suggerimenti,commenti,correzioni



On Mon, Apr 19, 2004 at 11:01:02PM +0200, Br|aN wrote:
> 
> io aggiungerei anche
> echo "1" > /proc/sys/net/ipv4/tcp_syncookies
> echo "1" > /proc/sys/net/ipv4/tcp_ecn
questo può dare problemi con alcuni siti web. se ne  è parlato tempo fa
sul web. io lo imposto a 0.
> se li hai compilati nel kernel
> echo "1" > /proc/sys/net/ipv4/icmp_echo_ignore_all
> 
> e inoltre
> iptables -t nat -A PREROUTING -s 127.0.0.0/8 -i lo -j ACCEPT
> iptables -t nat -A PREROUTING -d 127.0.0.0/8 -i lo -j ACCEPT
> 
> iptables -t nat -A PREROUTING -s 192.168.0.0/16 -i ppp0 -j DROP
> 
filtrare nella tabella nat non è una buona cosa.
-- 
Leonardo Canducci 
GPG Key ID: 429683DA



Reply to: