Date: Sun, 10 Feb 2008 18:12:12 -0600 From: "Paul A. Procacci" <pprocacci@datapipe.com> To: =?ISO-8859-1?Q?Suprema_Inform=E1tica_Ltda_-_Leandro?= <suprema.info@supremasc.com.br> Cc: freebsd-questions@freebsd.org Subject: Re: two links Message-ID: <47AF92DC.10805@datapipe.com> In-Reply-To: <47AF9261.6000602@supremasc.com.br> References: <47AF9261.6000602@supremasc.com.br>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <some_num> allow tcp from any to me 22 in via <interface> ipfw add <some_num+2> deny tcp from any to me 22
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47AF92DC.10805>