From owner-freebsd-isp@FreeBSD.ORG Wed Oct 24 11:42:17 2007 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 00D5D16A46B for ; Wed, 24 Oct 2007 11:42:16 +0000 (UTC) (envelope-from tonix@interazioni.it) Received: from mx02.interazioni.net (mx02.interazioni.net [80.94.114.204]) by mx1.freebsd.org (Postfix) with ESMTP id 572AF13C4B8 for ; Wed, 24 Oct 2007 11:42:16 +0000 (UTC) (envelope-from tonix@interazioni.it) Received: (qmail 9011 invoked by uid 88); 24 Oct 2007 11:42:01 -0000 Received: by simscan 1.1.0 ppid: 8993, pid: 9008, t: 0.1037s scanners: attach: 1.1.0 clamav: 0.88.7/m: Received: from unknown (HELO ?192.168.56.199?) (tonix@interazioni.it@85.18.206.139) by relay.interazioni.net with ESMTPA; 24 Oct 2007 11:42:01 -0000 Message-ID: <471F2F86.7070805@interazioni.it> Date: Wed, 24 Oct 2007 13:41:58 +0200 From: "tonix (Antonio Nati)" User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Tom Judge References: <471F0422.5080800@interazioni.it> <471F14E1.8050900@tomjudge.com> <471F1A3F.5070100@interazioni.it> <471F24C6.8020808@tomjudge.com> In-Reply-To: <471F24C6.8020808@tomjudge.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-isp@freebsd.org Subject: Re: Advanced routing option X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Oct 2007 11:42:17 -0000 Tom Judge ha scritto: > tonix (Antonio Nati) wrote: >> Tom Judge ha scritto: >>> tonix (Antonio Nati) wrote: >>>> I'm using FreeBSD and Monowall in the most of my servers. >>>> >>>> One limit I'm facing on both is the lack of an advanced routing >>>> feature. >>>> >>>> Would be too complicated to modify "route" sources (and probably >>>> kernel tables) implementing a FROM parameter in ADD command? >>>> >>>> route add 0.0.0.0/0 210.10.10.1 >>>> route add FROM 200.1.1.0/24 0.0.0.0/0 210.10.10.10 >>>> route add FROM 200.1.2.0/24 0.0.0.0/0 210.10.11.11 >>>> >>>> A FROM option would improve a lot routing capabilities and handling >>>> of multiple WAN connections. >>>> >>>> Any comment? >>>> >>>> Tonino >>>> >>> >>> If you wish to do this type of policy routing you need to use one of >>> the firewalls as it can't be done in the routing table. PF can do >>> this easily with its route-to option. >>> >> I feel it is more a routing feature than a fw feature. I don't see >> extending routing tables (and relative routing checking) so complicated. >> >> Tonino > > It is not that it is not complicated. It is that it is _NOT_ > _POSSIBLE_ to do this with the FreeBSD routing sub system. You _MUST_ > do this with a firewall on FreeBSD. Not possible with the ACTUAL routing subsystem, or not possible to change the code to enhance the subsystem? I'm speaking about modifying the code, if necessary. Tonino > Tom > _______________________________________________ > freebsd-isp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" > -- ------------------------------------------------------------ Inter@zioni Interazioni di Antonio Nati http://www.interazioni.it tonix@interazioni.it ------------------------------------------------------------