Here we need to have two things installed in the system if they don't already exist in your system: Tor ProxyChains Now the trick is with the configuration in proxychains.conf which is in the path /etc/proxychains.conf Given bellow is the configuration you need to have: The highlighted config is required for Metasploit to connect itself with the Postgresql database. Using Tor as socks4 proxy proxychains.conf Once you the config ready, all you have to do is to run each tool with proxychains: Starting Metasploit Tor proxied proxychains msfconsole Starting NMap Tor proxied proxychains nmap -sV --version-all 192.168.0.1/24 Staring Telnet Tor proxied proxychains telnet 192.168.0.104 80 This will make all those tools to run with proxychains [with Tor] providing higher anonymity for your attacks.