IPF/IPNat router/gateway

Michael Zimmer drakyri at hotmail.com
Sun May 23 17:08:23 PDT 2004

   Hello.  I apologize for asking a question which has been asked several
   dozen times before, but none of the prior-offered solutions seem to

   I'm trying to use a freeBSD box (v 5.1) as a gateway/router for my
   network.  I've got a static IP range for the network, but can't get
   things running.  (...the local machines are all running Windows XP

   The local machines can connect to my ISP when they're plugged in to
   the uplink, whether individually or through a hub, and the freeBSD box
   can as well.  ...however, a machine plugged into the BSD box is unable
   to ping the BSD box and vice versa.

   IPF is set to pass in/out quick all from any to any

   IPNat has the following rules set:

   map rl0 -> x.x.x.254/32 portmap tcp/udp 10000:40000
   map rl0 -> x.x.x.254/32

   IP of the BSD box is x.x.x.254, mask on the external
   IP of the BSD box is, mask on the internal

   the lone machine connected to it at the moment is set on

   ...and rc.conf has gateway_enable, ipfilter_enable and ipnat_enable
   all set to "YES"


   [1]Stop worrying about overloading your inbox - get MSN Hotmail Extra


   1. http://g.msn.com/8HMAENUS/2737??PS=47575

More information about the freebsd-questions mailing list