All of lore.kernel.org
 help / color / mirror / Atom feed
From: Blizzards <blizzards@libero.it>
To: netfilter@lists.netfilter.org
Subject: HOW TRAVERSING CHAIN IN SNAT/DNAT
Date: Fri, 06 Dec 2002 10:06:16 +0100	[thread overview]
Message-ID: <3DF06888.10403@libero.it> (raw)

Hi list!

My question is:


I need to filter packet coming from eth1 (external lan) directed to eth0 
(internal lan).
Packet for internal lan must be SNAT to reach external lan.
In this enviroment filter table see packets traversing FORWARD chain as 
normal source and destination and i let it pass.
SNAT change source address with nat address indicated (3 ip address 
configured on the box as alias of eth1) and then send packets.
When packets return as reply to my natted connection, the chain/chains 
involved are:

only input ?
input and forward ?
only forward?

Someone can explain me this in detail?

Bye.
Giulius



             reply	other threads:[~2002-12-06  9:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-06  9:06 Blizzards [this message]
2002-12-06 21:58 ` HOW TRAVERSING CHAIN IN SNAT/DNAT Joel Newkirk

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=3DF06888.10403@libero.it \
    --to=blizzards@libero.it \
    --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.