Ubuntu 14.4 and openvpn as -- Gui not accessible

October 16, 2015 5.5k views
VPN Ubuntu

After installing openvpn access server on an Ubuntu 14.4 droplet, I am unable to access the Gui. My browser is unable to access the site. Does anyone have an idea what the issue is. I had done this several times before with an earlier version of openvpn access server with no issues.

12 comments
  • I also have the same problem.

  • Check the port the AS web server is listening on and verify that your firewall is working. ufw can break after upgrades.

  • The problem is not in the firewall

  • Can you post the output of the following command?

    sudo netstat -plutn
    
  • ubi@serv:~# sudo netstat -plutn
    Active Internet connections (only servers)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 127.0.0.1:908 0.0.0.0:* LISTEN 752/python
    tcp 0 0 127.0.0.1:909 0.0.0.0:* LISTEN 752/python
    tcp 0 0 10.17.0.6:943 0.0.0.0:* LISTEN 752/python
    tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 427/rpcbind
    tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 546/sshd
    tcp 0 0 0.0.0.0:47737 0.0.0.0:* LISTEN 436/rpc.statd
    tcp 0 0 10.17.0.6:443 0.0.0.0:* LISTEN 780/openvpn-openssl
    tcp 0 0 127.0.0.1:904 0.0.0.0:* LISTEN 752/python
    tcp 0 0 127.0.0.1:905 0.0.0.0:* LISTEN 752/python
    tcp 0 0 127.0.0.1:906 0.0.0.0:* LISTEN 752/python
    tcp 0 0 127.0.0.1:907 0.0.0.0:* LISTEN 752/python
    tcp6 0 0 :::111 :::* LISTEN 427/rpcbind
    tcp6 0 0 :::37714 :::* LISTEN 436/rpc.statd
    tcp6 0 0 :::22 :::* LISTEN 546/sshd
    udp 0 0 10.17.0.6:1194 0.0.0.0:* 792/openvpn-openssl
    udp 0 0 0.0.0.0:55887 0.0.0.0:* 436/rpc.statd
    udp 0 0 0.0.0.0:602 0.0.0.0:* 427/rpcbind
    udp 0 0 127.0.0.1:613 0.0.0.0:* 436/rpc.statd
    udp 0 0 0.0.0.0:111 0.0.0.0:* 427/rpcbind
    udp6 0 0 :::42943 :::* 436/rpc.statd
    udp6 0 0 :::602 :::* 427/rpcbind
    udp6 0 0 :::111 :::* 427/rpcbind

  • Same problem, worked on a droplet I set up last week but made a new one today and it no longer connects. Can still SSH into the droplet and if I install Apache2 I can access the default page on port 80 so doesn't look like a firewall issue.

    Active Internet connections (only servers)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 871/sshd
    tcp 0 0 10.10.0.8:443 0.0.0.0:* LISTEN 1055/openvpn-openss
    tcp 0 0 127.0.0.1:904 0.0.0.0:* LISTEN 1020/python
    tcp 0 0 127.0.0.1:905 0.0.0.0:* LISTEN 1020/python
    tcp 0 0 127.0.0.1:906 0.0.0.0:* LISTEN 1020/python
    tcp 0 0 127.0.0.1:907 0.0.0.0:* LISTEN 1020/python
    tcp 0 0 127.0.0.1:908 0.0.0.0:* LISTEN 1020/python
    tcp 0 0 127.0.0.1:909 0.0.0.0:* LISTEN 1020/python
    tcp 0 0 10.10.0.8:943 0.0.0.0:* LISTEN 1020/python
    tcp6 0 0 :::22 :::* LISTEN 871/sshd
    udp 0 0 10.10.0.8:1194 0.0.0.0:* 1067/openvpn-openss

  • 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.

  • ryanb93, Big thanks for help!!!

  • Thanks ryanb93. I have been struggling for days

  • Thanks, it's work for me to. ryanb93

  • Thanks ryanb93! But what changed? Why it worked, at least until 09.10.2015 for me, and then something changed, and brokened.. Anybody know? understand what it can be?

  • I used Debian 8.1 instead of Ubuntu and the result is the same - can't access the web UI.

2 Answers

New to DigitalOcean and VPS in general, but this help me get my OPENVPN working.

Thanks

ryanb93:

Your Tip was most helpful so i ask the support 4-5 times but i get never be this note.

Thanks for that. Im a beginner and i try it the last 2 days ;)

Friendly Regards

Have another answer? Share your knowledge.