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...
Linux cloud server configuration
-
- OpenVpn Newbie
- Posts: 1
- Joined: Thu Jan 25, 2024 3:56 pm
- openvpn_inc
- OpenVPN Inc.
- Posts: 1333
- Joined: Tue Feb 16, 2021 10:41 am
Re: Linux cloud server configuration
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
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
OpenVPN Inc.
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support