To make importing .ovpn files easier, I choose to use a method from private internet access https://www.privateinternetaccess.com/pages/openvpn-ios where config files is hosted on a server and have links pointing to it, when the links are opened using safari iOS, it checks to see if openvpn conect is installed and if yes, the config is imported.
I tried to follow the same method but the .ovpn files just opens in plain text, tried couple fix I found online includng modifying htaccess file on the server, but still opens config as text on ioS.
Any advice?
Importing .ovpn to Openvpn connect - issue
-
- OpenVpn Newbie
- Posts: 1
- Joined: Tue Apr 04, 2017 8:34 pm
-
- OpenVpn Newbie
- Posts: 1
- Joined: Mon Apr 10, 2017 2:27 pm
Re: Importing .ovpn to Openvpn connect - issue
Hi vroispn,
I've run into this too, if I try and download the .ovpn profile in Safari. I have gotten around this by e-mailing the .ovpn file, then opening the attachment from the e-mail. This will trigger the import into OpenVPN.
NckCmptr
I've run into this too, if I try and download the .ovpn profile in Safari. I have gotten around this by e-mailing the .ovpn file, then opening the attachment from the e-mail. This will trigger the import into OpenVPN.
NckCmptr
-
- OpenVpn Newbie
- Posts: 11
- Joined: Tue Jul 11, 2023 1:29 pm
Re: Importing .ovpn to Openvpn connect - issue
Set the "Content-Disposition" header in your server's response for the .ovpn file to "attachment". This can prompt the browser to treat the file as an attachment and initiate the file download.