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.

just a quick question, is it possible to open a port on linux Centos without using iptables? If so, how do I do that from the command line?

share|improve this question

migrated from stackoverflow.com Jan 6 '12 at 19:39

This question came from our site for professional and enthusiast programmers.

closed as not a real question by haimg, Sathya Jan 7 '12 at 17:44

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

4  
define 'open a port' –  KevinDTimm Jan 6 '12 at 17:23
1  
And the answer might be no, since iptables are used to block ports. –  Basile Starynkevitch Jan 6 '12 at 18:28
    
What about opening a tunnel- thats how i bypass firewalls at work.. evil laugh –  ppumkin Jan 7 '12 at 11:30

1 Answer 1

If a port is blocked by iptables then it is not possible to open it without modifying iptables config. It would be a security flaw otherwise.

share|improve this answer