Linux Netfilter discussions
 help / color / mirror / Atom feed
* PRE and POST routing ...
@ 2002-11-15 13:49 Unknown, Raymond Leach
  0 siblings, 0 replies; only message in thread
From: Unknown, Raymond Leach @ 2002-11-15 13:49 UTC (permalink / raw)
  To: Netfilter Mailing List

[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-11-15 13:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-15 13:49 PRE and POST routing Unknown, Raymond Leach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox