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 incoming

Allow outgoing traffic:

sudo ufw default allow outgoing

Allow Go Ethereum on port 30303

sudo ufw allow 30303

Allow Lighthouse on port 9000

sudo ufw allow 9000

Enable UFW

sudo ufw enable

Show UFW Status

sudo ufw status numbered

It should look something like this:

Once you've confirmed the firewall is active, you can proceed to Geth installation

Last updated