Firewall
-
Install
ufw:sudo apt install -y ufw -
Allow SSH before enabling the firewall — reversing this order can lock you out:
sudo ufw allow 22/tcpsudo ufw allow from 10.0.0.0/24 to any port 8080tipAdjust
10.0.0.0/24to match your actual LAN subnet. Add the extra FIBER Lite ports too if you installed its full stack:sudo ufw allow from 10.0.0.0/24 to any port 80sudo ufw allow from 10.0.0.0/24 to any port 1880sudo ufw allow from 10.0.0.0/24 to any port 8086sudo ufw allow from 10.0.0.0/24 to any port 3000 -
Enable the firewall:
sudo ufw enable -
Immediately verify SSH and all web UIs are still reachable from another machine on the LAN before disconnecting.