Introduction
In this guide, we’ll walk you through setting a static IP for your host in Netmaker. A static IP offers several advantages, including improved network stability and easier management. When you set your host 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 host's current public IP to avoid any connection issues. Let’s get started!
To set a static endpoint on your host using Netmaker, follow these steps:
Log into Netmaker: Access your Netmaker dashboard.
Select Your Network: Choose the network where you want to set the static endpoint.
Add a New Host: If you haven't already added your host, you'll need to do so. Click on "Add Hosts".
Click on the Host: Once your host is added, click on the host to access its settings.
Edit Host Settings: In the host settings, select "Edit" option to edit or modify the configuration.
Go to Global Host Settings: Navigate to the Global Host settings
Enable Static Endpoint: Turn on the option for the static endpoint, select your static IP, and save the change by clicking on "Update Host."
Check Connectivity: After setting up the static endpoint, ensure that the host can connect properly and is reachable using the static IP.