[Question] Reverse proxy over VPN presented via Apache URL


For my job I give demo’s over http on equipment that is behind a Cisco VPN. Most locations were I’m at will have WiFi, but a lot don’t allow VPN.


I would like to be able to connect to an URL over port 80, let’s say that is then routed over VPN to the actual address. Can I do this from a Linux droplet and how do I set this up. Probably two separate tutorials, the reverse proxy and VPN parts. If the VPN could dynamically be created when accessing the URL that would be great, but not mandatory.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.


Thanks for your response, which other thread are you referring to?

Regards, Niels.

This is not a configuration I have ever set up but I have looked into a similar setup in the past. Nginx would likely be an easier to configure option to act as a proxy between your VPN network and the public. This thread shows a similar configuration using openvpn instead of cisco but the nginx portion should be the same.


1.) Install nginx on your dorplet 2.) Connect your droplet to the VPN 3.) Configure the stream method or a proxy pass configuration to relay content from the IP address inside the VPN and share it via port 80.

I would strongly recommend working with your IT department, letting them know what you are setting up. Since the droplet will be connected to the VPN this may be considered a security risk. If the droplet were to be compromised it would allow an attacker a vector into your private network behind the VPN.