kylespringer New member Jul 20, 2005 #1 I am getting mail spam relaying off one of my customers domains, not his fault but how do I block the email's IP addresss in whm or ssh?
I am getting mail spam relaying off one of my customers domains, not his fault but how do I block the email's IP addresss in whm or ssh?
I imported_ThinkSupport New member Jul 24, 2005 #2 If you have apf firewall installed then you can simply use the command apf -d xx.xx.xx.xx where xx.xx.xx.xx is the ip address that you wish to block. Alternatively you can use IPtables to block the IP as follows : iptables -I INPUT -s xx.xx.xx.xx -j DROP where xx.xx.xx.xx is the ip address that needs to be blocked. One more option is you can use route command to block ip addresses on a server. I hope any of the above methods should solve your purpose
If you have apf firewall installed then you can simply use the command apf -d xx.xx.xx.xx where xx.xx.xx.xx is the ip address that you wish to block. Alternatively you can use IPtables to block the IP as follows : iptables -I INPUT -s xx.xx.xx.xx -j DROP where xx.xx.xx.xx is the ip address that needs to be blocked. One more option is you can use route command to block ip addresses on a server. I hope any of the above methods should solve your purpose
L lpelham New member Nov 23, 2005 #3 ThinkSupport, I don't know if it helped Kyle, but thanks for the info. I am going to jot it down in case I ever need it! Libby
ThinkSupport, I don't know if it helped Kyle, but thanks for the info. I am going to jot it down in case I ever need it! Libby