{"id":16316,"date":"2023-07-05T16:55:48","date_gmt":"2023-07-05T13:55:48","guid":{"rendered":"https:\/\/kifarunix.com\/?p=16316"},"modified":"2024-03-10T10:32:42","modified_gmt":"2024-03-10T07:32:42","slug":"how-to-install-outline-vpn-on-linux-systems","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/how-to-install-outline-vpn-on-linux-systems\/","title":{"rendered":"How to Install Outline VPN on Linux Systems"},"content":{"rendered":"\n<p>In this tutorial, you will learn how to easily install Outline VPN on Linux systems. You can build a VPN server using <a href=\"https:\/\/getoutline.org\/en-GB\/how-it-works\/\" target=\"_blank\" rel=\"noreferrer noopener\">OutlineVPN<\/a> technology that&#8217;s freely available and open source. It&#8217;s censorshipless, so you could use it to access blocked services and websites. Outline VPN uses the Shadowsocks protocol, a secure and reliable method of tunneling traffic across the internet.<\/p>\n\n\n\n<div class=\"wp-block-rank-math-toc-block\" id=\"rank-math-toc\"><h2>Table of Contents<\/h2><nav><ul><li><a href=\"#installing-outline-vpn-on-linux-systems\">Installing Outline VPN on Linux Systems<\/a><ul><li><a href=\"#install-docker-engine-on-linux-system\">Install Docker Engine on Linux System<\/a><\/li><li><a href=\"#installing-outline-vpn-on-linux-systems-1\">Installing Outline VPN on Linux Systems<\/a><ul><li><a href=\"#download-outline-manager-on-linux\">Download Outline Manager on Linux<\/a><\/li><li><a href=\"#install-and-setup-outline-manager\">Install and Setup Outline Manager<\/a><\/li><li><a href=\"#generate-outline-manager-access-keys\">Generate Outline Manager Access Keys<\/a><\/li><\/ul><\/li><li><a href=\"#install-outline-client-app-on-linux-windows-systems\">Install Outline Client App on Linux\/Windows Systems<\/a><ul><li><a href=\"#download-outline-client-app-installer\">Download Outline Client App Installer<\/a><\/li><li><a href=\"#install-outline-client-app\">Install Outline Client App<\/a><\/li><li><a href=\"#connect-outline-client-to-outline-manager\">Connect Outline Client to Outline Manager<\/a><\/li><\/ul><\/li><li><a href=\"#verify-connection-to-the-outline-manager\">Verify Connection to the Outline Manager<\/a><\/li><li><a href=\"#set-data-limit-for-the-clients\">Set Data Limit for the Clients<\/a><\/li><li><a href=\"#decommission-the-outline-vpn-manager-server\">Decommission the Outline VPN Manager Server<\/a><\/li><li><a href=\"#other-tutorials\">Other Tutorials<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"installing-outline-vpn-on-linux-systems\">Installing Outline VPN on Linux Systems<\/h2>\n\n\n\n<p>Outline VPN works in a Manager and Client version. The <strong>Outline Manager<\/strong> is a desktop application that let&#8217;s you create and manage your VPN server. The <strong>Outline Client<\/strong> is a mobile or desktop app that you use to connect to your VPN server.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"install-docker-engine-on-linux-system\">Install Docker Engine on Linux System<\/h3>\n\n\n\n<p>You can check our various guides on how to install Docker Engine on various Linux distributions.<\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/?s=install+docker\" target=\"_blank\" rel=\"noreferrer noopener\">How to Install Docker Engine<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"installing-outline-vpn-on-linux-systems-1\">Installing Outline VPN on Linux Systems<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"download-outline-manager-on-linux\">Download Outline Manager on Linux<\/h4>\n\n\n\n<p>Navigate to <a href=\"https:\/\/getoutline.org\/get-started\/#step-1\" target=\"_blank\" rel=\"noreferrer noopener\">Outline page<\/a> and grab the installer for Linux.<\/p>\n\n\n\n<p>You can simply just execute this command to download Outline manager Linux installer;<\/p>\n\n\n\n<p>(<em>Download as standard user, not as root!<\/em>)<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>wget https:\/\/s3.amazonaws.com\/outline-releases\/manager\/linux\/stable\/Outline-Manager.AppImage<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"install-and-setup-outline-manager\">Install and Setup Outline Manager<\/h4>\n\n\n\n<p>Once the download is complete, make the installer executable;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>chmod +x Outline-Manager.AppImage<\/code><\/pre>\n\n\n\n<p>The run the installer;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>.\/Outline-Manager.AppImage<\/code><\/pre>\n\n\n\n<p>Once the installer runs, it firsts prompts you to choose on which cloud provider you want to run your server.<\/p>\n\n\n\n<p>If you are running your server on any specific cloud, then choose from the list and the installer will guide you through.<\/p>\n\n\n\n<p>In my setup, i am not using any cloud. Hence, I will choose to setup <strong>Outline anywhere<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"790\" height=\"965\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2023\/07\/outline-manager-cloud-prompt.png\" alt=\"Install Outline VPN on Linux Systems\" class=\"wp-image-17697\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2023\/07\/outline-manager-cloud-prompt.png?v=1688583479 790w, https:\/\/kifarunix.com\/wp-content\/uploads\/2023\/07\/outline-manager-cloud-prompt-768x938.png?v=1688583479 768w\" sizes=\"(max-width: 790px) 100vw, 790px\" \/><\/figure>\n\n\n\n<p>You will then be given a command to run on Linux to install Outline manager. Copy the command and execute on another terminal as follows;<\/p>\n\n\n\n<p>(DO NOT Close the Outline manager interface Wizard yet)<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo bash -c \"$(wget -qO- https:\/\/raw.githubusercontent.com\/Jigsaw-Code\/outline-server\/master\/src\/server_manager\/install_scripts\/install_server.sh)\"<\/code><\/pre>\n\n\n\n<p>Sample command output;<\/p>\n\n\n\n<pre class=\"scroll-box\"><code>\n> Verifying that Docker is installed .......... OK\n> Verifying that Docker daemon is running ..... OK\n> Setting PUBLIC_HOSTNAME to external IP ...... OK\n> Creating persistent state dir ............... OK\n> Generating secret key ....................... OK\n> Generating TLS certificate .................. OK\n> Generating SHA-256 certificate fingerprint .. OK\n> Writing config .............................. OK\n> Starting Shadowbox .......................... OK\n> Starting Watchtower ......................... OK\n> Waiting for Outline server to be healthy .... OK\n> Creating first user ......................... OK\n> Adding API URL to config .................... OK\n> Checking host firewall ...................... OK\n\nCONGRATULATIONS! Your Outline server is up and running.\n\nTo manage your Outline server, please copy the following line (including curly\nbrackets) into Step 2 of the Outline Manager interface:\n\n<strong>{\"apiUrl\":\"https:\/\/8x.xx.x.1x2:19611\/_U1AF91tGvqNQmc_J-d8_g\",\"certSha256\":\"147B4AB9CE4683DA940CCABC6B0A29A870DB66E9CE8A9ADDAACB0BEB9F85E43F\"}<\/strong>\n\nIf you have connection problems, it may be that your router or cloud provider\nblocks inbound connections, even though your machine seems to allow them.\n\nMake sure to open the following ports on your firewall, router or cloud provider:\n- Management port 19611, for TCP\n- Access key port 1483, for TCP and UDP\n<\/pre><\/code>\n\n\n\n<p>Next, copy the API URL and paste on the step 2 of the installer wizard.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"793\" height=\"905\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2023\/07\/Outline-manager-api-url.png\" alt=\"\" class=\"wp-image-17698\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2023\/07\/Outline-manager-api-url.png?v=1688583979 793w, https:\/\/kifarunix.com\/wp-content\/uploads\/2023\/07\/Outline-manager-api-url-768x876.png?v=1688583979 768w\" sizes=\"(max-width: 793px) 100vw, 793px\" \/><\/figure>\n\n\n\n<p>Click <strong>DONE<\/strong> to complete the setup.<\/p>\n\n\n\n<p>Your Outline manager now looks like;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"864\" height=\"853\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2023\/07\/outline-manager.png\" alt=\"\" class=\"wp-image-17699\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2023\/07\/outline-manager.png?v=1688584133 864w, https:\/\/kifarunix.com\/wp-content\/uploads\/2023\/07\/outline-manager-768x758.png?v=1688584133 768w\" sizes=\"(max-width: 864px) 100vw, 864px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"generate-outline-manager-access-keys\">Generate Outline Manager Access Keys<\/h4>\n\n\n\n<p>In order to connect your other remote devices, you need to generate unique access keys for them.<\/p>\n\n\n\n<p>To generate access keys from the Outline manager, and under access keys, click the plus (+) button <strong>Add new key<\/strong> to add the keys.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"866\" height=\"814\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2023\/07\/generate-access-keys.png\" alt=\"\" class=\"wp-image-17700\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2023\/07\/generate-access-keys.png?v=1688584611 866w, https:\/\/kifarunix.com\/wp-content\/uploads\/2023\/07\/generate-access-keys-768x722.png?v=1688584611 768w\" sizes=\"(max-width: 866px) 100vw, 866px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"install-outline-client-app-on-linux-windows-systems\">Install Outline Client App on Linux\/Windows Systems<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"download-outline-client-app-installer\">Download Outline Client App Installer<\/h4>\n\n\n\n<p>Download the <a href=\"https:\/\/getoutline.org\/en-GB\/get-started\/#step-3\" target=\"_blank\" rel=\"noreferrer noopener\">Outline client app<\/a> for your respective system.<\/p>\n\n\n\n<p>For  Linux systems;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>wget https:\/\/s3.amazonaws.com\/outline-releases\/client\/linux\/stable\/Outline-Client.AppImage<\/code><\/pre>\n\n\n\n<p>For Windows systems (from powershell);<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd $env:userprofile\\Downloads<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>Invoke-WebRequest -Uri \"https:\/\/s3.amazonaws.com\/outline-releases\/client\/windows\/stable\/Outline-Client.exe\" -OutFile Outline-Client.exe<\/code><\/pre>\n\n\n\n<p>Note that you can also click the access key share icon on the manager for the respective client to show how to installation is done.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"install-outline-client-app\">Install Outline Client App<\/h4>\n\n\n\n<p>Install the Outline client app on respective system.<\/p>\n\n\n\n<p>On Linux client;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>chmod +x .\/Outline-Client.AppImage<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>.\/Outline-Client.AppImage<\/code><\/pre>\n\n\n\n<p>On windows, just double click the installer to install Outline client. Once the installation is done, double click the client icon to launch it.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"connect-outline-client-to-outline-manager\">Connect Outline Client to Outline Manager<\/h4>\n\n\n\n<p>In each system, you will get some information about personal information, \"Outline will never collect your personal information\". Click <strong>GOT IT<\/strong> to proceed.<\/p>\n\n\n\n<p>You now need to add the server;<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"552\" height=\"744\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2023\/07\/add-server-to-client.png\" alt=\"\" class=\"wp-image-17703\" title=\"\"><\/figure><\/div>\n\n\n<p>Thus, click <strong>Add server<\/strong>. This will then prompt you to enter the respective client access key.<\/p>\n\n\n\n<p>You can get the access key from the Outline manager by clicking the sharing icon for each system;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"860\" height=\"752\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2023\/07\/get-the-access-key-from-manager.png\" alt=\"\" class=\"wp-image-17704\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2023\/07\/get-the-access-key-from-manager.png?v=1688586745 860w, https:\/\/kifarunix.com\/wp-content\/uploads\/2023\/07\/get-the-access-key-from-manager-768x672.png?v=1688586745 768w\" sizes=\"(max-width: 860px) 100vw, 860px\" \/><\/figure>\n\n\n\n<p>Copy the access Key that starts with ss:\/\/;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"865\" height=\"728\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2023\/07\/copy-access-key-for-client.png\" alt=\"\" class=\"wp-image-17705\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2023\/07\/copy-access-key-for-client.png?v=1688587057 865w, https:\/\/kifarunix.com\/wp-content\/uploads\/2023\/07\/copy-access-key-for-client-768x646.png?v=1688587057 768w\" sizes=\"(max-width: 865px) 100vw, 865px\" \/><\/figure>\n\n\n\n<p>Copy the key from the manager and paste on client. Click <strong>DONE<\/strong> to close the wizard.<\/p>\n\n\n\n<p>Once you paste, click <strong>ADD SERVER<\/strong>.<\/p>\n\n\n\n<p>Next, click <strong>Connect<\/strong> to connect the client to the manager.<\/p>\n\n\n\n<p>If all is good, the client should now be connected to the manager.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"463\" height=\"731\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2023\/07\/connected-to-outline-manager.png\" alt=\"\" class=\"wp-image-17706\" title=\"\"><\/figure><\/div>\n\n\n<h3 class=\"wp-block-heading\" id=\"verify-connection-to-the-outline-manager\">Verify Connection to the Outline Manager<\/h3>\n\n\n\n<p>Your traffic should now be routed through your Outline VPN manager.<\/p>\n\n\n\n<p>Your IP address should match the IP address of your VPS\/or Outline manager server.<\/p>\n\n\n\n<p>On Linux, you can confirm on the command line or browser;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl -4 ifconfig.co<\/code><\/pre>\n\n\n\n<p>On windows, check on browser \"what is my IP\".<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"set-data-limit-for-the-clients\">Set Data Limit for the Clients<\/h3>\n\n\n\n<p>If you want to restrict the data limits for each clients, click the three dots beside each client's access key on the Outline manager and go to Data limits.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"865\" height=\"783\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2023\/07\/set-data-limits-for-clients.png\" alt=\"\" class=\"wp-image-17707\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2023\/07\/set-data-limits-for-clients.png?v=1688588015 865w, https:\/\/kifarunix.com\/wp-content\/uploads\/2023\/07\/set-data-limits-for-clients-768x695.png?v=1688588015 768w\" sizes=\"(max-width: 865px) 100vw, 865px\" \/><\/figure>\n\n\n\n<p>You can access other Outline manager settings via the settings button.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"decommission-the-outline-vpn-manager-server\">Decommission the Outline VPN Manager Server<\/h3>\n\n\n\n<p>You can at any time decommission your server.<\/p>\n\n\n\n<p>On the Outline manager dashboard, click the three dots at the top right corner and <strong>Remove the server<\/strong>.<\/p>\n\n\n\n<p>And that it. You can now browse via the open-source VPN service that is resistant to blocking and censorship.<\/p>\n\n\n\n<p>That concludes our guide on installing Outline VPN on Linux Systems.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"other-tutorials\">Other Tutorials<\/h3>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/setup-ipsec-vpn-using-strongswan-on-debian-10\/\" target=\"_blank\" rel=\"noreferrer noopener\">Setup IPSEC VPN using StrongSwan on Debian 10<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/install-and-setup-pritunl-vpn-server-on-debian\/\" target=\"_blank\" rel=\"noreferrer noopener\">Install and Setup Pritunl VPN Server on Debian<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, you will learn how to easily install Outline VPN on Linux systems. You can build a VPN server using OutlineVPN technology that&#8217;s<\/p>\n","protected":false},"author":10,"featured_media":17710,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"footnotes":""},"categories":[34,121,282,321],"tags":[6999,6996,6997,7000,6998,323],"class_list":["post-16316","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-security","category-howtos","category-openvpn","category-vpn","tag-install-outline-manager-on-linux","tag-install-outline-manager-vpn-on-linux","tag-outline-manager-debian-12","tag-outline-manager-vpn","tag-outline-vpn-client-apps","tag-vpn","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-50","resize-featured-image"],"_links":{"self":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/16316"}],"collection":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/comments?post=16316"}],"version-history":[{"count":10,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/16316\/revisions"}],"predecessor-version":[{"id":20827,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/16316\/revisions\/20827"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media\/17710"}],"wp:attachment":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media?parent=16316"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/categories?post=16316"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/tags?post=16316"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}