Run a relay
We currently only support running relays using the CLI version. Relays should be run on machines with public IP addresses.
Relays and clients nodes use the same earendil
executable. The defining difference is in their config file: relay configs have a relay_config
section that specifies identity_file
(to store the relay's long-term identity) and in_routes
(where and how to accept incoming connections), while client configs do not.
To run a relay, save this config file into a file named relay-cfg.yaml
. Be sure to replace "/your/path/` with an appropriate path:
You can learn about paying and getting paid on the Earendil network, as well as the price_config
here.
Start the earendil
daemon using this relay config:
While the earendil
daemon is running, obtain your relay's contact information for other nodes to connect with you as a neighbor with the control command my-routes
:
The output should look like:
Replace <YOUR_IP>
with your server's public IP address. Other nodes (both clients and relays) can simply paste this block into the out_routes
section of their config file to add your relay as a neighbor.
To serve users in regions with internet censorship, you should avoid posting your relay's contact information publicly. Instead, distribute it in a way that reaches legitimate users but not censors--your relay will be blacklisted if the censor learns its IP address!
Last updated