switching NAT: ipf to pf not working

Jorge Mario G. murcielako at yahoo.com
Fri Aug 13 19:35:12 PDT 2004


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


More information about the freebsd-questions mailing list