Import from URL

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
kushalroger
OpenVpn Newbie
Posts: 1
Joined: Mon May 22, 2023 1:19 am

Import from URL

Post by kushalroger » Mon May 22, 2023 1:50 am

Hello i have a OpenVpn server hosted on Pfsense and it is working fine. i put the config on my phone and then open it through OpenVpn Connect and it connects and works but i want to use the Import from URL option. can some one please show me how to set this up?
right now when i go to import from url. i put this ip 192.168.4.1 then it asks me to type the un and pass and after that i get the error saying "Failed to import profile incorrect response from server" what do i need to do on the server side?

User avatar
openvpn_inc
OpenVPN Inc.
Posts: 1332
Joined: Tue Feb 16, 2021 10:41 am

Re: Import from URL

Post by openvpn_inc » Tue Jul 25, 2023 9:53 am

Hello kushalroger,

Import from URL requires that the server implements a REST API to do authentication and provide the correct configuration file to the user. OpenVPN Access Server for example implements this API. OpenVPN GUI open source client also supports this import process, the API is documented publicly.

You can't import directly from just a straight URL like https://yourserver.com/filehere.ovpn - that would be unsafe and also does not allow multiple different profiles to be imported based on your user credentials.

In your case you'd open the URL in a web browser, save the file, and then do import from file.

Kind regards,
Johan
Image 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

Post Reply