Re: switching NAT: ipf to pf not working

2004-08-23 Thread Nagilum
Hi,
Try it with this:
ext_if="xl0"
nat on $ext_if inet from ! ($ext_if) to any -> ($ext_if)
Kind regards,
Alex.
Jorge Mario G. wrote:
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
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


switching NAT: ipf to pf not working

2004-08-13 Thread Jorge Mario G.
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
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"