On 5/1/08, Luiz Vaz <[EMAIL PROTECTED]> wrote:
> Of course!
>
>   i can do this tomorow, because i need to be on site.
>   If anything goes wrong i need to be there...
>
>   Can you send some sample of rules that you are trying?
>

Yep, they are located in the package:
http://cvs.pfsense.org/cgi-bin/cvsweb.cgi/tools/packages/per-user-bandwidth-distribution.xml?rev=1.18;content-type=text%2Fplain

                fwrite($fd, "/sbin/kldload ipfw\n");
                fwrite($fd, "/sbin/kldload dummynet\n");
                fwrite($fd, "/sbin/ipfw delete 10\n");
                fwrite($fd, "/sbin/ipfw pipe 101 config mask src-ip 0x000000ff 
bw
{$_POST['incoming_bandwidth']}{$_POST['incoming_bandwidthtype']}\n");
                fwrite($fd, "/sbin/ipfw pipe 102 config mask dst-ip 0x000000ff 
bw
{$_POST['outgoing_bandwidth']}{$_POST['outgoing_bandwidthtype']}\n");
                fwrite($fd, "/sbin/ipfw add 10 pipe 102 ip from any to any out 
via
{$wanif}\n");
                fwrite($fd, "/sbin/ipfw add 10 pipe 101 ip from any to any in 
via
{$wanif}\n");
                fwrite($fd, "/sbin/ipfw add 10 allow all from any to any\n");

Scott

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to