Openvpn Access server not working

November 10, 2015 21.5k views
Debian VPN Deployment

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
9 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 ?!

Have another answer? Share your knowledge.

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