• Home
  • About Us
  • General
  • Wireless
  • Web
  • Scanning
  • Metasploit
  • Hacking Courses
    • OSCP
    • The Virtual Hacking Labs
    • Certified Ethical Hacker (CEH)
    • Hacking Books
  • More
    • Exploit tutorials
    • Pentesting Exchange
    • Networking
    • Malware Analysis
    • Hacking Metasploitable 2/3
    • Digital Forensics
  • Contact
Facebook Twitter Instagram
Trending
  • CVE-2022-3602 and CVE-2022-3786: OpenSSL 3.0.7 patches Critical Vulnerability
  • Installing Rogue-jndi on Kali Linux
  • Log4Shell VMware vCenter Server (CVE-2021-44228)
  • The Great Leak: Microsoft Exchange AutoDiscover Design Flaw
  • CVE-2019-19781: Citrix ADC RCE vulnerability
  • Vulnerability Scanning with OpenVAS 9 part 4: Custom scan configurations
  • Vulnerability Scanning with OpenVAS 9 part 3: Scanning the Network
  • Vulnerability Scanning with OpenVAS 9 part 2: Vulnerability Scanning
Facebook Twitter YouTube Tumblr Instagram Pinterest
Hacking Tutorials
  • Home
  • About Us
  • General
  • Wireless
  • Web
  • Scanning
  • Metasploit
  • Hacking Courses
    • OSCP
    • The Virtual Hacking Labs
    • Certified Ethical Hacker (CEH)
    • Hacking Books
  • More
    • Exploit tutorials
    • Pentesting Exchange
    • Networking
    • Malware Analysis
    • Hacking Metasploitable 2/3
    • Digital Forensics
  • Contact
Hacking Tutorials
You are at:Home » General Tutorials » Installing VPN on Kali Linux
Installing VPN on Kali Linux - Banner

Installing VPN on Kali Linux

19
By Hacking Tutorials on June 13, 2015 General Tutorials

VPN on Kali Linux is strange enough not installed and enabled by default which leaves you with a greyed out VPN option panel and a rather difficult, or at least a not straight forward, set-up process if you don’t know how to install VPN. VPN stands for Virtual Private Network and extends your private network over the internet which will cloak your IP address, bypass censorship and encrypt your network traffic. In this tutorial we will install the necessary packages and setup the popular Golden Frog VyprVPN service in Kali Linux.

I’m using VyprVPN from Golden Frog as VPN service for a couple months now on public wireless networks and in foreign countries for example. Their VPN service is fast, reliable and there are many servers/countries to choose from (50+ servers and 200,000 IP addresses). There’s an app for all platforms, including Ios, Android, Windows, Mac and a VyprVPN router app to secure your entire home network. Golden Frog claims to not keep logs for their VPN services and they have great apps available for managing VPN connections.

A new and updated tutorial on installing VPN on Kali Linux 2016 rolling edition is available now.

If you sign up using one of the following links you can get a discount:

Or the following offer with 25% off for annual accounts:

There is also a 3 day free test period available so you can try their services before you buy them.

Why use VPN?

There are several reasons why you would want to use a VPN service:

  1. VPN cloaks your IP Address and location so you will be anonymous.
  2. Avoid internet censorship, firewalls and access region restricted content.
  3. Encrypt your network traffic (on public Wifi for example).
  4. To hide your identity.

Note that search engines and platform can still recognize you based on cookies or logins for example.

Installing VPN on Kali Linux

Open a terminal and use the following command to install the necessary packages:

apt-get install network-manager-openvpn-gnome network-manager-pptp network-manager-pptp-gnome network-manager-strongswan network-manager-vpnc network-manager-vpnc-gnome

Type y and enter when being asked to install the packages.

VPN on Kali Linux

Now we need to download the CA certificate from VyprVPN using the following command (one command, ignore white space):

sudo wget -O /etc/openvpn/ca.vyprvpn.com.crt

https://www.goldenfrog.com/downloads/ca.vyprvpn.com.crt

Go to your network manager, go to the VPN tab and click “Add”:

VPN on Kali Linux

Select OpenVPN as connection type.

VPN on Kali Linux

