Skip to content

Self-Hosted Public Server

Users can use their own public IP nodes to host a public server for mesh networking without a public IP, making it convenient for other users without public IPs to form networks.

To start EasyTier as a public server, simply launch easytier-core without any parameters (no root permissions required):

easytier-core

By default, every node of EasyTier is capable of providing forwarding services for other virtual networks, even if the node has specified a --network-name and --network-secret and has joined a virtual network.

If you wish to change this behavior, you can use the --relay-network-whitelist parameter to define a whitelist of network names (a space-separated list of wildcard patterns, e.g., "ab* abc"). When the list for this parameter is empty, the node will not provide forwarding services for all other networks.

EasyTier can be configured not to forward packets from other virtual networks but instead help establish P2P connections by leaving the whitelist empty and setting it to only forward RPC traffic. The reference command is:

easytier-core --relay-network-whitelist --relay-all-peer-rpc

Released under the Apache License 2.0.