Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jun 2001 22:38:21 -0400 (EDT)
From:      Joe Clarke <marcus@marcuscom.com>
To:        Michael Richards <marsdesign@mailandnews.com>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Trying to allow acces to web serv.
Message-ID:  <20010620223703.N4019-100000@shumai.marcuscom.com>
In-Reply-To: <000701c0f9fa$a131a760$0300a8c0@wintercrest.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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