On Thu, Oct 24, 2002 at 11:00:17AM -0400, Mike Tancsa wrote: > >You only need to make sure 3.3.3.1 is routed to your ipfilter host. > >How you rewrite it is up to you, > > > >e.g.: > >rdr fxp0 3.3.3.1/32 -> 10.0.0.1 tcp frag > > > >or whatever. > > > Hi, that does not seem to work. Actually, in this case I think I need
Be sure to sepcify the interface the packets first see when enetring the ipfilter host, > bimap and not RDR as the host needs to make outbound connections from the > DMZ as well as accept inbound as well. Outbound packets are entirely different. You almost never want to use bimap. Use a combination of rdr (for inbound connections) and map (for outbound connections). > > If I dont alias an interface, the host just throws the packet back out its > default gateway as it does not know what to do with it. ?? rdr rewrites the destination before it hits the kernels IP stack. The IP stack will just use noral routing tables. So if you rewrite to an internal IP address, the packet will go to the inside. -Guido
