25

How can I make iptables show me port numbers instead of aliases for well known port numbers (eg. http for 80, https for 443 etc.). Is there a way to make it show just port numbers at all times?

Lukasz
  • 439

1 Answers1

32

Use the -n option.

$ iptables --help
[...]
  --numeric     -n              numeric output of addresses and ports
grawity
  • 501,077