Hacker News new | ask | show | jobs
by liberia 1430 days ago
What tool or command do you use to do that?
1 comments

iptables. I just run

   $ sudo iptables -A OUTPUT -p tcp --dport 443 -j REJECT
   $ sudo iptables -A OUTPUT -p tcp --dport 80 -j REJECT
To block it, and

   $ sudo iptables --flush
to reset.