Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Ted Kaczmarek <tedkaz@optonline.net>
To: netfilter <netfilter@lists.netfilter.org>
Subject: Packets being natted instead of redirected
Date: Sun, 11 Jan 2004 10:01:45 -0500	[thread overview]
Message-ID: <1073833305.10191.9.camel@tarkus> (raw)

I have a quad interface box setup, the other day after adding a forward
rule, packets that were going to eth3 sourced from the same ip
subnet(A.B.C.D/24) that should of gotten redirects started to become
natted.
The work around was to add 
iptables -t nat -I POSTROUTING -s A.B.C.D/24 -o eth3 -j ACCEPT
and the packet were no longer being natted.

This is a RH9 box with iptables-1.2.7a-2 running either
kernel-2.4.20-24.9 or kernel-2.4.20-20.9. INPUT and FORWARD are default
DROP with a masqeuaring on all 4 interfaces with exclusion
rules on three of them.


I have filed a bug report with Redhat already, so this is an FYI
for any other souls in the same boat like me.


Ted



                 reply	other threads:[~2004-01-11 15:01 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=1073833305.10191.9.camel@tarkus \
    --to=tedkaz@optonline.net \
    --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