Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Nov 2003 03:40:22 +0300 (MSK)
From:      "."@babolo.ru
To:        Drew Tomlinson <drew@mykitchentable.net>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Routing With Two ISPs?
Message-ID:  <1068252022.523087.89843.nullmailer@cicuta.babolo.ru>
In-Reply-To: <022501c3a491$e46bf780$6e2a6ba5@lc.ca.gov>

next in thread | previous in thread | raw e-mail | index | archive | help
[ Charset windows-1252 unsupported, converting... ]
> I have a 4.8 box serving as a gateway with two connections to the
> Internet.  Is there some way to set the box up so that packets are
> routed out through the same interface from which they arrived?  For
> example, if a connection is initiated on port 80 from a packet arriving
> on one interface, is there a way to make the outgoing packets from my
> web server use that same interface as a gateway instead of the default
> interface?
> 
> Any suggestions appreciated.
It's easy IMHO

Each external iface with it's own natd,
each forwards 80 port incoming to two
http servers with different IP or port.

outgoing traffic can be forwarded to appropriate
natd via ipfw rules depending on src IP or port



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