[glux] ancora iptables

gigiv gigiv2@gmail.com
Mar 20 Giu 2006 17:04:21 CEST


ciao

sto cercando di mettermi assieme uno script per settare iol firewall

con iptables -L  ricevo
------------------------------------------------------------------------------------------

Chain INPUT (policy DROP)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere            state
RELATED,ESTABLISHED
ACCEPT     all  --  anywhere             anywhere
ACCEPT     all  --  anywhere             anywhere
DROP       all  --  192.168.0.0/24       anywhere
DROP       all  --  172.16.0.0/12        anywhere
DROP       all  --  10.0.0.0/8           anywhere
DROP       all  --  127.0.0.0/8          anywhere
ACCEPT     icmp --  anywhere             anywhere            icmp
echo-request limit: avg 1/sec burst 5
DROP       icmp --  anywhere             anywhere            icmp
echo-request
ACCEPT     tcp  --  anywhere             anywhere            tcp
flags:FIN,SYN,RST,ACK/RST limit: avg 1/sec burst 5
ACCEPT     tcp  --  anywhere             anywhere            tcp
flags:SYN,RST,ACK/SYN limit: avg 1/sec burst 5
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:ssh
flags:SYN,RST,ACK/SYN
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:10000
flags:SYN,RST,ACK/SYN
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:ftp
flags:SYN,RST,ACK/SYN
ACCEPT     tcp  --  anywhere             anywhere            tcp
dpt:ftp-data flags:SYN,RST,ACK/SYN
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:4661
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:4662
ACCEPT     udp  --  anywhere             anywhere            udp dpt:4665

Chain FORWARD (policy DROP)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere
ACCEPT     all  --  anywhere             anywhere            state
RELATED,ESTABLISHED
DROP       all  --  anywhere             anywhere
ACCEPT     tcp  --  anywhere             ciccio              tcp dpt:4662
LOG        all  --  anywhere             anywhere            LOG level alert
prefix `FORWARD: '

Chain OUTPUT (policy ACCEPT)

-------------------------------------------------------------------

secondo me la 2 e 3 della catena INPUT
e la 1 della FORWARD non vanno bene (nel senso che passa di tutto)


ho ragione?

qualcuno gentilmente mi da' conferma


ciao grazie

gg
-------------- parte successiva --------------
Un allegato HTML è stato rimosso...
URL: http://lists.linux.it/pipermail/glux/attachments/20060620/f5d88e6c/attachment.htm


Maggiori informazioni sulla lista glux