{"id":25315,"date":"2024-02-27T06:54:35","date_gmt":"2024-02-27T06:54:35","guid":{"rendered":"https:\/\/linuxways.net\/?p=25315"},"modified":"2024-02-28T04:49:12","modified_gmt":"2024-02-28T04:49:12","slug":"install-setup-vpn-kali-linux","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/kali-linux\/install-setup-vpn-kali-linux\/","title":{"rendered":"How to Install and Setup VPN on Kali Linux"},"content":{"rendered":"<p>Hiding your online identity is a crucial task especially if you are working on a Kali Linux system. It will help you secure your online data from third parties. There are multiple ways to secure your online data, such as using a strong password, installing a Firewall or Antivirus, keeping your system up to date and more. However, all these ways are not that much effective compared to using the <strong>Virtual Private Network<\/strong> on your system.<\/p>\n<p><strong>Virtual Private Network<\/strong>, commonly referred to as <strong>VPN <\/strong>is a useful technology that allows you to protect your online identification by hiding your real IP address. <strong>VPN<\/strong> uses a real-time encryption mechanism that helps you in sending your Internet data through a secure virtual tunnel, reducing the chance of someone from tracking you online.<\/p>\n<p>When you connect to a <strong>VPN<\/strong> on your system, it authenticates the client on the <strong>VPN <\/strong>server, and applies the encryption mechanism on all the Internet traffic coming from our system. After that, it creates an <strong>encrypted tunnel<\/strong> over the Internet that ensures a secure Internet traffic between your system and unsecured network.<\/p>\n<p>In this guide, you will learn:<\/p>\n<ul>\n<li><a href=\"#post-25315-_rie7z7rbkntu\"><strong>How to Install and Setup VPN on Kali Linux<\/strong><\/a><\/li>\n<li><a href=\"#post-25315-_wep2irbpaepe\"><strong>Conclusion<\/strong><\/a><\/li>\n<\/ul>\n<h2><a id=\"post-25315-_rie7z7rbkntu\"><\/a><strong>How to Install and Setup VPN on Kali Linux<\/strong><\/h2>\n<p>To install and setup <strong>VPN <\/strong>on your Kali Linux system, follow the below-given steps:<\/p>\n<h3><a id=\"post-25315-_gtaczoo2bwtx\"><\/a><strong>Step 1: Install OpenVPN on Kali Linux<\/strong><\/h3>\n<p>First, you are advised to install the <strong>OpenVPN <\/strong>utility on your Kali Linux system. <strong>OpenVPN<\/strong> is a powerful <strong>VPN <\/strong>protocol that allows you to create secure and encrypted traffic over the Internet. <strong>OpenVPN<\/strong> uses a robust encryption protocol called <strong>AES-256, <\/strong>making it hard for someone to intercept or decipher your data.<\/p>\n<p>The default Kali Linux repository included the <strong>OpenVPN <\/strong>package that you can install from the below-given command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> apt <span class=\"kw2\">install<\/span> openvpn <span class=\"re5\">-y<\/span><\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"708\" height=\"300\" class=\"wp-image-25328\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-1.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-1.png 708w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-1-300x127.png 300w\" sizes=\"auto, (max-width: 708px) 100vw, 708px\" \/><\/p>\n<h3><a id=\"post-25315-_ksc619hdavmu\"><\/a><strong>Step 2: Download the OpenVPN Configuration Files<\/strong><\/h3>\n<p>After you are done with installing the <strong>OpenVPN <\/strong>on your Kali Linux system, you will then require the <strong>OpenVPN<\/strong> configuration files. These files will allow you to add <strong>VPN<\/strong> to your Kali Linux system. Here, as an example, I am using the <strong>Proton VPN<\/strong> service to download the <strong>OpenVPN<\/strong> configuration files.<\/p>\n<p>However, before downloading the <strong>OpenVPN <\/strong>configuration files, you have to create an account on the <strong>Proton VPN <\/strong>web page. For that purpose, open Firefox browser on Kali Linux desktop and navigate to Sign up page using the below-given link:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">https:<span class=\"sy0\">\/\/<\/span>account.protonvpn.com<span class=\"sy0\">\/<\/span>signup<\/div><\/div>\n<p>Select your package plan, or else go with free option using the <strong>signup for free<\/strong> button:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1124\" height=\"480\" class=\"wp-image-25334\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-2.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-2.png 1124w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-2-300x128.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-2-1024x437.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-2-768x328.png 768w\" sizes=\"auto, (max-width: 1124px) 100vw, 1124px\" \/><\/p>\n<p>Then create your account using the email address and complete the sign-up on <strong>Proton VPN<\/strong>:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1075\" height=\"469\" class=\"wp-image-25339\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-3.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-3.png 1075w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-3-300x131.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-3-1024x447.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-3-768x335.png 768w\" sizes=\"auto, (max-width: 1075px) 100vw, 1075px\" \/><\/p>\n<p>Then go to the <strong>Downloads<\/strong> section:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1284\" height=\"529\" class=\"wp-image-25346\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-4.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-4.png 1284w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-4-300x124.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-4-1024x422.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-4-768x316.png 768w\" sizes=\"auto, (max-width: 1284px) 100vw, 1284px\" \/><\/p>\n<p>Scroll down and download the <strong>OpenVPN<\/strong> configuration files according to your choice:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1285\" height=\"592\" class=\"wp-image-25357\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-5.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-5.png 1285w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-5-300x138.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-5-1024x472.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-5-768x354.png 768w\" sizes=\"auto, (max-width: 1285px) 100vw, 1285px\" \/><\/p>\n<p>Here, I have downloaded a US-based <strong>OpenVPN<\/strong> configuration file on Kali Linux:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1278\" height=\"589\" class=\"wp-image-25366\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-6.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-6.png 1278w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-6-300x138.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-6-1024x472.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-6-768x354.png 768w\" sizes=\"auto, (max-width: 1278px) 100vw, 1278px\" \/><\/p>\n<p><strong>Note: <\/strong>You can download multiple configuration files in case one is not working, you can try others:<\/p>\n<h3><a id=\"post-25315-_kbpfpeh7o6y2\"><\/a><strong>Step 3: Setup VPN on Kali Linux<\/strong><\/h3>\n<p>To setup <strong>VPN<\/strong> on Kali Linux, click on the <strong>NetworkManager<\/strong> icon, then navigate to <strong>VPN Connections<\/strong> and select the <strong>Add a VPN connection <\/strong>option:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"760\" height=\"610\" class=\"wp-image-25391\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-7.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-7.png 760w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-7-300x241.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-7-150x120.png 150w\" sizes=\"auto, (max-width: 760px) 100vw, 760px\" \/><\/p>\n<p>Select the <strong>Import a saved VPN configuration <\/strong>from the <strong>VPN Connection Type<\/strong> menu:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"844\" height=\"587\" class=\"wp-image-25412\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-8.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-8.png 844w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-8-300x209.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-8-768x534.png 768w\" sizes=\"auto, (max-width: 844px) 100vw, 844px\" \/><\/p>\n<p>After selecting the required option, simply click on the <strong>Create<\/strong> button:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"891\" height=\"553\" class=\"wp-image-25427\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-9.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-9.png 891w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-9-300x186.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-9-768x477.png 768w\" sizes=\"auto, (max-width: 891px) 100vw, 891px\" \/><\/p>\n<p>Select your <strong>OpenVPN<\/strong> configuration file from your Kali Linux system that you have downloaded earlier, once selected, click the <strong>Open button<\/strong> to import it:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1213\" height=\"713\" class=\"wp-image-25436\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-10.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-10.png 1213w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-10-300x176.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-10-1024x602.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-10-768x451.png 768w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-10-1020x600.png 1020w\" sizes=\"auto, (max-width: 1213px) 100vw, 1213px\" \/><\/p>\n<p>Name your connection according to your choice in the <strong>Connection <\/strong>name box. Also provide Username and password for Authentication:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"849\" height=\"648\" class=\"wp-image-25446\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-11.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-11.png 849w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-11-300x229.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-11-768x586.png 768w\" sizes=\"auto, (max-width: 849px) 100vw, 849px\" \/><\/p>\n<p>You will find the username and password in the <strong>Account <\/strong>section of <strong>Proton VPN<\/strong> web page:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1283\" height=\"554\" class=\"wp-image-25455\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-12.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-12.png 1283w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-12-300x130.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-12-1024x442.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-12-768x332.png 768w\" sizes=\"auto, (max-width: 1283px) 100vw, 1283px\" \/><\/p>\n<p>After you add the required information, save the changes. Then navigate towards the NetworkManager icon, and select the imported <strong>VPN<\/strong> file from the <strong>VPN Connections<\/strong> option:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"791\" height=\"642\" class=\"wp-image-25465\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-13.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-13.png 791w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-13-300x243.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-13-768x623.png 768w\" sizes=\"auto, (max-width: 791px) 100vw, 791px\" \/><\/p>\n<p>After selecting the required <strong>VPN<\/strong> file, you connection to that <strong>VPN <\/strong>will be established, which you can confirm from the <strong>VPN<\/strong> icon next to <strong>NetworkManager<\/strong> icon:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"821\" height=\"619\" class=\"wp-image-25489\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-14.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-14.png 821w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-14-300x226.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-14-768x579.png 768w\" sizes=\"auto, (max-width: 821px) 100vw, 821px\" \/><\/p>\n<h3><a id=\"post-25315-_xrken1pchomd\"><\/a><strong>Step 4: Verify VPN is Working on Kali Linux<\/strong><\/h3>\n<p>To ensure <strong>VPN<\/strong> is successfully setup on Kali Linux, you can load a web page that is blocked in your area or open the following URL on a browser to check your Public IPv4 address:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">https:<span class=\"sy0\">\/\/<\/span>www.whatismyip.com<span class=\"sy0\">\/<\/span><\/div><\/div>\n<p>This will provide you with the information about your Public IP address and your IP location:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1266\" height=\"562\" class=\"wp-image-25498\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-15.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-15.png 1266w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-15-300x133.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-15-1024x455.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25315-15-768x341.png 768w\" sizes=\"auto, (max-width: 1266px) 100vw, 1266px\" \/><\/p>\n<p>At this phase, you have successfully completed the <strong>VPN <\/strong>setup on your Kali Linux system. You can add as many <strong>VPN<\/strong> connections as you want on your Kali Linux system by using the step-by-step guidelines presented above. You just need to download an <strong>OpenVPN<\/strong> configuration file, import that file and click on it to add that <strong>VPN <\/strong>to your Kali Linux system.<\/p>\n<h2><a id=\"post-25315-_wep2irbpaepe\"><\/a><strong>Conclusion<\/strong><\/h2>\n<p><strong>VPN<\/strong> is a useful technology for hiding your identity and protecting your online data. You can install and setup <strong>VPN <\/strong>on Kali Linux by first installing the <strong>OpenVPN<\/strong> utility from the system repository. After that, download the <strong>OpenVPN<\/strong> configuration files from the <strong>Proton VPN <\/strong>web page on Kali Linux. Then import the <strong>OpenVPN<\/strong> configuration file from the <strong>VPN Connections<\/strong> option available after your click on the <strong>NetworkManager <\/strong>icon. There, you will have to provide the <strong>Connection Name, Username<\/strong> and <strong>Password<\/strong> for authentication purposes. Once done, simply click on the<strong> Added VPN <\/strong>connection and secure your Kali Linux system, surf freely without worrying about getting caught by someone.<\/p>","protected":false},"excerpt":{"rendered":"<p>You can install and setup VPN on Kali Linux by installing OpenVPN and importing the OpenVPN configuration file from the NetworkManager menu.<\/p>","protected":false},"author":116,"featured_media":25579,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1054],"tags":[],"class_list":["post-25315","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-kali-linux"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/25315","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/116"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=25315"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/25315\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/25579"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=25315"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=25315"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=25315"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}