diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2000-04-27 17:55:17 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2000-04-27 17:55:17 +0000 |
commit | bd69051080cbae563d3c0f043e618f11b2fb01da (patch) | |
tree | 56bc68fb9d8ca8a1e4993bab91f8f8a0b815776c /sbin/natd/natd.8 | |
parent | 6d20a77450fc834ca0218a03cb03cbf3706fb90e (diff) | |
download | src-bd69051080cbae563d3c0f043e618f11b2fb01da.tar.gz src-bd69051080cbae563d3c0f043e618f11b2fb01da.zip |
Load Sharing using IP Network Address Translation (RFC 2391, LSNAT).
Notes
Notes:
svn path=/head/; revision=59703
Diffstat (limited to 'sbin/natd/natd.8')
-rw-r--r-- | sbin/natd/natd.8 | 42 |
1 files changed, 40 insertions, 2 deletions
diff --git a/sbin/natd/natd.8 b/sbin/natd/natd.8 index fbdbb9731784..1feabd1ea0a9 100644 --- a/sbin/natd/natd.8 +++ b/sbin/natd/natd.8 @@ -35,7 +35,7 @@ Network Address Translation Daemon .Op Fl interface Ar interface .Op Fl config Ar configfile .Op Fl redirect_port Ar linkspec -.Op Fl redirect_address Ar localIP publicIP +.Op Fl redirect_address Ar linkspec .Op Fl reverse .Op Fl proxy_only .Op Fl proxy_rule Ar proxyspec @@ -163,7 +163,45 @@ the incoming traffic will be directed to the last translated local address (192.168.0.4), but outgoing traffic to the first two addresses will still be aliased to specified public address. - +.It Fl redirect_port Ar proto Xo +.Ar targetIP Ns : Ns Xo +.Ar targetPORT Ns Oo , Ns +.Ar targetIP Ns : Ns Xo +.Ar targetPORT Ns Oo , Ns +.Ar ... +.Oc Oc +.Xc +.Xc +.Op Ar aliasIP Ns : Ns Xo +.Ar aliasPORT +.Xc +.Oo Ar remoteIP Ns +.Op : Ns Ar remotePORT +.Oc +.Xc +.It Fl redirect_address Xo +.Ar localIP Ns Oo , Ns +.Ar localIP Ns Oo , Ns +.Ar ... +.Oc Oc +.Ar publicIP +.Xc +These forms of +.Fl redirect_port +and +.Fl 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 +.Em LSNAT +(RFC 2391). +For example, the argument +.Pp +.Dl Ar tcp www1:http,www2:http,www3:http www:http +.Pp +means that incoming HTTP requests for host www will be transparently +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. .It Fl dynamic If the .Fl n |