From: nn6eumtr <nn6eumtr@gmail.com>
To: netfilter@vger.kernel.org
Subject: How to round-robin UDP packets w/ iptables?
Date: Fri, 14 Jan 2011 03:41:18 -0500 [thread overview]
Message-ID: <4D300C2E.3040803@gmail.com> (raw)
My goal is to receive a UDP packet from a single port on a public
interface and redirect it to multiple ports on 127.0.0.1 in a
round-robin fashion. The messages are simple one-shot receive/reply
messages, so I don't need a persistent mapping, but I will need to make
the replies appear to have come from the port on the public interface.
I believe it will be much more efficient to do this translation in
iptables then to have a user space process act as a proxy.
I haven't been able to find an example of anyone doing anything similar,
and its not 100% clear if this is supported, or if I would want to use
the REDIRECT or BALANCE targets or some other method. Could someone get
me started in the right direction?
reply other threads:[~2011-01-14 8:41 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=4D300C2E.3040803@gmail.com \
--to=nn6eumtr@gmail.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox