From owner-freebsd-questions@FreeBSD.ORG Sat Aug 16 11:08:02 2008 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 C19651065683 for ; Sat, 16 Aug 2008 11:08:02 +0000 (UTC) (envelope-from robin@reportlab.com) Received: from fhw-relay07.plus.net (fhw-relay07.plus.net [212.159.14.148]) by mx1.freebsd.org (Postfix) with ESMTP id 879D88FC13 for ; Sat, 16 Aug 2008 11:08:02 +0000 (UTC) (envelope-from robin@reportlab.com) Received: from [87.114.65.154] (helo=[192.168.0.3]) by fhw-relay07.plus.net with esmtp (Exim) id 1KUJdY-0003Uf-6Y; Sat, 16 Aug 2008 12:08:00 +0100 Message-ID: <48A6B50F.7090101@jessikat.plus.net> Date: Sat, 16 Aug 2008 12:07:59 +0100 From: Robin Becker User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <48A695EF.2020805@jessikat.plus.net> <200808161710.20899.outbackdingo@gmail.com> In-Reply-To: <200808161710.20899.outbackdingo@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Plusnet-Relay: 8091912f7a369385a052ceae5bab87e1 Cc: OutBackDingo Subject: Re: network problem 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: Sat, 16 Aug 2008 11:08:02 -0000 OutBackDingo wrote: > whats redirecting the requests to the apache server? is it on piublic or > private ip block ? whats it set to listen on IP wise ? what about a changed > netmask ? > The server is listening to a local ip address which hasn't changed eg 192.168.0.x The external IP address was changed as was the external name server and the netmask. Our local net is provided by an ethernet router that has been configured with the new external IP address in exactly the same way as the old one. I've just reviewed the settings again and both https(443) and http(80) appear to be NAT'd to 192.168.0.x which is both the http & https server. Https works & http doesn't. The external IP is xxx.yyy.zzz.240 with netmask xxx.yyy.zzz.224 and gateway xxx.yyy.zzz.225 and I think that works. The dns server ip is setup in the gateway and it acts as both a dhcp server and static router. When I connect from the lan side to http://xxx.yyy.zzz.240 it seems to work fine. From outside it fails. > On Saturday 16 August 2008 15:55:11 Robin Becker wrote: >> After a recent change of ISP and hence our external IP address I find >> that our FreeBSD 6.1 apache http server appears to be invisible from >> outside our site. Port 80 requests just seem to hang whether done via a >> dns lookup or using the ip address. Checking the logs seems to indicate >> that no requests now arrive, but that we have seen some external >> requests since the ISP changed. >> >> The https/sshd/mysql etc servers are still visible externally and the >> http server is visible on its local address and if you visit the >> external address from inside the network. >> >> I suspect that either I've still got some misconfiguration on the >> server, gateway or or dns(although this seems less likely). >> >> Alternatively the ISP might have some other block in place. >> >> I've looked for the old IP address in /etc and found no usages the >> gateway appears to be correctly set up. >> >> What tests can I do internally/externally to see what happens to my port >> 80 packets? ....... -- Robin Becker