Keeping your VPN client details up-to-date on your Ubiquiti Dream Machine Pro (UDM-Pro) ensures a secure and stable connection. This guide will walk you through the steps to update your VPN client on the UDM-Pro using OpenVPN and WireGuard configuration details from TorGuard.
Prerequisites
- TorGuard account with generated OpenVPN or WireGuard configuration files.
- Ubiquiti Dream Machine Pro.
- Access to the UniFi Network Controller.
Updating UDM-Pro with OpenVPN Configuration
Step 1: Retrieve OpenVPN Configuration from TorGuard
1. Log in to Your TorGuard Account
- Visit TorGuard's website
- Click on "My Account" and log in with your credentials.
2. Generate OpenVPN Configuration
- Navigate to "Tools" > "OpenVPN Config Generator."
- Select your desired server location, protocol (TCP or UDP), and port.
- Click "Generate Config" and download the .ovpn file.
Step 2: Access UniFi Network Controller
1. Open your web browser and navigate to the UniFi Network Controller interface.
2. Log in with your UniFi credentials.
Step 3: Update OpenVPN Configuration
1. In the UniFi Network Controller, go to "Settings."
2. Select "Networks" from the sidebar menu.
3. Click on "Create New Network" or edit an existing VPN network.
4. Choose "VPN" as the network type.
5. Select "OpenVPN" as the VPN type.
6. Upload the .ovpn file you downloaded from TorGuard.
7. Enter your TorGuard username and password.
8. Save the configuration and apply changes.
Updating UDM-Pro with WireGuard Configuration
Step 1: Retrieve WireGuard Configuration from TorGuard
1. Log in to Your TorGuard Account**
- Visit TorGuard's website
- Click on "My Account" and log in with your credentials.
2. Generate WireGuard Configuration**
- Navigate to "Tools" > "WireGuard Config Generator."
- Select your desired server location and enter your public key.
- Click "Generate Config" and download the .conf file.
Step 2: Access UniFi Network Controller
1. Open your web browser and navigate to the UniFi Network Controller interface.
2. Log in with your UniFi credentials.
Step 3: Update WireGuard Configuration
1. In the UniFi Network Controller, go to "Settings."
2. Select "Networks" from the sidebar menu.
3. Click on "Create New Network" or edit an existing VPN network.
4. Choose "VPN" as the network type.
5. Select "WireGuard" as the VPN type.
6. Upload the .conf file you downloaded from TorGuard.
7. Enter your TorGuard username and password.
8. Save the configuration and apply changes.
Finding the Port for Your Dedicated Server
If you have a dedicated server with TorGuard, you might need to specify the port in your VPN configuration.
1. Log in to Your TorGuard Account
- Visit TorGuard's website
- Click on "My Account" and log in with your credentials.
2. Navigate to Dedicated Servers
- Go to "Dedicated IP/Servers" > "Manage Dedicated IP."
- Find your dedicated server and note the port number listed.
3. Update Port Information in UniFi Network Controller
- In the UniFi Network Controller, edit the VPN configuration.
- Specify the noted port number in the appropriate field.
Additional Tips
- Backup Configuration Files: Always keep a backup of your VPN configuration files in a secure location.
- Regular Updates: Periodically check for updates to your VPN configurations and UDM-Pro firmware for the best performance and security.
- Contact Support: If you encounter any issues, drop us a WhatsApp and we will be able to help.
By following these steps, you can keep your UDM-Pro VPN client updated with the latest TorGuard configuration details, ensuring a secure and reliable VPN connection.
For more detailed information and troubleshooting, visit [Ubiquiti's Support Page](https://help.ui.com/hc/en-us).