And click create:

VPN on Kali Linux

Enter the following information:

  1. Connection name
  2. Gateway (Different gateways are available from the website)
  3. Set authentication type to password
  4. Username and password

VPN on Kali Linux

Click the browse file button to select the CA certificate we downloaded earlier.

VPN on Kali Linux

The file was downloaded to the following location:

/etc/openvpn/ca.vyprvpn.com.crt

VPN on Kali Linux

Click the save button and we are ready to go!

VPN on Kali Linux

You can start your VPN connection by going to the network manager and select the connection we’ve just added.

VPN on Kali Linux Video Tutorial

Thanks for watching and please subscribe to my YouTube channel for more hacking tutorials :)

Virtual Hacking Labs - Penetration testing lab

Share on:

  • Email
Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
Previous ArticleWebsploit Directory Scanner – Scanning webserver directories
Next Article MAC address spoofing with Macchanger in Kali Linux

Related Posts

CVE-2022-3602 and CVE-2022-3786: OpenSSL 3.0.7 patches Critical Vulnerability

Installing Rogue-jndi on Kali Linux

The Great Leak: Microsoft Exchange AutoDiscover Design Flaw

19 Comments

  1. Nexijt on August 13, 2015 12:47 pm

    I get this when I try to install them. How do I fix that?
    Need to get 4,178 kB of archives. After unpacking 16.4 MB will be used.
    Err http://http.kali.org/kali/ kali/main libart-2.0-2 amd64 2.3.21-2
    404 Not Found
    Err http://http.kali.org/kali/ kali/main libfcgi0ldbl amd64 2.4.0-8.1
    404 Not Found
    Err http://http.kali.org/kali/ kali/main libgnomecanvas2-common all 2.30.3-1.2
    404 Not Found
    Get: 1 http://security.kali.org/kali-security/ kali/updates/main libstrongswan amd64 4.5.2-1.5+deb7u7 [523 kB]
    Err http://http.kali.org/kali/ kali/main libgnomecanvas2-0 amd64 2.30.3-1.2
    404 Not Found
    Err http://http.kali.org/kali/ kali/main libbonoboui2-common all 2.24.3-1
    404 Not Found
    Err http://http.kali.org/kali/ kali/main libbonoboui2-0 amd64 2.24.3-1
    404 Not Found
    Get: 2 http://security.kali.org/kali-security/ kali/updates/main strongswan-nm amd64 4.5.2-1.5+deb7u7 [58.4 kB]
    Err http://http.kali.org/kali/ kali/main libgnomeui-common all 2.24.5-2
    404 Not Found
    Err http://http.kali.org/kali/ kali/main libgnomeui-0 amd64 2.24.5-2
    404 Not Found
    Err http://http.kali.org/kali/ kali/main network-manager-openvpn amd64 0.9.4.0-1
    404 Not Found
    Get: 3 http://security.kali.org/kali-security/ kali/updates/main ipsec-tools amd64 1:0.8.0-14+deb7u1 [103 kB]
    Err http://http.kali.org/kali/ kali/main network-manager-openvpn-gnome amd64 0.9.4.0-1
    404 Not Found
    Err http://http.kali.org/kali/ kali/main pptp-linux amd64 1.7.2-7
    404 Not Found
    Err http://http.kali.org/kali/ kali/main network-manager-pptp amd64 0.9.4.0-2
    404 Not Found
    Err http://http.kali.org/kali/ kali/main network-manager-pptp-gnome amd64 0.9.4.0-2
    404 Not Found
    Err http://http.kali.org/kali/ kali/main network-manager-vpnc amd64 0.9.4.0-1
    404 Not Found
    Err http://http.kali.org/kali/ kali/main network-manager-vpnc-gnome amd64 0.9.4.0-1
    404 Not Found
    Err http://http.kali.org/kali/ kali/main network-manager-strongswan amd64 1.3.0-1
    404 Not Found
    Fetched 51.4 kB in 7s (6,964 B/s)
    E: Failed to fetch http://http.kali.org/kali/pool/main/liba/libart-lgpl/libart-2.0-2_2.3.21-2_amd64.deb: 404 Not Found

    Reply
    • Hacking Tutorials on August 13, 2015 10:03 pm

      I think there is a problem with your source list. Try following this tutorial to make sure you have the correct source list:

      Did you install Kali Linux in a Virtual Machine?

      Reply
    • Hacking Tutorials on August 24, 2015 6:22 pm

      Did changing the sourcelist solve the errors?

      Reply
    • turner on November 23, 2015 5:57 am

      you need to change your rep list. since kali release kali linux 2.0 , they change rep list for kali. in short they want all kali linux 1.1.0 user to update theirs to kali linux 2.0. here link to the rep source for kali 1.1.0 https://www.kali.org/news/kali-moto-eol/ . Please note, this repository will not be maintained or updated. sorry for my bad english.

      Reply
    • Sourav on November 29, 2015 4:20 pm

      jusy update repo. if u cant then msg me , i will send you.
      and add kali bleeding repo.

      then it might work

      Reply
  2. DK on February 22, 2016 3:07 am

    Thanks, VPN works well too in kali rolling.

    Reply
  3. Rainz on February 28, 2016 9:24 am

    i am not getting the open vpn option
    what should i do ?

    Reply
    • Hacking Tutorials on March 16, 2016 2:37 pm

      Hi,

      Use the following command:

      apt-get install network-manager-openvpn-gnome

      The VPN option should appear now when want to add a new connection from the network menu.

      Reply
  4. Ệfãŵøħø ßëñ on March 8, 2016 8:09 pm

    E: Package ‘network-manager-openvpn-gnome’ has no installation candidate
    E: Package ‘network-manager-pptp’ has no installation candidate
    E: Package ‘network-manager-pptp-gnome’ has no installation candidate
    E: Unable to locate package network-manager-strongswan
    E: Unable to locate package network-manager-vpnc
    E: Package ‘network-manager-vpnc-gnome’ has no installation candidate

    The above error is what I got. Any help? I’m on Kali 2016.1(rolling)
    Thanks.

    Reply
    • Hacking Tutorials on March 8, 2016 9:25 pm

      It probably has something to do with your sources list, can you post it here?

      Follow this video:

      https://www.youtube.com/watch?v=x5Fp8jENZ9Y

      and use these sources:

      deb http://http.kali.org/kali kali-rolling main contrib non-free
      deb-src http://http.kali.org/kali kali-rolling main contrib non-free

      Reply
  5. Simen Egge on July 18, 2016 10:22 pm

    When I run the commands, the following prints out;

    E: Package ‘network-manager-openvpn-gnome’ has no installation candidate
    E: Package ‘network-manager-pptp’ has no installation candidate
    E: Package ‘network-manager-pptp-gnome’ has no installation candidate
    E: Unable to locate package network-manager-strongswan
    E: Unable to locate package network-manager-vpnc
    E: Package ‘network-manager-vpnc-gnome’ has no installation candidate

    Anybody who knows how to fix this?

    Reply
  6. Gregory on March 26, 2019 4:25 pm

    When I connect it require password but I enter but still asking for it…?

    Reply
  7. Angel Deve on May 1, 2019 12:34 am

    I have a problem.
    I’ve entered my user & pass, and when i click on connect, after a long connecting duration, it will be disconnected.
    i use kali kde plasma.
    help please

    Reply
  8. DOMINIK on May 17, 2019 1:46 am

    It does not work:
    apt-get install network-manager-openvpn-gnome network-manager-pptp network-manager-pptp-gnome network-manager-strongswan network-manager-vpnc network-manager-vpnc-gnome
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    You might want to run ‘apt –fix-broken install’ to correct these.
    The following packages have unmet dependencies:
    google-chrome-stable : Depends: libappindicator3-1 but it is not going to be installed
    Recommends: libu2f-udev but it is not going to be installed
    network-manager-openvpn-gnome : Depends: network-manager-openvpn (= 1.8.10-1) but it is not going to be installed
    network-manager-pptp : Depends: pptp-linux but it is not going to be installed
    network-manager-strongswan : Depends: strongswan-nm (>= 5.5.1-1) but it is not going to be installed
    steam-launcher : Depends: python-apt but it is not going to be installed
    Recommends: jockey-common but it is not installable
    E: Unmet dependencies. Try ‘apt –fix-broken install’ with no packages (or specify a solution).

    Reply
    • Hacking Tutorials on May 19, 2019 12:27 pm

      Have you tried the solution provided in the command output?

      Reply
  9. Ayush on May 27, 2020 6:25 pm

    I follow as you have told and in the end it is asking for a login keyring to authenticate and i typed the password which i provided during the setup but still it is showing the wrong password. Pls help.

    Reply
    • well wisher on June 4, 2021 6:05 am

      did you had any luck Ayush?

      Reply
  10. well wisher on June 4, 2021 6:04 am

    It keeps asking for password multiple time and when you enter it all the time, there is an error message saying “timed out”

    Reply
  11. Zeus on October 11, 2021 9:56 pm

    please i installed and got the CA certificate and set up the VPN. but anytime i connect to my WiFi router, it gives a 404 error…..please what do i do to fix this, please any one help!

    Reply

