I am running MacOS Mojave. I am wondering if there is an easy way to block an IP address.
For example, I can
ping 184.108.40.206 and
telnet 220.127.116.11 53. Now, I want to block all access to 18.104.22.168. so ping and telnet should both fail.
Btw, I’m not looking to use dns to this host. I can block it easily in
/etc/hosts file but not all apps and services respect dns and hosts override. I’m looking for a non DNS block to implement.