Jump to content

Multiple internal website access with one ip from the net


Recommended Posts

Posted

We have one external static IP and I thought would it be possible to use PHPProxy to connect over the firewall to a local one network card proxy to access internal websites over the net. Is this possible?

 

See attachment

drawing1.gif

Posted

You can use a reverse proxy to achieve this - Apache does this well. Tell your firewall to send all requests on port 80 to a single server running Apache configuerd like this:

 

 ServerName cms.mydomain.com
 ProxyPass / [url]http://10.10.10.12[/url]
 ProxyPassReverse / [url]http://10.10.10.12/[/url]



 ServerName vle.mydomain.com
 ProxyPass / [url]http://10.10.10.2[/url]
 ProxyPassReverse / [url]http://10.10.10.2/[/url]

 

That config is from memory so it may be best to double-check with the Apache docs.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...