Leave A Reply Cancel Reply

Top Tutorials
By Hacking TutorialsOctober 29, 20220

CVE-2022-3602 and CVE-2022-3786: OpenSSL 3.0.7 patches Critical Vulnerability

By Hacking TutorialsJanuary 10, 20220

Installing Rogue-jndi on Kali Linux

By Hacking TutorialsDecember 17, 20210

Log4Shell VMware vCenter Server (CVE-2021-44228)

By Hacking TutorialsSeptember 27, 20210

The Great Leak: Microsoft Exchange AutoDiscover Design Flaw

By Hacking TutorialsFebruary 4, 20200

CVE-2019-19781: Citrix ADC RCE vulnerability

By Hacking TutorialsNovember 1, 20188

Vulnerability Scanning with OpenVAS 9 part 4: Custom scan configurations

Subscribe

Enter your email address to subscribe to Hacking Tutorials and receive notifications of new tutorials by email.

Join 828 other subscribers
Recent Tutorials
  • CVE-2022-3602 and CVE-2022-3786: OpenSSL 3.0.7 patches Critical Vulnerability
  • Installing Rogue-jndi on Kali Linux
  • Log4Shell VMware vCenter Server (CVE-2021-44228)
  • The Great Leak: Microsoft Exchange AutoDiscover Design Flaw
  • CVE-2019-19781: Citrix ADC RCE vulnerability
