was das "!" in der folgenden iptable-Regel bedeutet
iptables -I inacc ! -i br0 -p UDP --dport 69 -j ACCEPT
Ich denke, es hängt mit der Schnittstelle zusammen br0
. Ich denke, es bedeutet jede Schnittstelle außer derbr0
Hab ich recht?
Antwort1
Ja, das bist du. Von "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.