How to Install Outline VPN on Ubuntu 24.04

Outline VPN is an open-source, user-friendly VPN solution designed to help users securely access the internet. It offers a simple setup process and a dedicated management application to configure and manage your VPN server.

Download the Installation Script

Open your terminal and run the following command to download the Outline installation script:

wget https://raw.githubusercontent.com/AmirOVH/outline-install/main/outline-install.sh

Output:

root@vps:~# wget https://raw.githubusercontent.com/AmirOVH/outline-install/main/outline-install.sh
--2024-09-23 08:35:51--  https://raw.githubusercontent.com/AmirOVH/outline-install/main/outline-install.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.109.133, 185.199.108.133, 185.199.110.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.109.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2860 (2.8K) [text/plain]
Saving to: ‘outline-install.sh’

outline-install.sh                   100%[====================================================================>]   2.79K  --.-KB/s    in 0s      

2024-09-23 08:35:51 (14.5 MB/s) - ‘outline-install.sh’ saved [2860/2860]

Make the Script Executable

Change the permissions of the downloaded script to make it executable:

chmod +x outline-install.sh

Run the Script

Execute the script by running:

./outline-install.sh

Output:

root@vps:~# ./outline-install.sh
Welcome to Outline VPN Auto Installer script by Amir.OVH
Outline VPN installation is ready to begin, press any key to start.
Do you want to remove the firewall from the system? (y/N): y
Removing the firewall from the system...
.
.
.
To manage your Outline server, please copy the following line (including curly
brackets) into Step 2 of the Outline Manager interface:

{"apiUrl":"https://104.238.57.181:25488/PeXWRoqD2b6Z5SDTchCqZw","certSha256":"1E85C7611EC76852D67DFE77BF1406CC70F092074D61FDD07B3D72F095167334"}

If you have connection problems, it may be that your router or cloud provider
blocks inbound connections, even though your machine seems to allow them.

Make sure to open the following ports on your firewall, router or cloud provider:
- Management port 25488, for TCP
- Access key port 56054, for TCP and UDP

Outline VPN has been installed successfully.

During the installation process, the script will prompt you to configure the firewall. Follow the on-screen instructions to allow the necessary ports and complete the installation.

Make sure to securely store the entire API key (including the curly brackets), as you will need to enter it into the Outline Manager to setup/configure your VPN server.

Download the Outline Manager:

To configure and manage the Outline VPN, you will have to setup the Outline Manager application on your local system. Visit the Outline Website to download the Outline Manager application for your operating system.

Open Outline Manager:

Launch the Outline Manager application on your computer/system and In the Outline Manager interface, look for a prompt or field where you can enter the API URL. (Enter the API key or paste the entire JSON string including the curly brackets you received during the installation process).

Conclusion:

You have successfully installed Outline VPN on your Ubuntu 24.04 server. You can now manage your VPN server through the Outline Manager application and ensure a secure browsing experience.


CrownCloud - Get a SSD powered KVM VPS at $4.5/month!
Use the code WELCOME for 10% off!

1 GB RAM / 25 GB SSD / 1 CPU Core / 1 TB Bandwidth per month

Available Locations: LAX | MIA | ATL | FRA | AMS