In this guide, we’ll walk you through setting a static IP for your device in Netmaker. A static IP offers several advantages, including improved network stability and easier management. When you set your device as static, the Netclient will ignore UDP hole punching—a technique used to establish direct connections between devices behind firewalls or NAT—and instead broadcast the static IP as its public endpoint.
This ensures consistent connectivity, but it's crucial to confirm that the static IP matches your device's current public IP to avoid any connection issues.
Make sure the static IP you configure is the device's actual public IP. If it does not match, connections may fail.
To set a static endpoint on your device using Netmaker, follow these steps:
1
Log into Netmaker
Access your Netmaker dashboard.
2
Select your network
Choose the network where you want to set the static endpoint.
3
Add a new Device
If you haven't already added your device, add it by clicking "Add Device".
4
Open the device
Once your device is added, click on the device to access its settings.
5
Edit device settings
In the device settings, select the Edit option to modify the configuration.
Edit device settings
6
Go to Global Device settings
Navigate to the Global Device settings.
Global Device settings
7
Enable static endpoint
Turn on the option for the static endpoint, select your static IP, and save the change by clicking "Update Device".
Enable static endpoint
8
Check connectivity
After setting up the static endpoint, ensure that the device can connect properly and is reachable using the static IP.