Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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