How can I block an IP from accessing the server in general in APF firewall?
C chadi BANNED Apr 20, 2004 415 0 166 Jul 25, 2004 #1 How can I block an IP from accessing the server in general in APF firewall?
S sawbuck Well-Known Member Jan 18, 2004 1,365 10 168 cPanel Access Level Root Administrator Jul 25, 2004 #2 /sbin/iptables -I INPUT -s "IP Address" -j DROP
C chadi BANNED Apr 20, 2004 415 0 166 Jul 25, 2004 #3 Ok, I did that but it doesn't do anything in command (just shows [email protected] line again). Is this normal? Also, how can I check to make sure that APF is actually on and working? I forget the command line for that.
Ok, I did that but it doesn't do anything in command (just shows [email protected] line again). Is this normal? Also, how can I check to make sure that APF is actually on and working? I forget the command line for that.
C chadi BANNED Apr 20, 2004 415 0 166 Jul 25, 2004 #4 I checked mail queue (reason for blocking IP's in first place). There is one message that is locked. Message 1Bovl7-0006Df-Vy is locked Mail Queue Removed Why and how do I delete it?
I checked mail queue (reason for blocking IP's in first place). There is one message that is locked. Message 1Bovl7-0006Df-Vy is locked Mail Queue Removed Why and how do I delete it?
S sawbuck Well-Known Member Jan 18, 2004 1,365 10 168 cPanel Access Level Root Administrator Jul 25, 2004 #5 /usr/local/sbin/apf -l
S sawbuck Well-Known Member Jan 18, 2004 1,365 10 168 cPanel Access Level Root Administrator Jul 25, 2004 #6 In WHM>>Email>>Manage Mail Queue
C chadi BANNED Apr 20, 2004 415 0 166 Jul 25, 2004 #7 Please re-read what I said. I am already in there (mail queue) but it won't delete it.
S sawbuck Well-Known Member Jan 18, 2004 1,365 10 168 cPanel Access Level Root Administrator Jul 25, 2004 #8 Try exim -Mrm <id>
chirpy Well-Known Member Verifed Vendor Jun 15, 2002 13,437 33 473 Go on, have a guess Jul 26, 2004 #9 It will be locked because exim is currently processing it. If you temporarily shutdown exim, you should then be able to delete the message. Also, you ought to use the following if you want to permanently block an IP through APF: apf -d 11.22.33.44
It will be locked because exim is currently processing it. If you temporarily shutdown exim, you should then be able to delete the message. Also, you ought to use the following if you want to permanently block an IP through APF: apf -d 11.22.33.44