All of lore.kernel.org
 help / color / mirror / Atom feed
From: Unknown <unknown@unknown.invalid>
From: Raymond Leach <Ray@work>
To: Netfilter Mailing List <netfilter@lists.netfilter.org>
Subject: PRE and POST routing ...
Date: 15 Nov 2002 15:49:27 +0200	[thread overview]
Message-ID: <1037368167.4958.4.camel@rayw.knowledgefactory.co.za> (raw)

[-- Attachment #1: Type: text/plain, Size: 500 bytes --]

Hi

If I have a web server in my DMZ, then I have a PREROUTING rule to
redirect incoming traffic to the server, like :
$IPTABLES -t nat -A PREROUTING -i $IFACE_INET -p tcp --dport 80 -d
$IP_INET_WEB1 -j DNAT --to $IP_INT_WEB1

I also have the FORWARDing rules ...

Do I need a POSTROUTING rule in the nat table for return/reply traffic,
or is that automagically handled by nat?

Obviously I have the FORWARD rule to forward the replies from
$IP_INT_WEB1 back to the source.

Ray
-- 

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

                 reply	other threads:[~2002-11-15 13:49 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=1037368167.4958.4.camel@rayw.knowledgefactory.co.za \
    --to=unknown@unknown.invalid \
    --cc=netfilter@lists.netfilter.org \
    --cc=raymondl@knowledgefactory.co.za \
    /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.