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: Fratiman Vladut (vladonespaingsm.com)
Date: Sun Mar 02 2008 - 06:54:33 CST


Thanks ! Work very well. Now, how can configure the system, in order to
make this changes, every time when boot. How cand add all ng interface,
to "ng" group at boot time?
scott wrote:
> 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?