Universal Firewall (UFW)
Turn on Universal Firewall (UFW)
These steps will enable Universal Firewall and allow ports for Geth and Lighthouse
Deny incoming traffic:
sudo ufw default deny incomingAllow outgoing traffic:
sudo ufw default allow outgoingAllow Go Ethereum on port 30303
sudo ufw allow 30303Allow Lighthouse on port 9000
sudo ufw allow 9000Enable UFW
sudo ufw enableShow UFW Status
sudo ufw status numberedIt should look something like this:

Last updated
Was this helpful?