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

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 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.

define 'open a port' – KevinDTimm Jan 6 '12 at 17:23
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

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