Page 1 of 1
Port sharing on Access Server
Posted: Wed Apr 09, 2014 8:04 pm
by hursey013
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
Re: Port sharing on Access Server
Posted: Thu Apr 10, 2014 5:49 am
by anthonysomerset
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
Re: Port sharing on Access Server
Posted: Thu Apr 10, 2014 8:44 pm
by hursey013
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.
Re: Port sharing on Access Server
Posted: Thu May 03, 2018 12:13 pm
by dg1sek
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?
Re: Port sharing on Access Server
Posted: Thu May 03, 2018 12:35 pm
by novaflash
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