webserver and natd

Odhiambo Washington odhiambo at gmail.com
Thu Sep 3 10:07:29 UTC 2009


On Wed, Sep 2, 2009 at 1:02 AM, Razvan Cristea <cristea.razvan at 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


More information about the freebsd-questions mailing list