TriSzSU
By:
TriSzSU

Openvpn Access server not working

November 10, 2015 7.9k views
VPN Deployment Debian

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
  • Same problem here.

    Also tested on Ubuntu 14.04 and 12.04 LTS.

    Try running /usr/local/openvpn_as/bin/ovpn-init to force the configuration. Other than that, it looks like the port is open and functioning correctly.

  • Doesnt work :/

  • I'm also getting the same error with openvpn-as-2.0.21 on both Ubuntu 14.04 LTS and Debian 8.2 (32-bit editions). The firewall was definitely inactive so that's not the problem.

  • Not working on CentOS 6.7 either.

  • I built an OpenVPN AS server around a year ago. I took a snapshot when I had the configuration the way I wanted it and have been spinning up new droplets based on the image since then. About a month or so ago, it stopped working. It looks like traffic is being blocked somewhere along the way.

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

  • I'm having the same problem on a new 14.04 x64 apt-get updated/upgraded to 3.13.0-71-generic on NYC3, anyone has found a solution or a tech support response? I just submitted a ticket.

  • HELP: been trying for hours and it doesnt work!
    latest version of openvpn-as with centos7 fully updated.

    does digital ocean experience network problems??

  • Support guy suggested to not choose to bind to either ip's during setup but to choose for binding to all ports.

    this indeed did do the trick.

    (to rerun the configuration script run ovpn-init again)

  • Anyone found the solution?

  • nope...me too..same problem

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

Have another answer? Share your knowledge.