From owner-freebsd-questions Wed Feb 7 9:25:58 2001 Delivered-To: freebsd-questions@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 60D7937B503 for ; Wed, 7 Feb 2001 09:25:38 -0800 (PST) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.0/8.11.0) id f17HPPw05711; Wed, 7 Feb 2001 19:25:25 +0200 (EET) (envelope-from ru) Date: Wed, 7 Feb 2001 19:25:25 +0200 From: Ruslan Ermilov To: Benjamin Ossei Cc: questions@FreeBSD.ORG Subject: Re: NAT with multiple services Message-ID: <20010207192525.A5540@sunbay.com> Mail-Followup-To: Benjamin Ossei , questions@FreeBSD.ORG References: <20010207162733.DEBDE36F9@sitemail.everyone.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010207162733.DEBDE36F9@sitemail.everyone.net>; from ben@cahostnet.net on Wed, Feb 07, 2001 at 08:27:33AM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Feb 07, 2001 at 08:27:33AM -0800, Benjamin Ossei wrote: > I was wondering if it is possible to use natd in this way. I will > like to be able to run multiple web servers behind my firewall > using one public IP address. I know you can do load balancing with > natd but I don't know if you can do it with just one IP. > Here is an example from natd(8) manpage: : -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 re- : gard to load on the net. Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message