After running following command:
iptables -t nat -I POSTROUTING -m state --state NEW -p tcp --dport 25 -o eth0 -m statistic --mode nth --every 5 -j SNAT --to-source 220.127.116.11
I get following error:
iptables: No chain/target/match by that name.
I am running this command to change ips for outgoing smtp connections for postfix.This "18.104.22.168" is a public ip.I am doing this setup for testing purpose so dont blame me for spamming. My system is centos5 32 bit using mail server with postfix as an MTA. You can look at an article from which i learnt to do this http://www.kutukupret.com/2009/11/30/postfix-smtp-outgoing-ip-rotator-using-iptables. Please help me out of this.