Send all traffic through the Tor network

Torifying Traffic

Let’s create a short guide on how to route all your machine’s traffic through the Tor network. Why would you want to do this? Well, for many reasons—but considering the times we live in, one stands out: so you can watch football for free. What? You don’t like football? Me neither. But I like even less when thousands of websites are blocked indiscriminately just because someone is out there kicking a ball around.

Now, what do you do when half the internet is blocked because the geniuses at La Liga have decided that nothing else matters during matches besides their exclusive broadcasting rights? Easy—you take a break, grab a beer (or two, if needed), sit back, and use this opportunity to learn something actually useful: stress testing La Liga’s systems from the Tor network.

They block, you load test. Who cares if you can’t watch anything? At least you’re helping to improve the user experience—or, well, at least forcing them to update their servers.

And hey, if you’re feeling generous, you’re also contributing to their financial management. Yeah, because one thing that won’t be missing is an inflated Azure bill thanks to the unexpected traffic you just sent their way. It’s an involuntary donation, but at least you know you’re contributing to their “financial sustainability.” If someone’s going down, we’re all going down… except Azure, of course.

INSTALLING TORCTL

I recommend setting up a virtual machine for learning. In this case, we’ll be using Kali Linux, but you can use any Linux distro. This guide works with any Debian-based system.

Once your machine is ready, start by installing the necessary dependencies. Kali comes with some of them pre-installed, but other distros might not.

sudo apt-get install tor macchanger secure-delete iptables

instalando dependencias torctl

Next we download the repo

git clone https://github.com/BlackArch/torctl.git

git clone torctl

Now:

cd torctl
sudo mv service/* /etc/systemd/system
sudo mv bash-completion/torctl /usr/share/bash-completion/completions/torctl
sed -i ‘s/TOR_UID=”tor”/TOR_UID=”debian-tor”/’ torctl
sudo mv torctl /usr/local/bin/torctl

In Debian when you install Tor it creates the debian-tor user, so we replace the script part with the debian-tor user.

instalacion torctl

You can delete the folder now because it’s already installed, that easy.

cd .. && rm -rf torctl

If we now type torctl we will get the following very intuitive options:

opciones torctl

The best thing to do is enable autostart if you always want this machine to be connected to Tor. However, it’s still recommended that you always run the following command in the console:

curl ifconfig.me

or through the browser itself, since once it’s running, all traffic goes through Tor, regardless of the application used. Let’s test it. Before running Torctl start, we check our IP address, as follows:

sudo torctl start

and we check our IP again

curl ifconfig.me

test torctl

The IPs will be constantly changing, but if we go to any service in the browser to find out the IP, we will see that we are in onion mode on the Tor network.

cual es mi ip

Well, that’s it! Now you can watch free football for those who like it and those who don’t want to increase their league bill. You can start by trying Locust, here’s the article. here

Our league manuals will only increase if the league keeps blocking you so you don’t get bored during the games, since that’s what’s sure to work or not… hehe, because they’re so clumsy that they might just get blocked.

And that’s all, have a good weekend.

TL.

Thank you for reading our posts.

Deja tu comentario

Your email address will not be published. Required fields are marked *

Últimos artículos

robot web browser

Har2locust

Creating a Locust file with Har2Locust As promised, if you have followed the locust.io post:

Más visitados