Skip to main content
All CollectionsNetmaker Server
What are Static Hosts in Netmaker?
What are Static Hosts in Netmaker?
M
Written by Majid Chebil
Updated over 2 months ago

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:

  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 Host: If you haven't already added your host, you'll need to do so. Click on "Add Hosts".

  4. Click on the Host: Once your host is added, click on the host to access its settings.

  5. Edit Host Settings: In the host settings, select "Edit" option to edit or modify the configuration.

  6. Go to Global Host Settings: Navigate to the Global Host settings

  7. Enable Static Endpoint: Turn on the option for the static endpoint, select your static IP, and save the change by clicking on "Update Host."

  8. Check Connectivity: After setting up the static endpoint, ensure that the host can connect properly and is reachable using the static IP.

Did this answer your question?