"Protect Your Privacy: How to Set Up Tor for Firefox on Linux, Mac, and Windows"
What is Tor?
Tor (The Onion Router) is a free and open-source software that enables anonymous communication by routing internet traffic through a network of volunteer-operated servers. By using Tor, you can conceal your IP address and make it difficult for anyone to track your online activities.
Setting up Tor on Linux
To set up Tor on Linux, follow these steps:
- Install the Tor package using your distribution's package manager. For example, on Ubuntu-based distros, you can use the following command:
sudo apt-get install tor
- Once installed, start the Tor service using the following command:
sudo systemctl start tor
Configure Firefox to Use Tor as a Proxy:
- Open Firefox and click on the menu (three horizontal lines) in the upper-right corner.
Select
Settings
(orOptions
).Go to the
General
tab and scroll down toNetwork Settings
.Click
Settings
next toNetwork Settings
.
Set Up Proxy Connection:
In the
Connection Settings
window, selectManual proxy configuration
.In the
SOCKS Host
field, enter127.0.0.1
and set the port to9050
.Select
SOCKS5
(not SOCKS4) for the proxy type.Check the box for
Proxy DNS when using SOCKS v5
to ensure DNS queries are routed through Tor.
Verify Tor Connection
Visit check.torproject.org to confirm that your IP address is recognised as being on the Tor network.
visit https://dnsleaktest.com to confirm & check your IP Address.
Setting up Tor on Mac os
To set up Tor on Mac os, follow these steps:
Download and install the Tor Browser from the official Tor website: https://www.torproject.org/download/
Install Tor Browser:
Open the
.dmg
file you downloaded.Drag the Tor Browser icon to your Applications folder.
Once installed, start the Tor service using the following command:
brew services start tor
Launch Tor Browser:
Click “Connect” to join the Tor network.
Configure Firefox to Use Tor as a Proxy:
Open Firefox and click on the menu (three horizontal lines) in the upper-right corner.
Select
Settings
(orOptions
).Go to the
General
tab and scroll down toNetwork Settings
.Click
Settings
next toNetwork Settings
.
Set Up Proxy Connection:
In the
Connection Settings
window, selectManual proxy configuration
.In the
SOCKS Host
field, enter127.0.0.1
and set the port to9050
.Select
SOCKS5
(not SOCKS4) for the proxy type.Check the box for
Proxy DNS when using SOCKS v5
to ensure DNS queries are routed through Tor.
Verify Tor Connection
Visit check.torproject.org to confirm that your IP address is recognised as being on the Tor network.
visit https://dnsleaktest.com to confirm & check your IP Address.
Setting up Tor on Windows
To set up Tor on Windows, follow these steps:
Download and install the Tor Browser from the official Tor website: https://www.torproject.org/download/
Once installed, launch the Tor Browser and click on the "Connect" button to establish a connection to the Tor network.
Configure Firefox to Use Tor as a Proxy:
Open Firefox and click on the menu (three horizontal lines) in the upper-right corner.
Select
Settings
(orOptions
).Go to the
General
tab and scroll down toNetwork Settings
.Click
Settings
next toNetwork Settings
.
Set Up Proxy Connection:
In the
Connection Settings
window, selectManual proxy configuration
.In the
SOCKS Host
field, enter127.0.0.1
and set the port to9050
.Select
SOCKS5
(not SOCKS4) for the proxy type.Check the box for
Proxy DNS when using SOCKS v5
to ensure DNS queries are routed through Tor.
Verify Tor Connection
Visit check.torproject.org to confirm that your IP address is recognised as being on the Tor network.
visit https://dnsleaktest.com to confirm & check your IP Address.
Subscribe to my newsletter
Read articles from Md. Afzal Hassan Ehsani directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
Md. Afzal Hassan Ehsani
Md. Afzal Hassan Ehsani
I am a student who loves programming. 🌱 Exploring Devops. 🌱I spent time on learning cool stuffs.