I need for a given time period to put a speedbump against my tendency to be distracted by ad hoc web searches while working. I don't want to block LAN traffic because I keep a git server on one of my LAN hosts.
One implementation might be to install a firewall rule with an expiry time or time-to-live. I have UFW. There will be other solutions I'm sure.