`sudo iptables -A OUTPUT -d 1.2.3.4 -j DROP` where `1.2.3.4` is the ip address you want to block out

sudo iptables -A OUTPUT -d 1.2.3.4 -j DROP where 1.2.3.4 is the ip address you want to block outgoing connections to
Was this page helpful?