Video - Setup a free VPN Using Kali Linux

Ethical Hacking - A Hands-On Approach to Ethical Hacking Anonymity - Remaining Anonymous While Hacking Online
9 minutes
Share the link to this page
You need to have access to the item to view this lesson.
One-time Fee
List Price:  $139.99
You save:  $40
List Price:  €128.67
You save:  €36.76
List Price:  £110.19
You save:  £31.48
List Price:  CA$190.60
You save:  CA$54.46
List Price:  A$208.90
You save:  A$59.69
List Price:  S$188.42
You save:  S$53.84
List Price:  HK$1,092.29
You save:  HK$312.10
CHF 90.89
List Price:  CHF 127.25
You save:  CHF 36.36
NOK kr1,073.95
List Price:  NOK kr1,503.58
You save:  NOK kr429.62
DKK kr686.39
List Price:  DKK kr960.97
You save:  DKK kr274.58
List Price:  NZ$228.20
You save:  NZ$65.20
List Price:  د.إ514.18
You save:  د.إ146.92
List Price:  ৳16,391.62
You save:  ৳4,683.65
List Price:  ₹11,661.24
You save:  ₹3,332.02
List Price:  RM656.20
You save:  RM187.50
List Price:  ₦205,785.30
You save:  ₦58,800
List Price:  ₨38,789.74
You save:  ₨11,083.57
List Price:  ฿5,074.35
You save:  ฿1,449.91
List Price:  ₺4,513.75
You save:  ₺1,289.73
List Price:  B$714.59
You save:  B$204.18
List Price:  R2,530.23
You save:  R722.97
List Price:  Лв251.81
You save:  Лв71.95
List Price:  ₩189,601.05
You save:  ₩54,175.60
List Price:  ₪518.60
You save:  ₪148.18
List Price:  ₱8,079.59
You save:  ₱2,308.62
List Price:  ¥21,792.94
You save:  ¥6,227
List Price:  MX$2,325.03
You save:  MX$664.34
List Price:  QR507.87
You save:  QR145.11
List Price:  P1,896.68
You save:  P541.94
List Price:  KSh18,338.69
You save:  KSh5,240
List Price:  E£6,566.93
You save:  E£1,876.40
List Price:  ብር8,018.62
You save:  ብር2,291.20
List Price:  Kz118,629.90
You save:  Kz33,896.68
List Price:  CLP$125,220.73
You save:  CLP$35,779.90
List Price:  CN¥1,011.17
You save:  CN¥288.92
List Price:  RD$8,157.46
You save:  RD$2,330.87
List Price:  DA18,810.98
You save:  DA5,374.95
List Price:  FJ$311.92
You save:  FJ$89.12
List Price:  Q1,087.56
You save:  Q310.75
List Price:  GY$29,285.87
You save:  GY$8,367.99
ISK kr13,827.61
List Price:  ISK kr19,359.21
You save:  ISK kr5,531.60
List Price:  DH1,386.51
You save:  DH396.17
List Price:  L2,464.07
You save:  L704.07
List Price:  ден7,916.55
You save:  ден2,262.03
List Price:  MOP$1,124.95
You save:  MOP$321.43
List Price:  N$2,547.77
You save:  N$727.98
List Price:  C$5,144.63
You save:  C$1,470
List Price:  रु18,661.67
You save:  रु5,332.28
List Price:  S/520.05
You save:  S/148.59
List Price:  K543.23
You save:  K155.22
List Price:  SAR524.96
You save:  SAR150
List Price:  ZK3,554.51
You save:  ZK1,015.64
List Price:  L640.62
You save:  L183.04
List Price:  Kč3,180.29
You save:  Kč908.72
List Price:  Ft49,855.26
You save:  Ft14,245.38
SEK kr1,071.59
List Price:  SEK kr1,500.27
You save:  SEK kr428.67
List Price:  ARS$124,136.13
You save:  ARS$35,470
List Price:  Bs967.19
You save:  Bs276.36
List Price:  COP$532,965.46
You save:  COP$152,286.72
List Price:  ₡71,639.71
You save:  ₡20,469.95
List Price:  L3,448
You save:  L985.21
List Price:  ₲1,048,812.96
You save:  ₲299,682.25
List Price:  $U5,395.05
You save:  $U1,541.55
List Price:  zł548.83
You save:  zł156.82
Already have an account? Log In


Greetings in initiate video presentation, we're going to see how we go about setting up our free VPN using Kali Linux. Inside the lab file I have listed a number of benefits for using the VPN. And though these are really great benefits, it should be understood that there is no 100% real solution for anonymity on the internet. In our previous lab, we looked at using Tor and proxy chains. And that's about as close as you're going to come to a real 100% solution port being invisible on the internet. But that being said, if you just need a good, viable VPN solution so that you can circumvent some type of restriction, or you need to get out to the Internet, and your location has some type of restricted services for YouTube, Netflix or some other type of video service, then yes, getting A free VPN is a great solution.

It goes without saying that if we're using a free public Wi Fi, we're in a coffee shop or at the airport, or we just need to circumvent some type of restriction or censorship, a free VPN service will work just fine for that. For this lab, I'm using a updated installation of Cali linings, and I have internet access and I am logged on as root. To start this lab, let's open up our Firefox browser. And once our browser opens up, let's go to the address bar and let's type in www dot VPN book comm forward slash pre VPN. Once you've done that, just go ahead and hit enter. Let's go on over to the VPN book comm site.

