Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Firewall iptables, what is the rule to allow server additional ips?

Discussion in 'Security' started by basketmen, Nov 15, 2015.

  1. basketmen

    basketmen Well-Known Member

    Joined:
    Sep 9, 2010
    Messages:
    122
    Likes Received:
    0
    Trophy Points:
    66
    I hope i put this in the right subforum, otherwise please move or delete it




    I have 5 ips
    1.1.1.1
    1.1.1.2
    1.1.1.3
    1.1.1.4
    1.1.1.5

    i already install openvz & openvz webpanel in main ip
    then create a vps with ip 1.1.1.2

    i cant open 1.1.1.2 in browser address & ssh, but if i disable iptables firewall, i can open it
    so i need to enable iptables firewall, what is the rule so i can to allow the server additional ips (1.1.1.2-1.1.1.5) in /etc/sysconfig/iptables ?

    i tried these but still not right



    please help guys
     
    #1 basketmen, Nov 15, 2015
    Last edited: Nov 15, 2015
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,309
    Likes Received:
    393
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    I'm not sure what this has to do with cPanel specifically, you don't have cPanel installed here. You might consult the webpanel support for help with this.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice