Page 1 of 1

Linux cloud server configuration

Posted: Thu Jan 25, 2024 3:57 pm
by uutturn
I'm using a cloud provider that doesn't have native OpenVPN image. When I install OpenVPN following this link: https://as-portal.openvpn.com/instructi ... stallation, I found that the connection always direct my traffic to the private IP address instead of its public address, from the client software.

The server's public IP: 118.x.x.x

Its private IP: 172.29.41.93

Log on my client:

[Jan 12, 2024, 23:51:44] Connecting to [172.29.41.93]:1194 (172.29.41.93) via UDP
[Jan 12, 2024, 23:51:47] EVENT: CONNECTION_TIMEOUT BYTES_OUT : 20748
PACKETS_OUT : 52
CONNECTION_TIMEOUT : 1
N_RECONNECT : 14
[Jan 12, 2024, 23:51:47] EVENT: DISCONNECTED

Doing research I found no clue how to solve this, and I'm not an expert in networking...

Re: Linux cloud server configuration

Posted: Mon Feb 05, 2024 5:19 pm
by openvpn_inc
Hello uutturn,

You can configure where your Access Server can be reached, either by public DNS or public IP for use for incoming VPN connections, at least as far as the configuration goes for Access Server and the VPN clients. This must be done on the Admin UI under Network Settings, in the Hostname or IP address field.

On the cloud provider itself you may need to open ports to get the traffic to come in correctly, that part is not covered in our documentation.

Kind regards,
Johan