Skip to content

Setup Tor With Proxychains And Fixed DNS TimeOut

Notifications You must be signed in to change notification settings

RadinPirouz/Tor-Setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

How to Set Up Tor for Linux (In This Method We Fix DNS TimeOut Error)

Step 1: Install Necessary Libraries

sudo apt install tor proxychains

Step 2: Start and Enable Tor Services

sudo systemctl enable tor

Step 3: Configure Proxychains Routing

Open the proxychains configuration file:

vim /etc/proxychains.conf

Edit the file to include the following lines:

# defaults set to "tor"
socks5  127.0.0.1 9050

Save and exit the file.

Step 4: Change Proxychains Default DNS

Open the proxychains DNS resolver file:

vim /usr/lib/proxychains3/proxyresolv

Change the line:

${PROXYRESOLV_DNS:-4.2.2.2}

to:

${PROXYRESOLV_DNS:-1.1.1.1}

Save and exit the file.

Step 5: Test Your Proxy

Test your proxy connection by pinging YouTube:

proxychains ping youtube.com

If the ping command succeeds, you have successfully configured Tor and proxychains.

About

Setup Tor With Proxychains And Fixed DNS TimeOut

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published