DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Security

OpenBSD Security Functionally paranoid!

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT. The time now is 05:55 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick