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.

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:
    118
    Likes Received:
    0
    Trophy Points:
    16
    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:
    14,448
    Likes Received:
    194
    Trophy Points:
    63
    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.
     
Loading...

Share This Page