Port sharing on Access Server

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
hursey013
OpenVpn Newbie
Posts: 3
Joined: Wed Apr 09, 2014 7:58 pm

Port sharing on Access Server

Post by hursey013 » Wed Apr 09, 2014 8:04 pm

I have read here how to configure port sharing to allow a webserver to also use port 443 for SSL:
http://www.vpntutorials.com/tutorials/o ... rt-80-443/

Is port-share also available on Access Server? I have attempted to modify my as.conf with the instructions in the above tutorial, but it has no effect. Any pointers would be much appreciated.

Ubuntu 12.04
OpenVPN-AS 2.0.5

anthonysomerset
OpenVpn Newbie
Posts: 4
Joined: Wed Apr 09, 2014 4:33 pm

Re: Port sharing on Access Server

Post by anthonysomerset » Thu Apr 10, 2014 5:49 am

i installed the latest version yesterday 2.0.6 and it was working out of the box for me

installed on centos if it makes any difference

hursey013
OpenVpn Newbie
Posts: 3
Joined: Wed Apr 09, 2014 7:58 pm

Re: Port sharing on Access Server

Post by hursey013 » Thu Apr 10, 2014 8:44 pm

Maybe I am confused. What I'm trying to do is run OpenVPN-AS as well as some SSL web services, however if I access anything using https://mydomain.com:443 - it is redirected to the OpenVPN-AS login page. I was reading "port-share" to eliminate that, but I could be wrong. Any idea on how to eliminate the web gui from taking over all the https traffic - or is the best option to switch my apache web server to listen to a completely different port (other than 443)? Thanks for the help.

dg1sek
OpenVpn Newbie
Posts: 1
Joined: Thu May 03, 2018 12:10 pm

Re: Port sharing on Access Server

Post by dg1sek » Thu May 03, 2018 12:13 pm

Same question. I tried to enable port sharing as I want to run an apache web server with https on the same machine.
I am running access server on a debian VPS.

Added the following lines to /usr/local/openvpn_as/etc/as.conf (x.x.x.x being the public IP address, masked here):

proto tcp
port 443
port-share x.x.x.x 10443

and reconfigured Apache to listen on port 10443.
But it seems as openvpn-as is ignoring these configuration lines.

Is port-share supposed to be supported?

User avatar
novaflash
OpenVPN Inc.
Posts: 1073
Joined: Fri Apr 13, 2012 8:43 pm

Re: Port sharing on Access Server

Post by novaflash » Thu May 03, 2018 12:35 pm

Holy crap man, you're reviving a 4 year old thread from the dead.

Anyways check bottom of this page:
https://docs.openvpn.net/command-line/m ... g_settings
I'm still alive, just posting under the openvpn_inc alias now as part of a larger group.

Post Reply