Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Sep 2005 18:41:48 +0300
From:      vladone <vladone@spaingsm.com>
To:        freebsd-ipfw@freebsd.org
Subject:   Re: multiple incoming lines
Message-ID:  <255492927.20050920184148@spaingsm.com>
In-Reply-To: <433009A6.9070705@roamingsolutions.net>
References:  <433009A6.9070705@roamingsolutions.net>

next in thread | previous in thread | raw e-mail | index | archive | help
U have (for set 2) this rules to divert packets that outgoing:
$cmd 10050 set 2 divert natd2 ip from any to any out via $ext_if1
$cmd 10050 set 2 divert natd2 ip from any to any out via $ext_if2
I dont understand what u want to do?
This rules translate all adress that outgoing throught $ext_if1 and
$ext_if2 with address indicated by natd2. Divert and route is two
thinks completly different.
  If u want to route packets to different
outgoing interfaces, need to use different routes. (man route).
  If u want to outgoing packets with different addresses, but same
interface, need to use divert (and need to put alias for external
interface with addresses that u need).
  If u want to make so named load balancing, when use to lines for
incoming trafic that sumarize bandwidth then is more complicated.




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