dennisolvany at gmail.com
Tue Jan 3 21:56:47 PST 2006
Karel Miklav wrote:
> I'd like to do something like described on the LVS pages
> http://www.linuxvirtualserver.org/VS-DRouting.html, that is route
> requests to another server and answer from this second server
> directly to the client. How can I do it on FreeBSD?
You can use lsnat.
-redirect_address localIP[,localIP[,...]] publicIP
These forms of -redirect_port and -redirect_address are used
to transparently offload network load on a single server and
distribute the load across a pool of servers. This function
is known as LSNAT (RFC 2391). For example, the argument
tcp www1:http,www2:http,www3:http www:http
means that incoming HTTP requests for host www will be trans-
parently redirected to one of the www1, www2 or www3, where a
host is selected simply on a round-robin basis, without
regard to load on the net.
More information about the freebsd-net