Question

Openvpn Access server not working

Today i setup a Debian 8 vps and installed the openvpnas onto it, When I go to https://my-ip:943/admin it doesnt work it just says err connection refused?

please help

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Re-run the manual config /usr/local/openvpn_as/bin/ovpn-init and when you get to the part that asks you which network make sure you choose All Interfaces:

Please specify the network interface and IP address to be
used by the Admin Web UI:
(1) all interfaces: 0.0.0.0

… Its defaulting to a different interface, this solved the problem for me.

Found a fix, run:

sudo /usr/local/openvpn_as/bin/ovpn-init

When you get to the section:

Please specify the network interface and IP address to be used by the Admin Web UI: (1) all interfaces: 0.0.0.0 (2) eth0: YOURPUBLICIP (3) eth0: 10.10.0.8

Make sure you select all interfaces, for some reason it defaults to 2, which makes it not public. Works for me now.

Agree with the other answers. The working directory for open vpn on the rpm is “/usr/local/openvpn_as”, and in it is the install script:

/usr/local/openvpn_as/bin/ovpn-init However, I found that when the scripts asks to DELETE the old configuration, you should answer yes. Modifying the config seemed not to work in the latest version.