You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Martin Moss <Ma...@btinternet.com> on 2002/12/08 18:53:26 UTC

modperl ttssh and port forwarding

All,

I have a configuration issue, and I was wondering if anybody has had the
same problem?
I have an adsl gateway (192.168.0.1 & external IP) and a seperate webserver
(192.168.0.10) on my home network.
I want to allow a user on the internet access to my webserver.
I have once before configured ttssh (Tera term with ssh extension) to talk
to a machine on an internal LAN of another network that was already
configured to allow ssh forwarding, so I know there is a way to do this,
however I can't seem to get it to work, and I suspect the problem is my
Apache webserver running on port 8088 is refusing the connections.

I have my IE browser on the external machine set to use a proxy server of
localhost:999 and my ttssh is set to forward localhost:999 to
192.168.0.10:8088 and I have succesffully logged into my router. When I try
to browse a webpage in my browser I get an error in my apache webservers
access.log logfile:-

192.168.0.1 - - [08/Dec/2002:19:29:28 +0000] "GET /private/" 403
192.168.0.1 - - [08/Dec/2002:19:29:28 +0000] www.google.com 403

this tells me that my port forwarding has been successful, but my apache is
issuing a 403 forbidden message.

So How do I configure my apache to allow this connection. I have my own
custom authentication mechanism, which covers /private/ but this isn't being
run, apache is refusing the connection before running my access control.

Can anybody provide me with any help or advice?

Kind regards

Marty



Re: modperl ttssh and port forwarding - SOLVED

Posted by Martin Moss <Ma...@btinternet.com>.
All,

sorry for the trouble, I finally worked out the problem,

I didn't have libproxy.so loaded on my 192.168.0.10 machine and the
directive
ProxyRequests On
set.

Now that I do it works fine,

Regards

Marty
----- Original Message -----
From: "Martin Moss" <Ma...@btinternet.com>
To: <mo...@perl.apache.org>
Sent: Sunday, December 08, 2002 5:53 PM
Subject: modperl ttssh and port forwarding


> All,
>
> I have a configuration issue, and I was wondering if anybody has had the
> same problem?
> I have an adsl gateway (192.168.0.1 & external IP) and a seperate
webserver
> (192.168.0.10) on my home network.
> I want to allow a user on the internet access to my webserver.
> I have once before configured ttssh (Tera term with ssh extension) to talk
> to a machine on an internal LAN of another network that was already
> configured to allow ssh forwarding, so I know there is a way to do this,
> however I can't seem to get it to work, and I suspect the problem is my
> Apache webserver running on port 8088 is refusing the connections.
>
> I have my IE browser on the external machine set to use a proxy server of
> localhost:999 and my ttssh is set to forward localhost:999 to
> 192.168.0.10:8088 and I have succesffully logged into my router. When I
try
> to browse a webpage in my browser I get an error in my apache webservers
> access.log logfile:-
>
> 192.168.0.1 - - [08/Dec/2002:19:29:28 +0000] "GET /private/" 403
> 192.168.0.1 - - [08/Dec/2002:19:29:28 +0000] www.google.com 403
>
> this tells me that my port forwarding has been successful, but my apache
is
> issuing a 403 forbidden message.
>
> So How do I configure my apache to allow this connection. I have my own
> custom authentication mechanism, which covers /private/ but this isn't
being
> run, apache is refusing the connection before running my access control.
>
> Can anybody provide me with any help or advice?
>
> Kind regards
>
> Marty
>
>
>