Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just start to work with Geoserver and Openlayers and one of the main concerns of the project now is do not expose the geoserver web interface outside of the internal network. No access to

However the application that is available in the Internet needs to get data (wms/wfs) from the Geoserver. This all through OpenLayers.

Is this possible?

Thank you all

share|improve this question
The short answer is yes. I can't help you with a long answer, because the way we are doing it is a custom proxy that also handles our AAA needs. But basically it is all HTTP traffic. – relet Dec 10 '10 at 12:08
up vote 1 down vote accepted

It is possible, follow the instructions at but instead of /geoserver use /geoserver/wms and /geoserver/wfs

share|improve this answer
Very direct way to do it thank you – machado Jan 6 '11 at 23:01
Link broken, solution lost... :S – inf3rno Oct 5 '15 at 17:02
@iant Hi there, inf3rno is right, link is broken. – slevin Oct 5 '15 at 20:22
5 years is a long time :-( – iant Oct 6 '15 at 8:10

You can have an apache httpd as frontend listening on port 80 with proyxing rewrite-rules (see mod_rewrite and mod_proxy) mapping /whateverurl on apache to /geoserver/wms on the geoserver running on another tcp port.

Se more:

share|improve this answer

you can setup a reverse proxy. Then point OL to it like a normal url. I know you're not using ESRI but they have a guide online to setup a reverse proxy that would apply to your case.

share|improve this answer

You can look at these two project, maybe they can help you:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.