Skip to content

Instantly share code, notes, and snippets.

@mrprompt
Created June 7, 2013 03:39
Show Gist options
  • Save mrprompt/5726935 to your computer and use it in GitHub Desktop.
Save mrprompt/5726935 to your computer and use it in GitHub Desktop.
#!/bin/sh
iptables -t nat -I POSTROUTING -m state --state NEW -p tcp --dport 25 -o venet0 -m statistic --mode nth --every 5 -j SNAT --to-source 201.33.19.171
iptables -t nat -I POSTROUTING -m state --state NEW -p tcp --dport 25 -o venet0 -m statistic --mode nth --every 5 -j SNAT --to-source 201.33.19.177
iptables -t nat -I POSTROUTING -m state --state NEW -p tcp --dport 25 -o venet0 -m statistic --mode nth --every 5 -j SNAT --to-source 201.33.19.178
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment