[successivo] [precedente] [inizio] [fine] [indice generale] [violazione GPL] [translators] [docinfo] [indice analitico] [volume] [parte]
Blocca il transito del protocollo UDP:
#
iptables -t filter -A FORWARD -p udp -s 0/0 -d 0/0 -j DROP
Consente al nodo 196.1.2.3 di interrogare dei serventi DNS esterni, attraverso il firewall:
#
iptables -t filter -A FORWARD -p udp
<-'
`->-s 0/0 -sport 53 -d 196.1.2.3 -j ACCEPT
#
iptables -t filter -A FORWARD -p tcp
<-'
`->-s 0/0 -sport 53 -d 196.1.2.3 -j ACCEPT
#
iptables -t filter -A FORWARD -p udp
<-'
`->-s 196.1.2.3 -d 0/0 -dport 53 -j ACCEPT
#
iptables -t filter -A FORWARD -p tcp
<-'
`->-s 196.1.2.3 -d 0/0 -dport 53 -j ACCEPT
daniele @ swlibero.org
Dovrebbe essere possibile fare riferimento a questa pagina anche con il nome filtro_ip_esempi_pratici_con_iptables_3.html
[successivo] [precedente] [inizio] [fine] [indice generale] [violazione GPL] [translators] [docinfo] [indice analitico]