OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: write pf rules for acces concentrator server (pppoe)

From: scott (8f27e956gmail.com)
Date: Sat Mar 01 2008 - 16:37:40 CST


see ifconfig(4) and the "group group-name" keyword (also applicable to
hostname.if). Substitute the the "group-name" for the interface name in
the applicable pf rule. One group-name based rule covers off all the
member interfaces.

:-)

-----Original Message-----
From: Fratiman Vladut <vladonespaingsm.com>
To: miscopenbsd.org
Subject: write pf rules for acces concentrator server (pppoe)
Date: Sun, 02 Mar 2008 00:10:50 +0200
Mailer: Thunderbird 2.0.0.12 (Windows/20080213)
Delivered-To: 8f27e956gmail.com

I have an pppoe server. How i can write pf rules for this situation, in
order to specify any interface, ng0, ng1, .....
I see that isn't any possibility to use wildcard in macros, something
like this: ng_if="ng*".
Obviously isn't very easy to have an rule for every ng interface.
How can be resolved?