From owner-freebsd-ipfw@FreeBSD.ORG  Tue Nov  4 12:47:40 2008
Return-Path: <owner-freebsd-ipfw@FreeBSD.ORG>
Delivered-To: freebsd-ipfw@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 406F81065673
	for <freebsd-ipfw@FreeBSD.org>; Tue,  4 Nov 2008 12:47:40 +0000 (UTC)
	(envelope-from thavinci@thavinci.za.net)
Received: from thavinci.za.net (mail.e-soul.co.za [196.211.117.44])
	by mx1.freebsd.org (Postfix) with ESMTP id 20F0B8FC18
	for <freebsd-ipfw@FreeBSD.org>; Tue,  4 Nov 2008 12:47:39 +0000 (UTC)
	(envelope-from thavinci@thavinci.za.net)
Received: from thavinci.za.net (localhost [127.0.0.1])
	by thavinci.za.net (Postfix) with ESMTP id 5FCB39B49B
	for <freebsd-ipfw@FreeBSD.org>; Tue,  4 Nov 2008 14:29:18 +0200 (SAST)
Received: by thavinci.za.net (Postfix, from userid 1002)
	id 459879B497; Tue,  4 Nov 2008 14:29:18 +0200 (SAST)
Received: from thavinciPC (unknown [192.168.12.110])
	by thavinci.za.net (Postfix) with ESMTP id 389FA9B492
	for <freebsd-ipfw@FreeBSD.org>; Tue,  4 Nov 2008 14:29:18 +0200 (SAST)
From: "Marcel Grandemange" <thavinci@thavinci.za.net>
To: <freebsd-ipfw@FreeBSD.org>
Date: Tue, 4 Nov 2008 14:27:52 +0200
Message-ID: <013a01c93e78$c1ff2010$45fd6030$@za.net>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 12.0
Thread-Index: Ack+eMHhtaF1vkKMRou67kdVrWjTQA==
Content-Language: en-us
X-Virus-Scanned: ClamAV using ClamSMTP
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Content-Filtered-By: Mailman/MimeDel 2.1.5
Cc: 
Subject: Dual ADSL Load Balancing
X-BeenThere: freebsd-ipfw@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: IPFW Technical Discussions <freebsd-ipfw.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw>,
	<mailto:freebsd-ipfw-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ipfw>
List-Post: <mailto:freebsd-ipfw@freebsd.org>
List-Help: <mailto:freebsd-ipfw-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw>,
	<mailto:freebsd-ipfw-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Nov 2008 12:47:40 -0000

Ok I have managed to get this working by running two instances of natd, the
works.

 

Then by using ipfw fwd "to appropriate gateway" for "appropriate protocol"
type of approach.

 

 

However here is the question.

 

The machine obviously has one of the gateways set as it's main route and
only protocols explicitily sent to other gateway using fwd gows through
other line.

But incoming connections is my problem, I need to be able to say in lamence
terms

 

 

If connection comes in on adsl2 send it to gateway2

I think whats happening now is it comes in on adsl2 gows out adsl1

 

 

Input!?