From owner-freebsd-questions@FreeBSD.ORG Sun Jan 9 13:11:22 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8328616A4CE for ; Sun, 9 Jan 2005 13:11:22 +0000 (GMT) Received: from jail.idea-anvil.net (idea-anvil.net [63.226.12.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3077C43D49 for ; Sun, 9 Jan 2005 13:11:22 +0000 (GMT) (envelope-from james@idea-anvil.net) Received: from mail.Idea-Anvil.net (vaio [10.0.0.99]) by jail.idea-anvil.net (8.12.11/8.12.9) with ESMTP id j09DBLIx071838 for ; Sun, 9 Jan 2005 06:11:21 -0700 (MST) (envelope-from james@idea-anvil.net) From: James Jhai To: freebsd-questions@freebsd.org Date: Sun, 9 Jan 2005 06:11:21 -0700 User-Agent: KMail/1.7.1 References: <41E12D56.3050904@tilde.it> In-Reply-To: <41E12D56.3050904@tilde.it> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200501090611.21472.james@idea-anvil.net> Subject: Re: apache.. i can view my index.html on my LAN but not othersoutside my LAN X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jan 2005 13:11:22 -0000 On Sunday 09 January 2005 06:10 am, Matteo Santori wrote: > Are you sure the machine which is running apache in visible from outside? > > example > > gw (public ip) -> pc-lan1 (private) -> pc-lan2/apache (private) > > if you are not doing port redirecting on 80, ppl connecting to you from > outside will watch the port 80 on your gw (which is close). Then, I > suggest to redirect icoming connection on 80 on your machine running apache. > You can do it in serval ways, just check what do u use and prefer. > Hope this help, > Greets, > > Matteo > > > > > > [ kambing ] zaimie wrote: > > > i've read all the faqs, handbook and manual > > > > i currently have this problem > > > > i installed FreeBSD 5.3 Release on one of my systems in my LAN network > > And installed Apache 1.3.3 > > i did the config and did apachectl start > > i opened up port 80 on my router and link it to the FreeBSD system > > However.. i can view the index.html > > but not others outside my LAN network > > It states Server not found.. > > How do i let others outside of my LAN to view the index.html thingy in > > /usr/local/www/data/ > > > > Thx > > Also check your firewall rules and make sure that they aren't blocking inncomming connections to port 80. If you are using ipfw you will need something like this in /etc/rc.firewall for the firewall section you are using: (snip from the client section of my rc.firewall) ... # Allow and log connection setup ${fwcmd} add pass log tcp from any to a.b.c.d 80 setup # Continue to allow already established connections ${fwcmd} add pass tcp from any to any established ... -- - James