Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Apr 2008
    Posts
    1

    Exclamation iptables updates block my traffic

    Hello,

    I'm having a problem with the iptables on our server. Either cpanel or whm appears to be updating iptables every day with a lot of IPs, including my own. Effectively blocking me from my own server.

    Where do I go to take my IP address out of the list that it updates from? Otherwise, how can I prevent it from blocking my ip address over and over again?


    Thanks
    Last edited by ronniemiller; 04-13-2008 at 05:11 PM.

  2. #2
    Member
    Join Date
    Sep 2004
    Posts
    26

    Default

    Are you using a firewall to control iptables? If not, I recommend you set one up, specifically ConfigServer. The problem though is probably one of cpanel's security features that's detecting some weird activity from your IP and blocking it. To wipe out all of the bad rules, go into SSH and do iptables --flush, then setup the firewall. As for the IPs on the list, they're being stored in the /etc/hosts.deny file, so just go in there to remove your IP. To prevent the IP from being blocked, add it to the /etc/hosts.allow file.

Similar Threads & Tags
Similar threads

  1. Replies: 0
    Last Post: 09-17-2010, 02:37 AM
  2. iptables and outbound traffic to external DNS Only server
    By hmalekib in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-17-2010, 02:37 AM
  3. How to enable in iptables outgoing traffic from selected domain
    By Stanleytiew in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 06-16-2007, 05:53 AM
  4. iptables - do they block IP's automatically?
    By noimad1 in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 03-17-2005, 03:30 PM
  5. iptables - how to block a port to one IP?
    By minotauro in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 10-11-2004, 12:10 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube