--- On Mon, 2/1/10, Scott Learmonth <scott@moosepile.net> wrote:
Scott Learmonth <scott@moosepile.net>
To: misc@openbsd.org
Feb 01, 2010 at 06:02:07PM
2010 at 04:27:12PM -0800, James
I'm trying to setup a new router/firewall for
VLAN that must be NAT and I
/etc/hostname.em0
/etc/hostname.vlan301
255.255.255.0 vlan 301 vlandev em0
/etc/hostname.vlan303
255.255.255.0 vlan 303 vlandev
/etc/pf.conf
nat on vlan301 from vlan303:network to any ->
#
simple rule set,
http://www.openbsd.org/cgi-bin/man.cgi?query=pf.conf&sektion=5&arch=i386&apro
pos=0&manpath=OpenBSD+Current
would seem
VLAN 301 (1.2.3.4) address. Has the syntax changed and
documentation isn't correct?
james_a_peltier@yahoo.ca
changed. I only briefly looked,
correct.
vlan303:network nat-to vlan301
corrected. The link you provided doesn't
gives me. I'm not going to comment
homework and/or supplying a diff
nat-to vlan301
instead/as well.
I did end up
finding that the documentation had changed and match out did correct the
problem.
match out on vlan301 from vlan303:network nat-to vlan301
as could
be found in
http://www.openbsd.org/faq/current.html#20090901
Just needed to
look harder.. Move along, nothing to see here. ;)
__________________________________________________________________
Get a sneak
peak at messages with a handy reading pane with All new Yahoo! Mail:
http://ca.promos.yahoo.com/newmail/overview2/