View Single Post
  #1   (View Single Post)  
Old 29th January 2009
EverydayDiesel EverydayDiesel is offline
Shell Scout
 
Join Date: Jan 2009
Posts: 124
Default Help Limiting/Splitting Bandwidth

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 10:43 PM.
Reply With Quote