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?
Import from URL
- openvpn_inc
- OpenVPN Inc.
- Posts: 1295
- Joined: Tue Feb 16, 2021 10:41 am
Re: Import from URL
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
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

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