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
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
4 years ago