There was a great post by u/10minsaccount a year ago that includes instructions on how to create an IKEv2 profile that adds a ProtonVPN configuration to iPhone.
The need for this was largely superseded by the official app, and my work on a web-based mobile configuration tool was also abandoned.
There are a few reasons you might prefer this over the official app. I have noticed there is better persistency with these profiles and the connection is less likely to just drop and stay disconnected.
The original instructions are now dated with changes to iOS, a dead link, and u/ProtonVPN has issued a new certificate so these are the revamped instructions.
Proceed with caution - there be dragons!
Step 1
a) On your iPhone, you will need to install ProtonVPN’s official certificate.
b) In Safari, open https://protonvpn.com/download/ProtonVPN_ike_root.der
c) Select ‘Allow’ and ‘iPhone’.
d) Go to iPhone > Settings > Profile Downloaded (at the top) > Install.
Step 2
e) On a PC/Mac copy the below code into notepad/textedit found here: https://0bin.net/paste/gwTMS3JO0QuYDtd7#Et6or6ohXK6Wf41kBcx-N3QUQU8Zmeh/FwFsqHStx1g
f) Make the following changes, best just Find or Replace All.
-
Change USERNAME to your OpenVPN username found in your dashboard.
-
Change PASSWORD to your OpenVPN password found in your dashboard.
-
Change IPADDRESS to the IP address of your preferred server.
g) Save that file as anything.mobileconfig and email/Airdrop it to your iPhone.
h) Open that configuration profile in iPhone > Settings > General > Profiles.
i) To remove at anytime, simply delete the profiles in iPhone > Settings > General > Profiles.
There is no simple way to switch servers once you do this but you can use it in conjunction with the official app - just disable the one you’re not using.
Personally, I have emailed myself a few different configuration files and I install them as I need to swap. It takes no longer than changing the server in the app and ProtonVPN seems to randomly take servers offline without any notice.
This has the ‘Always-on VPN’ configured and seems to have better persistency than the app does too.
There are some other settings available in the linked XML code, such as split-tunnelling, that I haven’t included.
Please reply below if you have questions. I can not provide 1:1 support via private message.
^This ^was ^posted ^by ^a ^human ^on ^a ^shared ^reddit ^account ^r/sydney_user ^that ^is ^accessed ^by ^a ^small ^group ^of ^Australian ^privacy ^enthusiasts. ^We ^share ^this ^account ^to ^defeat ^stylometry ^attacks. ^PM ^for ^more ^details.