Turn on Universal Firewall (UFW)
These steps will enable Universal Firewall and allow ports for Geth and Lighthouse
Allow Go Ethereum on port 30303
Allow Lighthouse on port 9000
Enable UFW
Show UFW Status
sudo ufw status numbered
It should look something like this: