From: "Oliver Schulze L." <oliver@samera.com.py>
To: netfilter@lists.netfilter.org
Subject: Forwarding multiple UDP ports
Date: Fri, 22 Sep 2006 12:17:29 -0400 [thread overview]
Message-ID: <45140C99.8040205@samera.com.py> (raw)
Hi,
I have a intranet server that initiate UDP connections and I want to forward
those connections to and Internet IP.
I have a Linux box with 2 NICs.
My question is: can I forward UDP trafic from and internal server to the
Internet?
Can I use this line:
iptables -t nat -A PREROUTING -p udp -s INTRA_SERVER -d INTRA_ROUTER
--dport 1024:6000 -j DNAT --to-destination INET_IP:1024-6000
I'm testing it and I see the rule matched, the byte and packet counters
are incrementing.
But, I see no traffic going out of the Internet NIC.
I'm not sure if the multi-port specification will work.
Thanks!
Oliver
--
Oliver Schulze L.
Get my e-mail after a captcha test in: http://tinymailto.com/oliver
next reply other threads:[~2006-09-22 16:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-22 16:17 Oliver Schulze L. [this message]
2006-09-22 16:22 ` Forwarding multiple UDP ports Jan Engelhardt
2006-09-22 16:35 ` Oliver Schulze L.
2006-09-22 19:06 ` Jan Engelhardt
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=45140C99.8040205@samera.com.py \
--to=oliver@samera.com.py \
--cc=netfilter@lists.netfilter.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.