Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Oct 1999 11:24:35 +0300
From:      Ruslan Ermilov <ru@ucb.crimea.ua>
To:        "Sean J. Schluntz" <schluntz@workofstone.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Routing Question.
Message-ID:  <19991002112435.C14447@relay.ucb.crimea.ua>
In-Reply-To: <199910011912.MAA07301@c956029-a.haywd2.sfba.home.com>; from schluntz@timberwolf.workofstone.net on Fri, Oct 01, 1999 at 11:41:43AM -0700
References:  <199910011912.MAA07301@c956029-a.haywd2.sfba.home.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 01, 1999 at 11:41:43AM -0700, schluntz@timberwolf.workofstone.net wrote:
> 
> Is it possible to setup a system so that the routing takes place on source
> not destination?
> 
> What I am trying to do is have my NAT'd subnets traffic have a different default
> gateway than everything else that goes though the firewall.  (So my personal traffic will use the cablemodem insted of the DSL line keeping all of the bandwitch of the DSL line open for business traffic.)
> 
> Is this possible?  The system is a FreeBSD/i386 3.3 system with 4 network
> cards, 1) DSL, 2) CableModem, 3) DMZ, 4) NAT.
> 
Yup, ipfw(8)'s `fwd ipaddr' will change the next-hop gateway for matching
packets without altering the packets itself.  Refer to the ipfw(8) manual
page for details.


Cheers,
-- 
Ruslan Ermilov		Sysadmin and DBA of the
ru@ucb.crimea.ua	United Commercial Bank,
ru@FreeBSD.org		FreeBSD committer,
+380.652.247.647	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991002112435.C14447>