o que significa "!" na regra iptable

0

qual é o "!" significa na seguinte regra iptable

iptables -I inacc ! -i br0 -p UDP --dport 69 -j ACCEPT

Acho que está relacionado à interface br0 . Eu acho que significa qualquer interface, exceto o br0

Estou correto?

    
por Mohamed KALLEL 14.05.2015 / 13:33

1 resposta

1

Sim, você é. De "homem iptables"

[!] -i, --in-interface name
          Name  of  an  interface  via  which  a packet was received (only for packets entering the INPUT, FORWARD and PREROUTING chains).  When the "!" argument is used before the interface name, the sense is inverted.  If the
          interface name ends in a "+", then any interface which begins with this name will match.  If this option is omitted, any interface name will match.
    
por 25.05.2015 / 11:38