Using the framed ip adress with mpd-table-static

Help
MarjanN
2013-07-19
2013-07-19
  • MarjanN

    MarjanN - 2013-07-19

    Hi to all.

    I have a mpd pppoe server and I would like to reduce the number of ipfw rules. For every user I have created rules for bandwidth limiting:

    mpd-pipe += 1=bw 10Mbit/s

    mpd-pipe += 2=bw 10Mbit/s

    mpd-rule += 1=pipe %p1 all from not 192.168.168.0 to any out

    mpd-rule += 2=pipe %p2 all from any to not 192.168.168.0 in

    I wonder is it possible to use the assigned ip address of the user with mpd-table-static?

     
  • Dmitry S. Luhtionov

    mpd-table-static works with manually typed number of table
    mpd-table set number of table automatically

    IMHO, best way - use ng_bpf+ng_car to account user's traffic and limit his bandwidth
    Read this for examples: http://mpd.sourceforge.net/doc5/mpd37.html#37

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks