using ufw to block outgoing traffic to website

Tags:

Answer: 1

16 hours ago

I want to block traffic to a specific domain e.g. mysite.com. I tried blocking the ip address of the site but it does not work:

ufw deny from 0.0.0.0 to ip_address_of_site

I am still able to acess the website, even after a reboot.

Any idea what I might be doing wrong?

Added by: Darius Bergnaum

Answer: 2

19 hours ago

It will be:

sudo ufw deny out from any to _ipaddress_

Popular Search

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 1 2 3 4 5 6 7 8 9