View Full Version : Filter on vlans with PF
bloodhound
March 19th, 2009, 09:11
How can i filter packets which come from a certain vlan? will it work like:
block in quick on vlan1 from any to any for example? or the syntax only work with real interfaces?
SirDice
March 19th, 2009, 10:23
block in quick on vlan1 from any to any for example?
That should work.
or the syntax only work with real interfaces?
Nope, any interface that shows up can be used.
DutchDaemon
March 19th, 2009, 11:50
I seem to remember issues with carp and altq when working with vlan interfaces, so as long as you stick to unidimensional things like pass/block/nat/rdr you should be alright.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.