删除 iptables 中的端口别名

Luk*_*asz 20 centos iptables

我怎样才能让 iptables 显示端口号而不是众所周知的端口号的别名(例如 80 的 http,443 的 https 等)。有没有办法让它始终只显示端口号?

use*_*686 26

使用该-n选项。

$ iptables --help
[...]
  --numeric     -n              numeric output of addresses and ports
Run Code Online (Sandbox Code Playgroud)