How To Setup Free VPN Service On Kali Linux For Anonymity

Setup Free VPN Service On Kali Linux-

Virtual Private Networks (vpn) create an encrypted ‘tunnel’ between your computer and the host server, with the internet traffic going in and out of the host server. Your ISP or government can only see that you have connected to the VPN server and nothing else – your activities, IP addresses you have visited etc. are all completely hidden from them behind a minimum of 128-bit encryption, So in this tutorial you will be able to know how to setup free VPN service on Kali Linux and how possible is complete anonymity in cyber world.

However, the VPN server can see what you get up to on-line, which is why we feel it vital that a good VPN provider to keeps no logs. Anything less, and its users’ activities may be compromised (thus making the precaution of using a VPN in the first place redundant!).

Although setting up VPN does usually involve downloading and installing a VPN client, or otherwise configuring your computer or mobile device, the computing skills needed are minimal, and most providers supply detailed step-by-step setup guides in any case. One good thing is that once set up, all your internet activity, no matter which program you use, is now safely routed through the VPN.

The best vpns are those that keep no logs. The premise is that if the VPN provider receives a legal request from LE to provide details of who did what and when, they cannot point the finger at a particular user if they have no logs. This is the latest, most reliable (imo) list of such paid VPN providers:

Why use VPN?

Here’s 11 reasons why you would want to use VPN services.

  • VPN provides Privacy and cloaks your IP address. 
  • Use any network (public or private or free WiFi) with encryption 
  • Login to your home or Work network from anywhere with confidence. 
  • Bypass censorship and content monitoring. 
  • Browse and bypass Firewall and censorship policy at work or Anywhere! 
  • Access region restricted services from anywhere (i.e. Youtube videos, NetFlix or BBC Player etc.) 
  • Transfer or receive files with privacy. 
  • Hide your voice/VOIP calls. 
  • Use Search Engines while hiding some of your identity. 
  • Hide yourself 
  • Cause you like to be anonymous.
  • Internet activity cannot be spied on by ISPs or governments
  • High levels of encryption (128-bit to 2048-bit)
  • All internet activity masked (once VPN set up on device)
  • More expensive than proxies – List of free web proxies
  • Can be a bit slow during peak times
  • If VPN provider keeps logs then these may be obtained by the authorities

Free VPN Services!

The notable negatives to VPN are that it is comparatively pricey, and the encryption process taxes the servers so that when in heavy use internet access through them can slow down noticeably. There are plenty of free vpn providers but i have not found a free VPN who publishes any details about the logs they keep and the circumstances under which they would hand those over to a third party.

Here i am giving you a demonstration of setting up a free vpn service on Kali Linux (Security KISS) but don’t expect complete anonymity from this free vpn service.

Let’s start the configuration.

Step 1: Enable VPN on Kali Linux

By default , vpn is not configured in Kali Linux. If you want to connect vpn in kali linux , first install pptp and network openvpn in Kali linux using apt-get install. for this login to Kali linux as root user and type the following command in terminal.

aptitude -r install network-manager-openvpn-gnome network-manager-pptp network-manager-pptp-gnome network-manager-strongswan network-manager-vpnc network-manager-vpnc-gnome

On some cases, you might have to restart network-manager and networking, so type the following command:

service network-manager restart

Step 2: Enable IP forwarding

Check whether IP forwarding is enabled in Linux:

cat /proc/sys/net/ipv4/ip_forward

It should return 0 or 1 (Normally it should return 1)

If it is zero (0) you need enable IP forwarding by:

echo 1 > /proc/sys/net/ipv4/ip_forward


gedit /etc/sysctl.conf

Now the sysctl.conf file will open up then edit the following line 26 and 27: net.ipv4.ip_forward = 1

# Uncomment the next line to enable packet forwarding for IPv4

# Uncomment the next line to enable packet forwarding for IPv4
and save.

Step 3: Register on Security KISS (vpn provider)

After successfully done the above two steps now time to register on Security KISS by clicking the following link:

Type your email id then click on create button.

Open your mail and login with given client ID and password to Client Area.

Download the configuration bundle from Client area (Use the download link  generated in SecurityKISS Client Area).

Unzip the files.

Now you have 4 files named client.crt, ca.crt, client.key and README.txt.

View the README.txt file to find the list of SecurityKISS gateways (In this tutorial i am gonna use the Miami gateway, you can see i am highlighted that in the following screenshot )

Step 4: Configure OpenVPN connection

In the network connections find ‘Configure VPN

Select VPN tab and click on Add button.

Choose OpenVPN connection type and press Create button.

Now an editing window will open up, Configure the following information:

  1. Enter connection name indicating server location, protocol and port.
  2. In the Gateway field enter one of the IP address from the list you found in README.txt
  3. Authentication type should be ‘Certificates (TLS)‘.
  4. Click on User Certificate and navigate to unzipped config file client.crt.
  5. Click on CA Certificate and navigate to unzipped config file ca.crt.
  6. Click on Private Key and navigate to unzipped config file client.key.
  7. Put in your password for your account.

