OpenVPN behind a Apache Reverse Proxy

This forum is for admins who are looking to build or expand their OpenVPN setup.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
jnebrera
OpenVpn Newbie
Posts: 4
Joined: Tue Apr 05, 2011 6:53 am

OpenVPN behind a Apache Reverse Proxy

Post by jnebrera » Mon May 09, 2011 10:41 am

Hi all,

I'm wondering if OpanVPN server would work behind an Apache based reverse proxy.

In this scenario, the client connects to a public IP belonging to the apache server, and based on the url used its redirected to the proper OpenVPN server.

Thanks and regards

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: OpenVPN behind a Apache Reverse Proxy

Post by janjust » Mon May 09, 2011 10:47 am

errr, which "URL used" ? OpenVPN can connect to a "regular" HTTP proxy , for which it uses the HTTP CONNECT command or it can connect to an IP address+port; URLs are never used by the openvpn client (or server).

jnebrera
OpenVpn Newbie
Posts: 4
Joined: Tue Apr 05, 2011 6:53 am

Re: OpenVPN behind a Apache Reverse Proxy

Post by jnebrera » Mon May 09, 2011 12:00 pm

URLs are never used by the openvpn client (or server)
In my understanding, with latest OpenVPN AS, you connect to a "web server" and then the browser "creates" the tunnel (well, in very basic words) This you call "Connect Client"

Now, this is were precisely I'm thinking about. Instead of making the browser connect exactly to the OpenVPN server, it first goes to the reverse proxy were looking into the url is redirected to the real openvpn server.

Im wondering if this would work.

Thanks

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: OpenVPN behind a Apache Reverse Proxy

Post by janjust » Mon May 09, 2011 12:05 pm

This forum is intended only for the open source/community edition of OpenVPN; all Access Server related questions should be sent to the AS Technical Support team.

jnebrera
OpenVpn Newbie
Posts: 4
Joined: Tue Apr 05, 2011 6:53 am

Re: OpenVPN behind a Apache Reverse Proxy

Post by jnebrera » Mon May 09, 2011 12:09 pm

Ah, ok, sorry

Post Reply