From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 10:07:28 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6C7F106566C for ; Thu, 3 Sep 2009 10:07:28 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-fx0-f210.google.com (mail-fx0-f210.google.com [209.85.220.210]) by mx1.freebsd.org (Postfix) with ESMTP id 4DB218FC08 for ; Thu, 3 Sep 2009 10:07:27 +0000 (UTC) Received: by fxm6 with SMTP id 6so1400949fxm.43 for ; Thu, 03 Sep 2009 03:07:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=QruHMeJKreeqemPF2Nn8N0ed8H1z+dCHObcogargcXE=; b=Udj4F6cjwuhrvzjdO0vUoAICJolads/0IKPvey4o/eL5R84zCHpV/p8Ous4kJwBbvP Zd2h0UVyHKxXFgIzhY5WyLqpk92lVlDJbnNK/hich1br5TAQSarfcOWcvvL/PMtT0vuV SFOpib89aekuFWm/XgAFieg1oKP4CRr1ZQVoQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=i5VeHHVWRe4PbvgoufN0km6D2fhfXVf2BLwfv3HsxJgXj141lM/puRcyuAHKs4u8/q V7Ua/MQh13J/T5ATcUE5BLsoAEJvbyyte7ZAKjuwuPIjsdylviOtcvJ2P0CEW7+bJkqF X4Db18YXv1/bAFiTpLi/8bhYUHj/3/IiQA7io= MIME-Version: 1.0 Received: by 10.204.34.73 with SMTP id k9mr7740794bkd.45.1251972447193; Thu, 03 Sep 2009 03:07:27 -0700 (PDT) In-Reply-To: <899670.61058.qm@web57505.mail.re1.yahoo.com> References: <899670.61058.qm@web57505.mail.re1.yahoo.com> From: Odhiambo Washington Date: Thu, 3 Sep 2009 13:07:07 +0300 Message-ID: <991123400909030307q65bd62cfk4af4352f2bd87b37@mail.gmail.com> To: Razvan Cristea Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: webserver and natd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 10:07:29 -0000 On Wed, Sep 2, 2009 at 1:02 AM, Razvan Cristea 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