Now click on the Advanced button.

Tick ‘Use LZO data compression‘ and ‘Use custom gateway port‘ check boxes. 

(Enter port number according to the selected server from README.txt.)
If the server you selected from the list is marked as TCP you also need to tick ‘Use a TCP connection‘ and click ok to save settings.

Mark Available to all users then click on save button.

Now you can see the new connection with the gateway name in the network connections manager window (see the following screenshot of mine).

Step 5: Test the tunneled connection

Connect from the VPN connections.
Go to network manager and click to VPN Connections and connect.

You can verify if your IP address has changed by opening their geographical-location website:

Successfully connected to the free VPN.

Final Words

VPN provides vastly improved online anonymity, and protects your entire on-line life. In addition to this, because ISPs cannot monitor your online activity, it is an effective means of bypassing ISP throttling.

VPN is secure, It allows you to bypass proxies, Firewall, monitoring and content filtering. But there’s always that drama when you’re using VPN, it sometime is slow and sometime is not that secure you’d think (Nothing in this world is 100% secure). But for countries like Iran, Pakistan, Egypt, China, North Korea etc. where content filtering is done in National Level maybe it’s a way to get the voice out.

To stay completely anonymous you should first crack a nearby access point so that your initial point of contact with the internet cannot be traced directly to you. For this I would recommend you read: How To Hack Wi-Fi WPA/WPA2 With Kali Linux

For additional anonymity you should them use proxy chains to further obscure your location. For this you should read my previous post: Kali Linux Tutorial: Setting Up ProxyChains + Tor For Anonymity And Security

There is no simple way to achieve anonymity online. Even TOR can be compromised, as the recent darknet busts have shown. If you can carry out the instructions in the two tutorials above you will be much more difficult to track than most. Hope this helps.

Sharing is caring!

42 thoughts on “How To Setup Free VPN Service On Kali Linux For Anonymity

  1. hey guys!
    i run kali linux on virtual box on windows 7 and i use cyberghost 5 as a vpn on windows, can this make me anonymous while i use tools on kali?

  2. Yes, I'm 100% agree with this VPN configuration in Windows Server 2012 R2 Essentials! Is there any require of a remote access license for this? please let me know. I'm now using Free Smart DNS for last 2 month. Thanks!

  3. when itype this command aptitude -r install network-manager-openvpn-gnome network-manager-pptp network-manager-pptp-gnome network-manager-strongswan network-manager-vpnc network-manager-vpnc-gnome i get an error message aptitude invalid command

  4. Hі tһere! Quick question that’stotally оff topic. Do you know һow tto makе
    your site mobile friendly? My web site lⲟoks weird ԝhen browsing from my
    apple iphone. І’m tryіng to find а templaate ᧐r plugin that might Ьe able too resolve this problem.
    If you hɑve any recommendations, pllease share. Тhanks!

  5. A ⅼot of thankѕ for all у᧐ur valuable efforts onn tһіѕ blog.
    Mу moom enjoys making time for internet research and it is easy to ssee why.
    Ԝe һear аll аbout the powerful medium youu provide invaluable
    steps byy mеans of the web blog ɑnd strоngly
    encourage participation from οther ones ᧐n that аrea оf interest so
    our dauhter іѕ certainly discovering a whokle
    lot. Enjoy the rest of thhe neԝ yeɑr. You aare always carrying out а superb job.

  6. I am surfing around on-line a lot more than about three hrs presently, still I never identified any kind of intriguing report such as your own دارلترجمه کره ای. It is actually pretty worthy of enough personally. For me personally, when almost all web managers in addition to web owners made just right information just like you likely have, the internet will be additional valuable than before.

  7. Thank you for all of the efforts on this site.
    Kate really likes setting aside time for investigation and
    it’s easy to understand why. A lot of people
    hear all about the lively tactic you offer sensible techniques via the web blog
    and as well boost contribution from some others on this article
    then my girl has always been becoming educated
    a lot. Enjoy the remaining portion of the new year.
    You have been conducting a fantastic job.[X-N-E-W-L-I-N-S-P-I-N-X]I’m extremely impressed with your writing talents as neatly as with the structure
    in your blog. Is that this a paid theme or did you modify it yourself?
    Anyway stay up the nice high quality writing, it’s uncommon to peer a nice weblog like this one

Leave a Reply

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

Related Posts

Begin typing your search above and press enter to search. Press ESC to cancel.

Back To Top

So glad to see you sticking around!

Want to be the first one to receive the new stuff?

Enter your email address below and we'll send you the goodies straight to your inbox.

Thank You For Subscribing

This means the world to us!

Spamming is not included! Pinky promise.