This Python 3 script utilizes the NordVPN API to gather all IKEv2 servers, creating .mobileconfig files with your specified credentials for Apple devices, including Apple TV. Additionally, it installs the NordVPN Root CA on your device.
The inspiration for this script came from artembrening's PowerShell implementation.
-
Visit NordVPN Manual Configuration and retrieve your service username and password.
-
Run the Python 3 script:
python nordvpn_apple_ikev2_profiles_generator.py
-
Enter your service username and password when prompted.
-
Enter your preferred output directory when prompted (defaults to ./profiles).
-
Wait for the script to finish, then copy the necessary VPN .mobileconfig files to your Apple device.
-
Download "Apple Configurator" from the App Store on your Mac.
-
Run "Apple Configurator" and choose "Paired Devices" in the top navigation bar.
-
On your Apple TV, navigate to Settings > Remotes and Devices > Remote-App and Devices.
-
If the devices are on the same network, pair your Apple TV with your Mac using the 6-digit code.
-
Once paired, click "Add" > "Profiles" and select all .mobileconfig files for the specific VPN connections you desire.
-
Install the profiles on your Apple TV.
If you encounter issues, have suggestions, or want to provide feedback, please open an issue on the GitHub repository. Clearly describe the problem or suggestion, and include relevant details such as operating system, Python version, etc. Your feedback is valuable and helps improve the script for everyone!