All of lore.kernel.org
 help / color / mirror / Atom feed
* Questions on DNAT and pre/postrouting...
@ 2004-07-20 21:02 Jeffrey C Albro
  2004-07-20 21:15 ` Antony Stone
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jeffrey C Albro @ 2004-07-20 21:02 UTC (permalink / raw)
  To: netfilter


I'm trying to wrap my head around some iptables issues with a failover box
I'm working on.  The failover box has an interface to the outside world, 
and an interface to each server.  

I've read every FAQ and HOW-TO I can get my hands on.  I wish the archives 
of this mailing list was searchable...

Anyways, I have a few questions:

I understand how DNAT works in the prerouting change.  You change the
destination and out the packet goes to the preferred server.  No problemo.  
But when the packet comes back, the failover box appears to SNAT the
packet.  I've seen this referred as un-DNATing.  It makes perfect sense
that due to the client expecting packets back from the address it sent
them to that this is required behavior, but can this be turned off or
controlled?  I just found it odd that this happened with no iptables
rules.

What's up the the "no filtering" guideline for the PRE and POST routing 
chains?  I'm doing it right now and it seems to work fine, but WHY is this 
a problem, and how else would I do it?  It seems that it would result in a 
longer ruleset if I had to do this in the FORWARD chain.  Is lightning 
going to strike me down?

Thanks!

-Jeff


-----------------------------------------------------------
Jeffrey Albro | Systems Administrator | Boston University
   - Department of Electrical and Computer Engineering -
jalbro@bu.edu |  Photonics, Room 305  | 617-358-2785
-----------------------------------------------------------





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-07-20 21:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-20 21:02 Questions on DNAT and pre/postrouting Jeffrey C Albro
2004-07-20 21:15 ` Antony Stone
2004-07-20 21:22 ` Antony Stone
2004-07-20 21:23 ` John A. Sullivan III

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.