All of lore.kernel.org
 help / color / mirror / Atom feed
* NAT on stateless firewall ?
@ 2007-08-02 23:08 Florin Andrei
  2007-08-03  1:49 ` Gregory Carter
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Florin Andrei @ 2007-08-02 23:08 UTC (permalink / raw)
  To: netfilter

I need to build a firewall in front of a cluster of HTTP servers. The 
firewall has 2 interfaces, "inside" (facing the cluster) and "outside" 
(facing the Internet).
Each server has a private IP address, so the firewall must translate 
each server address to a public address on the external interface (I 
guess that's called 1:1 NAT, it's exactly what a PIX firewall would do 
via a "static (inside,outside) foobar-out foobar-in netmask 
255.255.255.255" statement).

Since HTTP is the only thing traversing the firewall, I don't really 
need a stateful firewall. In fact, in order to build some redundancy 
into the firewalling layer, a stateless firewall is even better: I just 
build 2 or more stateless firewalls and only transfer the IP and MAC if 
the primary fails - no need to transfer the state.
Moreover, since the total bandwidth will be very high, that's one more 
reason to not do stateful filtering (less work for the firewall).

The problem is, NAT seems to imply stateful filtering. The moment I 
start playing with the nat table, the ip_conntrack module gets loaded.

Questions:

Is there a way to do NAT on a true stateless firewall? (no conntrack loaded)

If the answer to the previous q is negative, can I just ignore conntrack 
and build the filter and nat tables as if conntrack would not exist? I'm 
trying to figure out if there's any interaction with conntrack in this 
scenario, but I don't know netfilter well enough to be 100% sure.

-- 
Florin Andrei

http://florin.myip.org/


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

end of thread, other threads:[~2007-08-06 14:11 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-02 23:08 NAT on stateless firewall ? Florin Andrei
2007-08-03  1:49 ` Gregory Carter
2007-08-03  3:30 ` Florin Andrei
2007-08-03  4:10   ` Grant Taylor
2007-08-03  9:55 ` Pascal Hambourg
2007-08-03 18:23   ` Florin Andrei
2007-08-03 19:11     ` Florin Andrei
2007-08-03 19:15       ` Martijn Lievaart
2007-08-03 19:56         ` Florin Andrei
2007-08-03 20:37           ` Martijn Lievaart
2007-08-03 20:51           ` Grant Taylor
2007-08-05 20:16             ` Martijn Lievaart
2007-08-06  1:04               ` Grant Taylor
2007-08-06  5:01                 ` Martijn Lievaart
2007-08-06 14:11                   ` Grant Taylor
2007-08-03 19:23       ` Grant Taylor
2007-08-03 19:53       ` Pascal Hambourg

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.