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

11 comments

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.

×
8 answers

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.

can you somebody help me. I install CentOS 6.7 but openvpn dosn’t work.

Its weird!! For me

After doing

“/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.”

The URL with the port number just wasn’t working for me, but when I removed the port number it just loaded the login page !!!

@ahj2134 senin daşşanı yerim

thank you so much !!!

hello

yum install openvpn -y
is not working ?!

Submit an Answer