TransWikia.com

OpenVPN Install: Can't access to Client UI page

Server Fault Asked by The One on October 2, 2020

After installing open vpn successfully, i tested by accessing to Client UI but it said ERR_CONNECTION_TIMED_OUT. Is there any ways to fix it?
@Information: I’m running CentOS 7 on Amazon EC2 instance.
I turned off selinux and checked if openvpn is running or not.

[root@ip-10-0-7-48 tmp]# netstat -ntlp | grep 'openvpn'

tcp 0 0 10.0.7.48:443 0.0.0.0:* LISTEN 2023/openvpn-openss

One Answer

After manual installing the on the OPENVPN on CentOS7, I Found that there is the due to mismatch in IP configuration.

Please reinit openvpn configuration as follow :

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

Please answer the questions by the script.

Note from this : lease specify the network interface and IP address to be
used by the Admin Web UI:
(1) all interfaces: 0.0.0.0
(2) enp0s3: 10.0.2.15
(3) enp0s8: 192.168.56.101
Please enter the option number from the list above (1-3).
 Press Enter for default [2]: 1

Ensure press 1, to let OpenVPN listen on all interfaces. Due to the problem that Amazon EC2 use NAT in which there are only private IP on Servers.

Hope this help.

Answered by Summer Nguyen on October 2, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP