From owner-freebsd-questions Fri Apr 12 9:33:10 2002 Delivered-To: freebsd-questions@freebsd.org Received: from uk2.kanda-systems.net (uk2.kanda-systems.net [193.195.117.202]) by hub.freebsd.org (Postfix) with ESMTP id 22E0E37B41A for ; Fri, 12 Apr 2002 09:33:03 -0700 (PDT) Received: from localhost.kanda-systems.net (localhost.kanda-systems.net [127.0.0.1]) by uk2.kanda-systems.net (Postfix) with ESMTP id D819C3C1E8; Fri, 12 Apr 2002 18:44:15 +0100 (BST) Date: Fri, 12 Apr 2002 18:44:15 +0100 (BST) From: jason+freebsd@kanda.com X-X-Sender: jason@uk2.kanda-systems.net Reply-To: jason+freebsd@kanda.com To: "G. Jason Middleton" Cc: Questions list Subject: Re: IPNAT and internal webserver In-Reply-To: Message-ID: <20020412184056.R82078-100000@uk2.kanda-systems.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 12 Apr 2002, G. Jason Middleton wrote: > THE PROBLEM IS AS FOLLOWS: > > I have ipnat.rules that look like this > > map ep0 10.0.0.0/24 -> 68.55.205.182/32 > rdr ep0 68.55.205.182/32 port 80 -> 10.0.0.2 port 80 tcp > > I can connect to my internal webserver with this, however when I click > the login button I see in the status bar of IE or OPERA connecting to > host 10.0.0.2 (I am using PHPgroupware). So what I am saying here is that > I can connect initially but when I click login I get nothing. Have a look through your PHP apps config files, its most likely asked you for a URL and you've probably entered: http://10.0.0.2/myphpapp/ or something. When this application generates pages it will be including this in the full URL. To work round it you can try setting this to just /myphpapp/ or maybe set it to your external IP address if this still works on the internal network. Jason. > > > Any ideas? > > > Thanks, > > > > Jason > > G. Jason Middleton > > > > _______________________________________________________________________________ > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message