PreviousWhat is Managed Endpoint and What Can I Use it For?NextEgress route conflict with local network route
Last updated
Was this helpful?
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.
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.
Log in to the Netmaker dashboard.
Navigate to Settings from the left sidebar.
Select System Configuration.
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?
Was this helpful?