Iptables rule for SMTP on NAT
Hi all,
Does anyone know how to make iptables rules for SMTP for the NAT ?Cause http://cbl.abuseat.org/ always block my NAT's IP, it said that my IP was spamming . I already check all my clients packages with iftop and also MRTG. There is nothing wrong with my clients. But I noticed that they sent messages massively,using group lists(group@blabla.net) sometimes constantly. I already added rules like this to my iptables : -A FORWARD -d xx.xx.xx.xx -p tcp --dport 25 -j ACCEPT -A FORWARD -s xx.xx.xx.xx -p tcp --dport 25 -j ACCEPT -A FORWARD -p tcp --dport 25 -j DROP Im tryin to force my clients thru smtp ports, so that site wont block my NAT's IP. Will you help me configure iptables for the NAT?? Regards |
Quote:
iptables -t nat -A PREROUTING -p tcp --dport 25 -j DNAT --to 192.168.0.100 change that ip address to whatever computer is running your smtp server....... |
All I want that my NAT's IP wont be block anymore by the http://cbl.abuseat.org/.
Coz everytime my clients send mails (using mailing group), it always block my IP. anyway I'll try it Thanks for your reply Regards |
If that domain is blocking mail coming from you or people in your network, you have to email the people at that domain...
|
well, until now its working fine
i always monitoring with iftop, to see whats going on.. ill report if something going on Regards |
All times are GMT -5. The time now is 05:44 AM. |