sudo ufw allow from 192.168.1.0/24
Category: Self-Hosting
sudo ufw allow from 192.168.1.0/24
Allow all traffic from your local network subnet — useful for internal-only admin interfaces
Allows all traffic from a private LAN subnet. Use this to grant access to admin panels only from your home network.