The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to open a port?

Discussion in 'General Discussion' started by YaBoi, Aug 11, 2006.

  1. YaBoi

    YaBoi Registered

    Joined:
    May 13, 2006
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hello,
    Hope al is well. I came onto this site in the hopes that someone oculd give me some instructions on how to open a server port. I have root access, but am really unsure of any of the necessary steps to take in order to open a port.

    Any help would be greatly appreciated.
     
  2. Lyttek

    Lyttek Well-Known Member

    Joined:
    Jan 2, 2004
    Messages:
    770
    Likes Received:
    3
    Trophy Points:
    18
    That depends on how you have it firewalled...

    If you're using APF, edit the /etc/apf/conf.apf file. Look for "ingress" which are ports opened to allow traffic from the outside in. There are a couple of sections based on whether it's tcp or udp traffic, icmp, etc.

    Once you've made the change, you'll have to restart APF : service apf restart

    If you're using another method... post what you're doing.
     
Loading...

Share This Page