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.

Unblock host or IP

Discussion in 'General Discussion' started by dingolingo, Sep 11, 2005.

  1. dingolingo

    dingolingo Member

    Joined:
    Oct 21, 2004
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    My remote host is blocking my work address. This happened immediatly after I added the work IP to the list of available IP's in CPanel. (I was planning to send a subdomain to a server at the work address). I tried to unblock with:

    iptables -D INPUT 17, but got "Index of deletion too big"

    I'm running CentOS 3.1

    I recently had a variation on this problem but could not resolve it. Any help would be appreciated

    IPtables below. Pacific.net.au is the one being blocked. They are the service provider.

    root@plato [~]# iptables -L
    Chain INPUT (policy ACCEPT)
    target prot opt source destination
    acctboth all -- anywhere anywhere

    Chain FORWARD (policy ACCEPT)
    target prot opt source destination

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination
    acctboth all -- anywhere anywhere

    Chain acctboth (2 references)
    target prot opt source destination
    tcp -- plato.pixelrepublic.com anywhere tcp dpt:http
    tcp -- anywhere plato.pixelrepublic.comtcp spt:http
    tcp -- plato.pixelrepublic.com anywhere tcp dpt:smtp
    tcp -- anywhere plato.pixelrepublic.comtcp spt:smtp
    tcp -- plato.pixelrepublic.com anywhere tcp dpt:pop3
    tcp -- anywhere plato.pixelrepublic.comtcp spt:pop3
    icmp -- plato.pixelrepublic.com anywhere
    icmp -- anywhere plato.pixelrepublic.com
    tcp -- plato.pixelrepublic.com anywhere
    tcp -- anywhere plato.pixelrepublic.com
    udp -- plato.pixelrepublic.com anywhere
    udp -- anywhere plato.pixelrepublic.com
    all -- plato.pixelrepublic.com anywhere
    all -- anywhere plato.pixelrepublic.com
    tcp -- b190C.static.pacific.net.au anywhere tcp dpt:http
    tcp -- anywhere b190C.static.pacific.net.autcp spt:http
    tcp -- b190C.static.pacific.net.au anywhere tcp dpt:smtp
    tcp -- anywhere b190C.static.pacific.net.autcp spt:smtp
    tcp -- b190C.static.pacific.net.au anywhere tcp dpt:pop3
    tcp -- anywhere b190C.static.pacific.net.autcp spt:pop3
    icmp -- b190C.static.pacific.net.au anywhere
    icmp -- anywhere b190C.static.pacific.net.au
    tcp -- b190C.static.pacific.net.au anywhere
    tcp -- anywhere b190C.static.pacific.net.au
    udp -- b190C.static.pacific.net.au anywhere
    udp -- anywhere b190C.static.pacific.net.au
    all -- b190C.static.pacific.net.au anywhere
    all -- anywhere b190C.static.pacific.net.au
    all -- anywhere anywhere
     
    #1 dingolingo, Sep 11, 2005
    Last edited: Sep 11, 2005
  2. brianoz

    brianoz Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,146
    Likes Received:
    6
    Trophy Points:
    38
    Location:
    Melbourne, Australia
    cPanel Access Level:
    Root Administrator
    A good place to start would be by installing APF, it makes firewall management a LOT easier for newbies.

    Once it's installed, run /etc/apf/apf to get some hints on how to use it.
     
Loading...

Share This Page