DEV Community

n1nj4
n1nj4

Posted on

encrypt dns/tor [devuan linux]

install tor script

git clone https://github.com/keeganjk/kali-anonymous
cd kali-anonymous
Enter fullscreen mode Exit fullscreen mode
chmod +x setup
sudo ./setup
Enter fullscreen mode Exit fullscreen mode
sudo apt install psmisc virt-what bleachbit
Enter fullscreen mode Exit fullscreen mode

let’s encrypt dns with forked dnscrypt-proxy/tor for devuan

sudo apt install dnscrypt-proxy
sudo nano /etc/dnscrypt-proxy/dnscrypt-proxy.toml
Enter fullscreen mode Exit fullscreen mode

modify for tor resolvers
listen_addresses = [‘127.0.2.1:53’]

echo “nameserver 127.0.0.1” | sudo tee /etc/resolv.conf
Enter fullscreen mode Exit fullscreen mode

change resolv.conf attributes to immutable

sudo chattr +i /etc/resolv.conf
Enter fullscreen mode Exit fullscreen mode
sudo anonymous for basic info.
sudo anonymous start to start anonymous
sudo anonymous stop to stop anonymous
sudo anonymous status for anonymous's status
sudo anonymous update to update anonymous
Enter fullscreen mode Exit fullscreen mode

restart services

sudo service network-manager restart
sudo service dnscrypt-proxy restart
Enter fullscreen mode Exit fullscreen mode

check

https://dnsleaktest.com

Top comments (0)