무슨 "!" iptable 규칙의 의미

무슨 "!" iptable 규칙의 의미

무슨 "!" 다음 iptable 규칙을 의미합니다.

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

내 생각엔 인터페이스와 관련이 있는 것 같아 br0. 나는 그것이 다음을 제외한 모든 인터페이스를 의미한다고 생각합니다.br0

나 맞아?

답변1

예, 그렇습니다. "man 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.

관련 정보