Virtual Hacking Labs
Penetration Testin Course and Hacking Labs
Categories
  • Digital Forensics
  • Exploit tutorials
  • General Tutorials
  • Hacking Books
  • Hacking Courses
  • Malware Analysis Tutorials
  • Metasploit Tutorials
  • Networking
  • Pentesting Exchange
  • Scanning Tutorials
  • Web Applications
  • Wifi Hacking Tutorials
Downloads
  • directory_scanner.py (120572 downloads)
  • PEiD-0.95-20081103.zip (111425 downloads)
  • wifi_jammer.py (138169 downloads)
Recent Tutorials
  • CVE-2022-3602 and CVE-2022-3786: OpenSSL 3.0.7 patches Critical Vulnerability
  • Installing Rogue-jndi on Kali Linux
  • Log4Shell VMware vCenter Server (CVE-2021-44228)
  • The Great Leak: Microsoft Exchange AutoDiscover Design Flaw
  • CVE-2019-19781: Citrix ADC RCE vulnerability
  • Vulnerability Scanning with OpenVAS 9 part 4: Custom scan configurations
Popular Tutorials
By Hacking TutorialsSeptember 1, 2016115

Review: Offensive Security Certified Professional (OSCP)

By Hacking TutorialsApril 18, 201738

Exploiting Eternalblue for shell with Empire & Msfconsole

By Hacking TutorialsMarch 17, 201637

Installing VPN on Kali Linux 2016 Rolling

Featured Downloads
  • directory_scanner.py (120572 downloads)
  • PEiD-0.95-20081103.zip (111425 downloads)
  • wifi_jammer.py (138169 downloads)
© Hacking Tutorials 2022

Type above and press Enter to search. Press Esc to cancel.

Go to mobile version