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?

link|improve this question

40% accept rate
feedback

1 Answer

Use the -n option.

$ iptables --help
[...]
  --numeric     -n              numeric output of addresses and ports
link|improve this answer
What about the CentOS/Linux Setup Utility - I use that configure the firewall most of the time - any way to disable the aliases in there? – Lukasz Aug 29 '11 at 23:30
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.