Page 1 of 1

Import from URL

Posted: Mon May 22, 2023 1:50 am
by kushalroger
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?

Re: Import from URL

Posted: Tue Jul 25, 2023 9:53 am
by openvpn_inc
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