Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Sep 2009 13:07:07 +0300
From:      Odhiambo Washington <odhiambo@gmail.com>
To:        Razvan Cristea <cristea.razvan@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: webserver and natd
Message-ID:  <991123400909030307q65bd62cfk4af4352f2bd87b37@mail.gmail.com>
In-Reply-To: <899670.61058.qm@web57505.mail.re1.yahoo.com>
References:  <899670.61058.qm@web57505.mail.re1.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 2, 2009 at 1:02 AM, Razvan Cristea <cristea.razvan@yahoo.com>wrote:

> Hello,
>
> i have a webserver useing freebsd 7.2 and i user the same server to route
> internet to a local network.
> the internet on the local network is working fine but the sites from the
> webserver are loading verry slow.
>
> i fave this configuration in rc.conf:
>
> firewall_enable="YES"
> firewall_type="open"
> firewall_logging="YES"
> gateway_enable="YES"
> natd_enable="YES"
> natd_interface="bce0"
>
> Can you please help me?


The server needs to "know itself" either via local DNS or via /etc/hosts
So you may need entries in, say, /etc/hosts for every website running on it.

-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
"If you have nothing good to say about someone, just shut up!."
              -- Lucky Dube



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