On 2/14/06, Victor V. Melnichenko <[EMAIL PROTECTED]> wrote: > I have some problem with PF. > I have pppoe server based on mpd. > What i want: > When client connect to the server some rules (e.g. altq ... priq ... > etc) must be load and apply to the interface ng0 for example. When > client disconnected from server this rules must be delete from rule-table. > In IPFW this things works fine... > > Question: how can i do this in PF?
You're best bet is to link into ppp-linkup (generally in /usr/local/sbin/) which MPD invokes after a session is nailed up. You could easily tie in you're custom ALTQ rules with this script. Hope this helps! Scott _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-pf To unsubscribe, send any mail to "[EMAIL PROTECTED]"