Now the VPN book site is one of the best solutions that you're going to find for a free VPN. So if you're looking for a way to be able to browse the internet and have some anonymity and not have it cost you an arm and a leg This is a great place to visit. So we're going to go to the second column, entitled free open VPN. And we're going to take a look at all the different certificate bundles that we can download and use. VPN book provides a fast free VPN service for web surfing. It's not designed for peer to peer downloading, such as for torrent files or other downloads.

If you need something for torrent downloads, and you need to do it anonymously, you might want to consider purchasing a VPN subscription. Looking at the list of certificate bundles that we can use, you'll see that we have some that are located over in Europe, we have two that are located over in the United States. We have one that's located in Denmark and one in France. I'm not sure what the CA is for might be Canada. All right, so let's go ahead and select a certificate bundle that we want to use. I'm going to go ahead and for this example, use the US one open VPN certificate bundle.

So I'm just going to go ahead and click on it. That brings up a download. And I'm going to go ahead and save that file and that's going to put it over here into my downloads folder. real small file, it's only nine KB in size. So we can go ahead and take a look inside of the Downloads folder real quickly, and we see that the file has completed Download Now I can go to show all downloads, and there's the file. I can right click on the file inside of this downloads location and I can go to where the file is actually located by selecting open containing folder that opens up the actual download folder onto my Kali Linux and now I can just right click on this zip file for the VPN comm open VPN us one dot zip file.

And I can say or select from the context menu extract here. I've extracted the folder and we see that the folder is currently Sitting here inside of the Downloads folder where I extracted it to file open this up, you'll see that I have four different certificates. Now these four different certificates are designed for for different reasons. For instance, if I'm on a network that is restricting me from having access to the internet, I can bypass that restriction by using the one four TCP port at the same thing with Port 443 and UDP port 40 or 53. For most of us, we can all use the VPN book us one UDP 25,000 Oh VPN file. So what I want to do now is I just want to right click on this file, and I want to go to rename and I want to highlight the entire name and I'm going to copy this for later use.

Once I've done that, go ahead and click inside the white window anywhere. And now you can right click inside the right window anywhere and you can select To open in Terminal. Now this is going to open up a terminal session in the same location to where this file is located. I'm gonna go ahead and make this fullscreen here. Now what we want to do is type in a command, open VPN. And then we're going to copy and paste the name of that file.

So at the terminal prompt, I've typed in the command open VPN, I'm now going to right click and select Paste. And that's going to put the name of that file that we saved into the terminal as well. And once we have that all squared away, and everything's good to go, we can just hit Enter. And it's going to come up and it's going to ask me for my username. Now back on the website, you'll notice that down here at the bottom, you had a username and password. We can go get that and we can place that into this terminal.

So the username for everybody is VPN book. So I can go ahead and Hit enter. Now I can go back over to my browser. Let me go ahead and minimize this one just a little bit here. If we go back on over to the browser, you scroll on down here, you'll see that you have a username and password down at the bottom of that column. You want to make sure you save that I should have told you that earlier.

But I forgot. So I'm telling you now. And now we can go back on over to the terminal. I'm going to go ahead and copy and paste in my and I'm going to hit Enter. And in just a moment, we should have an initiation for a VPN. I'm gonna scroll on down here and it says it says the initiation sequence completed and that's the message you're going to be looking for to know that your VPN was established.

Okay, now we're going to go ahead and do some verification and we're gonna look for some DNS leaks. I'm gonna go ahead and minimize this window here. I'm gonna go back on over to my browser, and we're going to go to a different website this time, this time, I'm going to go to WWW dot Duck, duck, go calm. So even though we're now connected using a VPN, you'll notice that the bandwidth is still plenty, and we've got a pretty responsive internet. So up inside of our duck go side, we're going to, we're going to do a test for some DNS leaking. So I'm gonna type in check for DNS leaks.

From the search results, we want to go ahead and select the first link from the list where it says DNS leak test. Go ahead and click on that. Now this is going to verify that we're actually using the VPN. So it's currently it's showing me as being located over Manassas, Maryland over in the United States and I have an IP address of 198762204. But I'm not in United States and I'm certainly not in monastics, so my VPN is actually working. Scroll down here just a little bit, we can go ahead and click on the standard test and this is going to look See if I've got any type of DNS leaks going on here.

And it says that I don't, because these IP addresses are not my normal DNS servers. And so these DNS servers, I'm not familiar with them. But they are located over in Hong Kong. I've got my DNS servers located over in Hong Kong. So that's a good thing. And I got my VPN pointing over to monastics Maryland in the United States.

And that's the better thing. Now you have to understand a little something about these DNS servers, they may or they may not belong to the VPN service that you're using. And your VPN service may or may not blog, your actual IP address using its DNS. So you have to wonder about that when you're using a VPN service and you're trying to remain as anonymous as possible. If you'd like to try out a different location for your VPN. You can go back on over to VPN and download yourself another certificate bundle and try out the VPN locations over in France, Denmark, Canada or the other US location.

Okay, that concludes your short video presentation. If you have any questions or concerns please don't hesitate to reach out and contact your instructor and I'll see you in my next video.

Sign Up


Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.