Skip to contentSkip to conversation

ip6tables equivalent of "-m statistic --mode nth --every 2 -j SNAT"?

DISCUSSION Tomasz Chmielewski 1 participant 1 message May 18, 2011

lore
Share & tools
lore
#0 lore raw

I'm having hard time trying to figure out how to rewrite the following iptables rules into ip6tables:

iptables -t nat -I POSTROUTING -m state --state NEW -p tcp --dport 80 -o eth0 -m statistic --mode nth --every 2 -j SNAT --to-source 10.1.1.1 iptables -t nat -I POSTROUTING -m state --state NEW -p tcp --dport 80 -o eth0 -m statistic --mode nth --every 2 -j SNAT --to-source 10.1.1.2

Since there is no nat in IPv6, is it at all possible with ip6tables?

Signature · 2 lines
Tomasz Chmielewski
http://wpkg.org