From: Martin van den Berg <martinvdberg@gmail.com>
To: netfilter@lists.netfilter.org
Subject: Forwarding packets on same interface (echoing)
Date: Fri, 12 Aug 2005 13:05:26 +0200 [thread overview]
Message-ID: <5edf245205081204055a3363f2@mail.gmail.com> (raw)
G'day,
I have this NAT/firewall box (debian) configured with iptables. Port
forwarding etc works fine for one exception: A need a rule that
'echoes' back udp packets if they meet the following criteria:
+ in-interface=eth1 (that's the 'private' interface)
+ destination IP is public ip-address (e.g. 1.2.3.4) (that's eth0)
+ Port range is e.g. 30000-32000
+ The packets need to be forwarded via eth0 (thus echoed) to e.g.
10.10.1.2, same port.
Hope you can help me and thanks in advance!
Martin.
next reply other threads:[~2005-08-12 11:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-12 11:05 Martin van den Berg [this message]
2005-08-12 16:40 ` Forwarding packets on same interface (echoing) J.T. Moore
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=5edf245205081204055a3363f2@mail.gmail.com \
--to=martinvdberg@gmail.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox