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.
Nethermind 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).
Change the default ports below if you are going to stake on more chains simultaneously (e.g. Ethereum and Gnosis
at once) on the same machine. If you are going to stake only, you can keep the default ports. If you are
changing the default ports, be sure that the newly selected port is not already in used. A port in used may be
checked with following code:
ss -tuln | grep ':PORT'
If it returns empty response, the port is free and can be used.
To allow execution client synchronization, there's need to enable port 30303 reserved for P2P traffic to TCP (allows the node to connect to peers) and UDP (allows node discovery). It may be done with following UFW setup:
$ sudo ufw allow 30303
Use this option only if you need operate execution client and beacon client on different machines.
Enable port 30303 for P2P traffic
To allow execution client synchronization, there's need to enable port 30303 reserved for P2P traffic to TCP (allows the node to connect to peers) and UDP (allows node discovery). It may be done with following UFW setup:
$ sudo ufw allow 30303
Enable port 8551 for IP of your second machine
sudo ufw allow from 192.168.88.0/27 to any port 8551
Note: Be sure you use proper IP of your second machine / proper local network configuration.
Create configuration file for Nethermind service
Open Nethermind configuration file
sudo nano /etc/systemd/system/nethermind.service
Copy the configuration below into the file. If needed, check flags documentation.