LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 06-18-2007, 07:14 PM   #1
da1
Member
 
Registered: May 2007
Distribution: FreeBSD
Posts: 113

Rep: Reputation: 16
per ip shapping in freebsd 6.2


here's the thing. I know in pf one can limit bw for certain programs (www, ftp...etc) but can one limit the same (or other) programs per ip?

for instance: assume NAT is configured and working. now... consider this... limit 192.168.0.2 (first pc) to have a total of 64 kB down and 128 kB up; 192.168.0.3 down 128 up 64 (kB).

i know i can limit the bw at the router, but that limits the bw (in kB or whatever) for the entire lan. say i do 4 mb down 2 mb up at the router....and say i have 3 pc's, they all have 4 down and 2 up, but that's not what i want. as i said before i'm in need of per ip shapping and it wiuld be best to have programs shapping as well (www, ftp, etc)

for instance pc1 on the lan has a total of 2mb down / 2 mb up, but has a limit of 128 kB for www and a limit of 1.5 mb up/down for ftp....whille the second pc has say 2mb for www and 128 kB for ftp....something like this.

i'm currently using pf, i've read the openbsd handbook, the manual, and also Peter N. M. Hansteen "Firewalling with OpenBSD's PF packet filter". searched goole but maybe i provide the wrong search parameters....anyway, if any of you have a solution pls, don't be shy :P.

this is a software solution. i have found hardware solution for this but can;t really afford it.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
As a FreeBSD user, what is the best things you like about FreeBSD? t3gah *BSD 6 06-10-2005 02:38 PM
traffic shapping acidrop Linux - Networking 0 05-26-2005 11:06 AM
Upstream Shapping qtgeo *BSD 2 11-08-2004 01:53 PM
traffic shapping against msn/video marianop Linux - Networking 2 01-05-2004 03:22 PM
Can't use Freebsd ckone *BSD 4 07-20-2003 08:59 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 01:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration