From owner-freebsd-questions Wed Jun 20 19:38:30 2001 Delivered-To: freebsd-questions@freebsd.org Received: from shumai.marcuscom.com (rdu26-228-058.nc.rr.com [66.26.228.58]) by hub.freebsd.org (Postfix) with ESMTP id B303F37B403 for ; Wed, 20 Jun 2001 19:38:27 -0700 (PDT) (envelope-from marcus@marcuscom.com) Received: from localhost (marcus@localhost) by shumai.marcuscom.com (8.11.3/8.11.3) with ESMTP id f5L2cLc26100; Wed, 20 Jun 2001 22:38:25 -0400 (EDT) (envelope-from marcus@marcuscom.com) X-Authentication-Warning: shumai.marcuscom.com: marcus owned process doing -bs Date: Wed, 20 Jun 2001 22:38:21 -0400 (EDT) From: Joe Clarke To: Michael Richards Cc: Subject: Re: Trying to allow acces to web serv. In-Reply-To: <000701c0f9fa$a131a760$0300a8c0@wintercrest.net> Message-ID: <20010620223703.N4019-100000@shumai.marcuscom.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Unless you have a separate public address for that machine, you might try: natd -n ed0 -redirect_port tcp 192.168.0.3:80 80 I haven't tested this, but it should work. Joe Clarke On Wed, 20 Jun 2001, Michael Richards wrote: > Okay, i've been basically fiddling with freebsd.. it's doing what i want it > to do just fine, serving the internet to my internal network, and keeping it > somewhat safe behind a basic firewall.. HOWEVER... > > i'd like to be able to have requests for 'myip:80' to go to a machine on the > internal network (192.168.0.3:80) which runs a web server. i can't seem to > get it to work, and when i try a natd -n ed0 -redirect_address 192.168.0.3 > my.outside.ip i get an error message that says 'unable to bind divert > socket.: address already in use' > > Please forgive my newbieness.. but i can't seem to see where or how to > resolve this. > > thanks in advance; > > -Mike > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message