Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Feb 2000 16:27:53 +0100 (CET)
From:      Luigi Rizzo <luigi@info.iet.unipi.it>
To:        net@freebsd.org
Subject:   does ipfw forward work with non-local addresses ?
Message-ID:  <200002221527.QAA98086@info.iet.unipi.it>

next in thread | raw e-mail | index | archive | help
Hi,

am looking at implementing some kind of redirection mechanism (similar
to layer-4 switching, used to see a farm of servers as a single node) in
ipfw, and was wondering how (if) ipfw forwarding works when you specify a
non-local forwarding address e.g. something like

	ipfw add fwd some_other_host tcp from any to my_ip 80

The rule of course seems to match incoming packets, but then
the forward routine will likely fail because the destination address
in the packet seems to be unchanged.
(Not that the return packets can work at all, as there is no way
to set a matching rule at the moment for this...)

	cheers
	luigi
-----------------------------------+-------------------------------------
  Luigi RIZZO, luigi@iet.unipi.it  . Dip. di Ing. dell'Informazione
  http://www.iet.unipi.it/~luigi/  . Universita` di Pisa
  TEL/FAX: +39-050-568.533/522     . via Diotisalvi 2, 56126 PISA (Italy)
  Mobile   +39-347-0373137
-----------------------------------+-------------------------------------


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




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