列出规则时有没有办法列出实际端口?
我是说:
nft list ruleset
table ip filter {
chain INPUT {
type filter hook input priority 0; policy drop;
iifname "lo" counter packets 114 bytes 316154 accept
ct state established,related counter packets 415 bytes 70571 accept
tcp dport http counter packets 13 bytes 728 accept
tcp dport http-alt counter packets 0 bytes 0 accept
tcp dport tproxy counter packets 0 bytes 0 accept
tcp dport https counter packets 0 bytes 0 accept
http 是 80 我认为 https 是 443 我认为
有没有办法列出端口而不是名称?