Block Sites in Ubuntu
Block Sites in Ubuntu
Block Sites in Ubuntu
You should now see --INSERT-- at the bottom of the screen. Then, cut and paste this code:
127.0.0.1 siteyouwanttoblock.com
ufw status
Status: inactive
ufw enable
ufw disable
Output
Output
Outgoing
ufw status
Source: https://linoxide.com/linux-how-to/setup-ufw-ubuntu/