From: Tomasz Chmielewski <mangoo@wpkg.org>
To: netfilter@vger.kernel.org
Subject: ip6tables equivalent of "-m statistic --mode nth --every 2 -j SNAT"?
Date: Wed, 18 May 2011 20:13:02 +0200 [thread overview]
Message-ID: <4DD40C2E.8030205@wpkg.org> (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?
--
Tomasz Chmielewski
http://wpkg.org
reply other threads:[~2011-05-18 18:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DD40C2E.8030205@wpkg.org \
--to=mangoo@wpkg.org \
--cc=netfilter@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.