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?
I broke the VPN server webgui
- openvpn_inc
- OpenVPN Inc.
- Posts: 1333
- Joined: Tue Feb 16, 2021 10:41 am
Re: I broke the VPN server webgui
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
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
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
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