Serve webpage in firewalled ip through portal machine

I have house.dynamicdnsservice.com pointing to my house IP.

My firewall allows incoming https connections to go to 192.168.0.22, where I put google oauth login. That part is working fine. I'm able to access my house from anywhere and run the google login.

My next step is to provide access to logged in users to a webpage in IP 192.168.0.34. The firewall does NOT allow that IP to be accessed from the WAN side.

How can I use the .22 machine to serve/redirect/portal the firewalled .34 server? (after logging in, of course)

I'm running ubuntu/apache/php on both machines.


It sounds like you want to set up the .22 machine as a reverse proxy

Difference between proxy server and reverse proxy server

Some information about handling authentication pass-thru for an apache reverse proxy: Apache2 Reverse Proxy to an end-point that requires BasicAuth but want to hide this from user

Squid can also be configured to manage this.

A walk-thru of this kind of setup

链接地址: http://www.djcxy.com/p/96434.html

上一篇: 如何通过一个代理平衡负载?

下一篇: 通过门户机器在防火墙ip服务网页