From owner-freebsd-pf@FreeBSD.ORG Tue Mar 27 13:42:30 2007 Return-Path: X-Original-To: freebsd-pf@freebsd.org Delivered-To: freebsd-pf@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 141E616A406 for ; Tue, 27 Mar 2007 13:42:30 +0000 (UTC) (envelope-from joe@joeholden.co.uk) Received: from gabriella.ber.rewt.org.uk (gabriella.ber.rewt.org.uk [87.106.72.109]) by mx1.freebsd.org (Postfix) with ESMTP id BF6EE13C44C for ; Tue, 27 Mar 2007 13:42:29 +0000 (UTC) (envelope-from joe@joeholden.co.uk) Received: from localhost (localhost [127.0.0.1]) by gabriella.ber.rewt.org.uk (Postfix) with ESMTP id 7039A2DE8A; Tue, 27 Mar 2007 14:25:27 +0100 (BST) X-Virus-Scanned: amavisd-new at gabriella.ber.rewt.org.uk Received: from gabriella.ber.rewt.org.uk ([127.0.0.1]) by localhost (gabriella.ber.rewt.org.uk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DJKWafPKHIm4; Tue, 27 Mar 2007 14:25:22 +0100 (BST) Received: from joanna.local (unknown [192.168.254.1]) by gabriella.ber.rewt.org.uk (Postfix) with ESMTP id 8E01B2DE89; Tue, 27 Mar 2007 14:25:21 +0100 (BST) Received: from [192.168.10.147] (jwh.local [192.168.10.147]) by joanna.local (Postfix) with ESMTP id D8F485C32; Tue, 27 Mar 2007 14:25:20 +0100 (BST) Message-ID: <46091B41.4020307@joeholden.co.uk> Date: Tue, 27 Mar 2007 14:25:21 +0100 From: Joe Holden User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: Eduardo Meyer References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-pf@freebsd.org Subject: Re: How to balance my own outgoing traffic? 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: Tue, 27 Mar 2007 13:42:30 -0000 Eduardo Meyer wrote: > Hello, > > I have a multihomed squid box with two direct-to-internet cable links. > however they come from different telecoms, so, no way to use advanced > routing since I am not an AS. The deal is to make policy routing. > > However, besides doing route-to on a NAT box for whole networks, I > have no idea on how to route-to my own traffic, which is what I need > now. > > I can set my squid outgoing_ip to whatever I want. > > How can I balance my own outgoing traffic? Suggestions? > You can use PF in a round-robin style configuration to balance it, although as far as I am aware, it isn't exactly 50/50. Not sure what else to suggest HTH, Joe