![]() |
|
|||||||
| OpenBSD Security Functionally paranoid! |
![]() |
|
|
Thread Tools | Display Modes |
|
|||
|
Ive been reading http://www.openbsd.org/faq/pf/queueing.html but Im curious if someone could show me a simple setup splitting the bandwidth between 3 computers.
I have pf installed and it is routing and pf works great. Can someone show me a easy example of how to split the bandwidth evenly between 3 people (33% each)? thanks in advance ext_if="vl0" int_if="vl1" set block-policy deny scrub in nat on $ext_if from !($ext_if) -> ($ext_if:0) block in pass out keep state antispoof quick for { lo $int_if } pass in on $ext_if inet proto tcp from any to ($ext_if) port $tcp_services flags S/SA keep state pass in inet proto icmp all icmp-type $icmp_types keep state pass in quick on $int_if Last edited by EverydayDiesel; 29th January 2009 at 09:43 PM. |
|
|||
|
anyone?
|
|
||||
|
What, specifically, in http://www.openbsd.org/faq/pf/queueing.html#example1 is confusing you?
__________________
OpenBSD LiveCDs/LiveDVDs |
|
|||
|
i cant seem to get it right.
that example is to control the upload and I want to control the download. How can I modify my simple rules above to incorporate altq and have it split the connection 33% on each of 3 computers? |
|
||||
|
Ah. Now I understand. Allow me to ease your confusion.
You cannot rate-limit inbound packets, directly. IP doesn't work that way. You can only rate limit on outbound packets. But, when you have a router with two interfaces, you can rate-limit them indirectly. In your case, just set up your queues for the packets leaving the router for the workstations that live on $int_if.
__________________
OpenBSD LiveCDs/LiveDVDs |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Limit Bandwidth (not throughput) | plexter | OpenBSD Security | 5 | 9th October 2008 05:10 PM |
| Hardware bandwidth meter? | Yuka | General software and network | 6 | 2nd September 2008 05:10 PM |
| Testing Internet Bandwidth | JMJ_coder | General software and network | 8 | 21st July 2008 01:00 AM |
| Interface - total bandwidth | centerstage | OpenBSD General | 11 | 18th June 2008 11:20 PM |
| bandwidth !!! | sybergod | OpenBSD Security | 1 | 23rd May 2008 09:10 AM |