logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Third-party Modules View previous topic :: View next topic
Reply to topic   Topic: Disable forwarding Client IP in reverse proxy
Author
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7298
Location: Germany, Next to Hamburg

PostPosted: Wed 04 Jul '07 15:36    Post subject: Disable forwarding Client IP in reverse proxy Reply with quote

Is it possible to disable forwarding the client IP in the reverse request or changing the IP?
I'd like to access my router from the internet. Now after a new fireware Update it checks the client IP if it is from the LAN. So now I can't access my router via reverse proxy Mad Confused
Back to top
tdonovan
Moderator


Joined: 17 Dec 2005
Posts: 611
Location: Milford, MA, USA

PostPosted: Wed 04 Jul '07 20:08    Post subject: Reply with quote

It *might* work if you configure a forward proxy instead of a reverse proxy - if the only problem is the client IP address.

This was not enough to let me use my Buffalo WHR-G54S router (IP 192.168.11.1) remotely.
There were just too many embedded URLs and I didn't want to use mod_proxy_html to deal with them.

I opened another external port (for example - port 81) and configured a virtual host like this:
Quote:
Listen 81
<VirtualHost *:81>
ProxyPass / http://192.168.11.1/
ProxyPassReverse / http://192.168.11.1/
... authentication directives ...
</VirtualHost>

This worked to let me access my router from the internet as http://servername:81/

-tom-
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7298
Location: Germany, Next to Hamburg

PostPosted: Thu 05 Jul '07 10:10    Post subject: Reply with quote

Great idea, but my router still notice that the client IP is not from the LAN. Confused
Any other idea?

Also the trick using mod_proxy_html didn't work... Before firmware update it was fine. But the Manufacturer says that there is no change to downgrade the firmware Neutral

My workaround is using VNC over SSH Tunnel and configure my router from "inside"
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7298
Location: Germany, Next to Hamburg

PostPosted: Wed 25 Jul '07 15:25    Post subject: Reply with quote

Now I set up a brand new config file without the reverse proxy and now I can access my rounter with the forward proxy using the internal IP Wink
Back to top


Reply to topic   Topic: Disable forwarding Client IP in reverse proxy View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules