I broke the VPN server webgui

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
ronr
OpenVpn Newbie
Posts: 1
Joined: Thu Feb 11, 2021 6:01 pm

I broke the VPN server webgui

Post by ronr » Thu Feb 11, 2021 6:03 pm

Via the webGUI I clicked on having the non-admin webpage be available via the same IP but port 443 and now neither the vpn admin or non-admin web pages will come up.

Site can't be reached is all I'm getting.

Any thoughts?

User avatar
openvpn_inc
OpenVPN Inc.
Posts: 1333
Joined: Tue Feb 16, 2021 10:41 am

Re: I broke the VPN server webgui

Post by openvpn_inc » Tue Feb 16, 2021 12:26 pm

Hello,

I am not sure of any other settings you might have, but in general, I would recommend to run the reset commands to set the ports of all Access Server services back to their defaults. That should ensure things will be up and running again.

From our documentation at: https://openvpn.net/vpn-server-resource ... o_defaults

You can run these commands as root user on your Access Server:
cd /usr/local/openvpn_as/scripts/
./sacli --key "admin_ui.https.ip_address" --value "all" ConfigPut
./sacli --key "admin_ui.https.port" --value "943" ConfigPut
./sacli --key "cs.https.ip_address" --value "all" ConfigPut
./sacli --key "cs.https.port" --value "943" ConfigPut
./sacli --key "vpn.server.port_share.enable" --value "true" ConfigPut
./sacli --key "vpn.server.port_share.service" --value "admin+client" ConfigPut
./sacli --key "vpn.daemon.0.server.ip_address" --value "all" ConfigPut
./sacli --key "vpn.daemon.0.listen.ip_address" --value "all" ConfigPut
./sacli --key "vpn.server.daemon.udp.port" --value "1194" ConfigPut
./sacli --key "vpn.server.daemon.tcp.port" --value "443" ConfigPut
./sacli start

As you can see from the commands above, it just resets things so that all services are listening on their default ports on all interfaces again, which is usually what most people start out with. You can then try again to configure things as you wish.

Kind regards,
Johan
Image OpenVPN Inc.
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support

Post Reply