Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Aug 2004 21:35:11 -0500 (CDT)
From:      "=?iso-8859-1?q?Jorge=20Mario=20G.?=" <murcielako@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   switching NAT: ipf to pf not working
Message-ID:  <20040814023511.38548.qmail@web50301.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
Hello there

I'm trying to switch the nat from ipf to pf
our lan is pretty simple

INTERNET  (pf)--- 192.168.0.0/24 LAN1
          |
          |
          |------- 192.168.1.0/24 Wireless LAN
our ipf configuration was pretty much like this
map xl0 192.168.0.0/24 -> 0/32
map xl0 192.168.1.0/24 -> 0/32


Now our pf configuration looks like this:
nat on xl0 from 192.168.0.0/24 to any -> (xl0)
nat on xl0 from 192.168.1.0/24 to any -> (xl0)


192.168.1.254 is our Wireless access point


I dont get it what are we doing wrong?



Jorge





=====


_________________________________________________________
Do You Yahoo!?
Información de Estados Unidos y América Latina, en Yahoo! Noticias.
Visítanos en http://noticias.espanol.yahoo.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040814023511.38548.qmail>