Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question

Use the -n option.

$ iptables --help
  --numeric     -n              numeric output of addresses and ports
share|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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .