From owner-freebsd-questions@FreeBSD.ORG Mon Feb 11 00:12:13 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3ACE516A417 for ; Mon, 11 Feb 2008 00:12:13 +0000 (UTC) (envelope-from pprocacci@datapipe.com) Received: from fmailhost03.isp.att.net (fmailhost03.isp.att.net [204.127.217.103]) by mx1.freebsd.org (Postfix) with ESMTP id 1AB1F13C45D for ; Mon, 11 Feb 2008 00:12:13 +0000 (UTC) (envelope-from pprocacci@datapipe.com) Received: from [10.5.21.2] (adsl-146-137-153.bna.bellsouth.net[70.146.137.153]) by isp.att.net (frfwmhc03) with ESMTP id <20080211001211H0300i52q5e>; Mon, 11 Feb 2008 00:12:12 +0000 X-Originating-IP: [70.146.137.153] Message-ID: <47AF92DC.10805@datapipe.com> Date: Sun, 10 Feb 2008 18:12:12 -0600 From: "Paul A. Procacci" User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Suprema_Inform=E1tica_Ltda_-_Leandro?= References: <47AF9261.6000602@supremasc.com.br> In-Reply-To: <47AF9261.6000602@supremasc.com.br> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: two links X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2008 00:12:13 -0000 Suprema Informática Ltda - Leandro wrote: > Good morning, > > I need active two links of internet, but i don´t know do this. > I have 3 interfaces > > internet 1 adsl gateway = 172.168.0.254 - ip interface = > 172.168.0.253 > internet 2 adsl gateway = 192.168.1.254 - ip interface = > 192.168.1.253 > > interface to lan internal = 10.0.0.254 > > My default gateway is 172.168.0.254. > > I need active the second link (192.168.1.254) only access port 22, > just port 22. > > > Freebsd 6.3 + ipfw > > > Thanks for all.t > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" First explictly allow transmission on the interface in question, and deny everything else. Additionally, you probably want to keep state within the ruleset as well. ipfw add allow tcp from any to me 22 in via ipfw add deny tcp from any to me 22