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?
Use the -n option.
$ iptables --help
--numeric -n numeric output of addresses and ports
4 years ago