From owner-freebsd-pf@FreeBSD.ORG Fri Oct 3 12:54:22 2008 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E71BD1065696 for ; Fri, 3 Oct 2008 12:54:22 +0000 (UTC) (envelope-from freebsd@violetlan.net) Received: from mail.violetlan.net (mail.violetlan.net [80.81.242.7]) by mx1.freebsd.org (Postfix) with ESMTP id A7B718FC2F for ; Fri, 3 Oct 2008 12:54:22 +0000 (UTC) (envelope-from freebsd@violetlan.net) Received: from mail.violetlan.net (mail.violetlan.net [10.0.100.111]) by mail.violetlan.net (Postfix) with ESMTP id F16F01143E for ; Fri, 3 Oct 2008 13:41:00 +0100 (BST) Received: from www.violetlan.net (mbali.violetlan.net [10.0.100.150]) by mail.violetlan.net (Postfix) with ESMTP id A2FD61143C for ; Fri, 3 Oct 2008 13:41:00 +0100 (BST) Received: from 217.45.165.129 (SquirrelMail authenticated user freebsd@violetlan.net) by www.violetlan.net with HTTP; Fri, 3 Oct 2008 13:37:35 +0100 (BST) Message-ID: <56157.217.45.165.129.1223037455.squirrel@www.violetlan.net> Date: Fri, 3 Oct 2008 13:37:35 +0100 (BST) From: "Reinhold" To: freebsd-pf@freebsd.org User-Agent: SquirrelMail/1.5.1 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP Subject: limiting bandwidth at certain times during the day X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Oct 2008 12:54:23 -0000 Hi I was asked to limit the amount of bandwidth being used by our openvpn connections during our office hours and then allow full access after hours. In my current set up I'm using pf that does load balancing over 2 adsl lines on a FreeBSD 7-STABLE system, I'm using mpd5 for dialing in and establish the connections with our ISP. I'm in the process of implementing HFSC to see if I can improve our bandwidth usage, I tried PRIQ but ended up loosing packets and the over all performance decreased to a point where I had to disable it. How can I go about setting up a limit for a certain time period on the amount of bandwidth being used by openvpn? Thanks Reinhold