Skip main navigation

New offer! Get 30% off your first 2 months of Unlimited Monthly. Start your subscription for just £35.99 £24.99. New subscribers only T&Cs apply

Find out more

Learning How to Use TorGhost

In this video, you will learn about TorGhost.
In this video, we’re going to be going over the program TorGhost. Now, as we already know, Tor routes our connection through several different random servers, connects up to where we’re heading to, and then routes it back again. Now, the problem with Tor, though, is if we want to use a different browser, if we want to use the Tor network for other things, like, say, network scanning, we’re not able to do that from the Tor browser. That’s where TorGhost is going to come in handy. So TorGhost is a GitHub program. It’s designed for Linux. And it’s also free. So the program will allow us to route our traffic through the Tor network. It doesn’t need the Tor browser to use it.
Its open source, and it is a Python program that runs on Linux. So let’s take a look at the product. So we’re going to go ahead and install TorGhost on our Linux machine. Now, this particular version of Linux I’m using is a Debian-based Linux. It should also work with Ubuntu, regular Debian, CSI Linux, and whatnot. So if you head over to thkrishnan/torghost, you could also do a Google search for TorGhost space git, and it should take you to this page also. So to install it’s pretty simple. We’re going to click on the Clone or Download button here. We’re going to click on the clipboard. And then we’re going to open a terminal. So it’s important to type in sudo.
Make sure we’re writing this as an administrator. Space git space clone space. And then we can paste in the URL here. Now, it should error out for me, because I already downloaded this. But let’s go ahead and run this. Yeah, so already exists and the directory is not empty. For you, it should ask you for a password and go ahead and download. Next what you want to do is you want to change the directory to that particular folder. So if we do cd space torghost, and then we can go back to the instructions here.
And then we can see the next command is chmod space plus x And the easy thing is we can simply just highlight that. And then we can go in here, where we can paste that command. And essentially what it’s doing is it’s converting that into an executable file. And always remember to do sudo space and then your command, because you will need administrative access for all this. OK, now the next one you want to do is ./
And again, you want to run that as sudo.
And that’s going to go ahead and install that for us. OK, so I’m going to clear the screen here.
Now, to run this, we can go to: we could do sudo space torghost, and that’s going to run the program for us. And it’s going to ask us, do we want to use latest repository? I’m going to select Yes. OK. Now, you’ll see the TorGhost menu here. That means it has not started yet. So what we need to do is we need to go ahead and do sudo space TorGhost space dash s. And we see here dash s is start. We could also do dash r to request new Tor exit node, dash x to stop it, dash h for help, and dash u for update. So I’m going to do dash s to start this.
And we can see here that it’s already resolving our DNS. It’s starting up the Tor service. And our IP is So this is already a good start, because I already know my particular ISP does not use a 155 address. So I’m going to go back to the browser here. And we’re going to open up DNS Leak. I’m going to refresh the page here. And we’ll make sure that the IP shows up. Yep, 155.4. And I’m going to run the standard test. And we’ll give this a moment to run here. And here we go. Here we go. We have an IP that doesn’t match my actual IP. Hostname, we can’t find the hostname.
And the ISP says Markus Koch, which is completely different from what it really is. So all in all, this is working pretty well. So wrapping up, TorGhost allows us to route our traffic through the Tor network. We can route our traffic through the Tor network without using the Tor browser, which gives us a lot of flexibility. The program is also written in Python, it’s open source, and it is intended for Linux.

In this video, you will learn about TorGhost.

Investigate: What other options are out there to change your DNS? Report back and share.

The following test is going to assess your understanding of what you have learned within this past week of the course.

Remember, you do not have to take the Test until you’re ready. To help you prepare you might wish to spend some time refreshing your understanding of the contents of this week.

You may wish to reflect on the Learning Outcomes introduced at the beginning of the week and make sure you are comfortable that you have met the requirements of each. Take some time to review your learning to help you prepare.

This article is from the free online

Cyber Security Foundations: Why Cyber Security is Important

Created by
FutureLearn - Learning For Life

Reach your personal and professional goals

Unlock access to hundreds of expert online courses and degrees from top universities and educators to gain accredited qualifications and professional CV-building certificates.

Join over 18 million learners to launch, switch or build upon your career, all at your own pace, across a wide range of topic areas.

Start Learning now