Re: -CURRENT, VLANs, NAT

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: James Peltier
Date: Monday, February 1, 2010 - 8:51 pm

--- 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/
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
-CURRENT, VLANs, NAT, James Peltier, (Mon Feb 1, 5:27 pm)
Re: -CURRENT, VLANs, NAT, Scott Learmonth, (Mon Feb 1, 7:02 pm)
Re: -CURRENT, VLANs, NAT, Scott Learmonth, (Mon Feb 1, 8:04 pm)
Re: -CURRENT, VLANs, NAT, James Peltier, (Mon Feb 1, 8:51 pm)
Re: -CURRENT, VLANs, NAT, David Gwynne, (Mon Feb 1, 10:12 pm)
Re: -CURRENT, VLANs, NAT, James Peltier, (Tue Feb 2, 12:10 am)
Re: -CURRENT, VLANs, NAT, James Peltier, (Tue Feb 2, 11:54 pm)