For the complete documentation index, see llms.txt. This page is also available as Markdown.

What is LAN routing?

LAN routing enables direct peer-to-peer communication over local or private network paths when available.

Netclient automatically detects whether two peers can reach each other via LAN (e.g., same subnet or VPC). If so, it prioritizes internal IP addresses instead of routing traffic through external (public) endpoints.

This is especially useful in cloud environments, where peers within the same VPC can communicate using private IPs without traversing the public internet.


Benefits of LAN Routing

  • Reduced latency Traffic remains within the local or cloud provider’s internal network, improving performance and responsiveness.

  • Cost optimization Avoids outbound data transfer charges imposed by cloud providers for public internet traffic.

  • Improved security Minimizes exposure to the public internet, reducing the attack surface and enhancing overall network security.

How to Enable LAN Routing

  1. Log in to the Netmaker dashboard.

  2. Navigate to Settings from the left sidebar.

  3. Select System Configuration.

  4. Enable the LAN Routing toggle.

To ensure proper functionality, keep the TCP port of your host's listening port open for endpoint detection. Once this port is enabled, NetClient can identify the most suitable internal IP addresses for peers within the Netmaker network to connect. Utilizing private IPs enhances communication speed and security.

Last updated

Was this helpful?