One-page interactive complete guide to configurate and operate Lighthouse client.
Disclaimer
This guide is for informational purposes only. The author nor website owner does not guarantee accuracy of the information in this guide and is not responsible for any damages or losses incurred by following the guide.
Lighthouse client can be used for staking on various supported chains. Client installation is always only one, used by services with an individual configuration (different service name, data path and ports in use).
Install Lighthouse client
Find the latest stable version of Lighthouse on Github
Each service on the server needs a custom port for communication. Through ports, consensus client communicates with
other peers in the network as well as other services running on the server, such as validator clients. There is an
IPv4 and IPv6 variant, depending on the ISP support / preference. Each protocol version needs custom port. If you
are not sure what to select, continue with default IPv4 port.
Configurate public IPv4 port for P2P communication with other peers
:
Verify availability of selected port 9000
ss -tuln | grep ':9000'
If it returns empty response, the port 9000 is free and can be used.
Enable traffic on the port through UFW
$ sudo ufw allow 9000
Disable IPv6 traffic on the port
List allowed ports
sudo ufw status numbered
Find order number for V6, see 9000 (V6) and
remove it with the following line
sudo ufw delete <Number>
QUIC IPv4 port
:
Verify availability of selected port 9001
ss -tuln | grep ':9001'
If it returns empty response, the port 9001 is free and can be used.
Beacon API port for internal communication
:
Verify availability of selected port 5052
ss -tuln | grep ':5052'
If it returns empty response, the port 5052 is free and can be used.
Configurate public IPv6 port for P2P communication with other peers
:
Verify availability of selected port 9090
ss -tuln | grep ':9090'
If it returns empty response, the port 9090 is free and can be used.
Enable traffic on the port through UFW
$ sudo ufw allow 9090
Disable IPv6 traffic on the port
List allowed ports
sudo ufw status numbered
Find order number for V6, see 9090 and
remove it with the following line
sudo ufw delete <Number>
QUIC IPv6 port
:
Verify availability of selected port 9091
ss -tuln | grep ':9091'
If it returns empty response, the port 9091 is free and can be used.
Create configuration file for Lighthouse Beacon service
Create ~/exit/keystore-password.txt file with keystores password. It's the passowrd selected during validator keys generation. The passowrd can be also found at validator_definitions.yml file, see