
nftables
ip
IPv4, ip6
IPv6 및 둘 다를 위한 시리즈가 있습니다 inet
.
# Match IPv4 and IPv6
table inet filter {
chain input {
type filter hook input priority filter; policy drop;
tcp dport 443 accept
}
}
# Match IPv4
table ip filter {
chain input {
type filter hook input priority filter; policy drop;
tcp dport 443 accept
}
}
# Match IPv6
table ip6 filter {
chain input {
type filter hook input priority filter; policy drop;
tcp dport 443 accept
}
}
이 경우 처리 순서는 어떻게 되나요?