All of lore.kernel.org
 help / color / mirror / Atom feed
From: Payal Rathod <payalrathod@gmail.com>
To: netfilter <netfilter@lists.netfilter.org>
Subject: Re: NATting again
Date: Fri, 16 Jul 2004 23:19:50 +0530	[thread overview]
Message-ID: <f51b72bc0407161049d9edfa7@mail.gmail.com> (raw)
In-Reply-To: <200407161703.42973.Antony@Soft-Solutions.co.uk>

Hi,

On Fri, 16 Jul 2004 17:03:42 +0100, Antony Stone 

> iptables -A PREROUTING -t nat -d a.b.c.d -p tcp --dport 21 -j DNAT --to
> w.x.y.z
> iptables -A FORWARD -d w.x.y.z -p tcp --dport 21 -j ACCEPT

Why is the FORWARD rule needed here? Doesn't the PREROUTING rule
handle the same or rather the rule in ESTABLISHED and RELATED in
FORWARD chain handle it? Why do we need a seperate FORWARD rule?

With warm regards,
-Payal


  reply	other threads:[~2004-07-16 17:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-16 15:50 NATting again Payal Rathod
2004-07-16 16:03 ` Antony Stone
2004-07-16 17:49   ` Payal Rathod [this message]
2004-07-16 18:27     ` Antony Stone
2004-07-17  4:07       ` Payal Rathod
2004-07-17  9:08         ` Antony Stone

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=f51b72bc0407161049d9edfa7@mail.gmail.com \
    --to=payalrathod@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 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.