Use hosts file on your Mac to filter net traffic

Old trick. But still very useful. Won’t be long before OS will start limiting these, then we will have to all switch to linux. 🙂

Stop some software from calling home, use it to filter ads, or just to redirect or misdirect certain sites.

Just open up Terminal and type:

sudo pico /etc/hosts

then just edit or add more lines to it. is your own machine. So “” will mean mapping to your own machine. Unless you have your own web server running, that would mean blocking Or point it to another IP address, so you can redirect to another site. Silly trick.

Checkout the follow repos and links: