ciao<br><br>sto cercando di mettermi assieme uno script per settare iol firewall<br><br>con iptables -L ricevo<br>------------------------------------------------------------------------------------------<br><br>Chain INPUT (policy DROP)
<br>target prot opt source destination <br>ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED <br>ACCEPT all -- anywhere anywhere
<br>ACCEPT all -- anywhere anywhere <br>DROP all -- <a href="http://192.168.0.0/24">192.168.0.0/24</a> anywhere <br>DROP all -- <a href="http://172.16.0.0/12">
172.16.0.0/12</a> anywhere <br>DROP all -- <a href="http://10.0.0.0/8">10.0.0.0/8</a> anywhere <br>DROP all -- <a href="http://127.0.0.0/8">127.0.0.0/8</a> anywhere
<br>ACCEPT icmp -- anywhere anywhere icmp echo-request limit: avg 1/sec burst 5 <br>DROP icmp -- anywhere anywhere icmp echo-request <br>ACCEPT tcp -- anywhere anywhere tcp flags:FIN,SYN,RST,ACK/RST limit: avg 1/sec burst 5
<br>ACCEPT tcp -- anywhere anywhere tcp flags:SYN,RST,ACK/SYN limit: avg 1/sec burst 5 <br>ACCEPT tcp -- anywhere anywhere tcp dpt:ssh flags:SYN,RST,ACK/SYN <br>ACCEPT tcp -- anywhere anywhere tcp dpt:10000 flags:SYN,RST,ACK/SYN
<br>ACCEPT tcp -- anywhere anywhere tcp dpt:ftp flags:SYN,RST,ACK/SYN <br>ACCEPT tcp -- anywhere anywhere tcp dpt:ftp-data flags:SYN,RST,ACK/SYN <br>ACCEPT tcp -- anywhere anywhere tcp dpt:4661
<br>ACCEPT tcp -- anywhere anywhere tcp dpt:4662 <br>ACCEPT udp -- anywhere anywhere udp dpt:4665 <br><br>Chain FORWARD (policy DROP)<br>target prot opt source destination
<br>ACCEPT all -- anywhere anywhere <br>ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED <br>DROP all -- anywhere anywhere
<br>ACCEPT tcp -- anywhere ciccio tcp dpt:4662 <br>LOG all -- anywhere anywhere LOG level alert prefix `FORWARD: ' <br><br>Chain OUTPUT (policy ACCEPT)<br><br>
-------------------------------------------------------------------<br><br>secondo me la 2 e 3 della catena INPUT<br>e la 1 della FORWARD non vanno bene (nel senso che passa di tutto)<br><br><br>ho ragione?<br><br>qualcuno gentilmente mi da' conferma
<br><br><br>ciao grazie<br><br>gg<br>