Where is the VPN in Kali Linux 2?

Kali Linux is a powerful, free operating system based on Debian Linux that is perfect for penetration testing or just general use. It has a large number of applications available for download from the ‘official’ repository, featuring both free and proprietary software. Most notably, it has the best-in-class, freely available pentesting toolkit, which makes it a no-brainer for security researchers and penetration testers. In this article, we will discuss how to find and use the VPN features in Kali Linux 2.

Setting Up A PPTP VPN Server On Your Network

With the increased adoption of IPv6, the number of IP addresses available to be used for VPNs has increased. This is great news for those looking to set up a VPN on their network, as IPv6 allows for much finer-grained control over what is and is not allowed to be tunnelled through the VPN. Setting up a PPTP (Point-to-Point Tunneling Protocol) VPN server on your network is straightforward; if you have a spare IP address on your corporate network, you can use this to set up an open VPN server directly on your network.

For this tutorial, we will use the free, open-source IPsec-tools suite to set up our VPN. First, you will need to ensure that your network is configured to allow outside traffic through the firewall. You can do this by following the instructions in the IPsec-tools documentation or checking the manual for your router. Once you have confirmed that connectivity is allowed through the firewall, you can install the IPsec tools by running these commands in a terminal:

sudo apt install ipsec-tools

Now that the tools are installed, you can configure them to create a secure point-to-point tunnel between your laptop (or desktop) and a VPN server.

To do this, you will need to run these commands:

ipsec auto --add server ipv4-address-servers

This will add the specified IP address (in this case, the IP address of the VPN server) as an available IPsec server to the list of available network tunnels. You can then enter these settings in the ‘Global Options’ screen of the IPsec-tools configuration tool, as seen in Figure 1.

Figure 1. The IPsec-tools main menu

Once you have configured VPN client connectivity, you can test it by running this command:

ipsec ppp test

This will launch the PPTP VPN client program on your machine, connecting you to the VPN server. You can check the IP address of your connected machine by running this command:

ip addr

You should see an IP address similar to (you can replace the 0.3 with the appropriate IP address from your VPN server).

To verify that your VPN is working, you can run these two commands:

nc -zvn 5000
telnet localhost 5000

On the remote side, you can use the IP address that you saw before to connect to the VPN:

nc -zvn

You should now be able to establish a secure tunnel between your machine and the VPN server. Congratulations!

Using A VPN On Your Mobile Phone

If you are looking to connect to a VPN from your mobile phone, there are a number of apps available that can be downloaded from the App Store or Google Play Store. These apps work by accessing a VPN server on the Internet and allowing you to connect to that server via a secured connection, thus providing you with secure access to your network resources whenever you need them.

The following are a few of the most popular Android VPNs that work with PPTP and offer very good rates:

  • ProtonVPN — ProtonVPN
  • LogicPro VPN — LogicPro VPN (not to be confused with LogicFree VPN by the same company)
  • CyberGhost VPN — CyberGhost VPN (Note: this app is provided by Ghost Inc, the company behind the famous Ghost Browser)
  • Private Internet Access — Private Internet Access (Note: this app is provided by Private Internet Access, a company widely known for its VPN service)
  • F-PROTECT VPN — F-PROTECT VPN (Note: this app is provided by Facebook, the company behind the famous Facebook app)
  • Sensei VPN — Sensei VPN (Note: this app is provided by Sensei Inc, the company behind the popular Sensei online homework help platform)
  • IPVanish — IPVanish (Note: this app is provided by IPVanish, a popular VPN provider)
  • Pure VPN — Pure VPN (Note: this app is provided by Pure VPN, a company that provides a secure and private connection to the Internet via a VPN)

On the Apple App Store, you will find several VPN apps, but we caution you that Apple does not allow developers to create VPN apps, so you will find several ‘fake’ VPN apps on the App Store. Furthermore, Apple does not allow the sale of VPN apps solely for testing purposes. Therefore, you should avoid these fake VPN apps and only download legitimate ones from the App Store.

On the plus side, the App Store also allows you to download and use trial versions of apps, including VPNs, so you can try a number of these apps before deciding which one is right for you.

Choosing A VPN Based On Your Region

While it is great to have multiple options for VPNs available (and convenient, as you can download and use them on any device), this can be problematic when choosing a VPN based on your region. Most VPNs offer great coverage worldwide, but some regions may be more heavily restricted than others. For example, if you are in China and you try to use a VPN that is not approved for use in China, you may find that you are unable to connect to the VPN server, or that your connection is extremely slow.

It is a good idea to choose a VPN that is approved for your region. You can also try to find a VPN that offers ‘zero-knowledge’ policy, where the server operator does not have the ability to see what you are doing online (or at least not in an unencrypted form). This can help ensure that your personal information is secure while you use the service. However, it is always a good idea to consult the documentation of the VPN before using it, as not all zero-knowledge VPNs are created equal.

Similar Posts