Con un firewall gli blocchi la destinazione. Esempio:

iptables -I OUTPUT 1 -p tcp --dport 80 -d xxx.xxx.xxx.xxx -j DROP