* Fratiman Vladut <[EMAIL PROTECTED]> [2008-03-01 23:16]:
> 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?

since there is no ng interface on OpenBSD I assume you use some other 
OS. which probably means you are doomed. On OpenBSD, you use interface 
groups for that, and clonable interfaces by default are in a group 
named by the interface base name, i. e. "ppp" for ppp0, ppp1, .. pppN.
I don't know if and to which extend other OSs that ported pf have 
picked up interface groups.

-- 
Henning Brauer, [EMAIL PROTECTED], [EMAIL PROTECTED]
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedicated Servers, Rootservers, Application Hosting - Hamburg & Amsterdam

Reply via email to