How To Install Outline VPN on Rocky Linux 9

Outline VPN is an open-source, easy-to-use VPN service developed by Jigsaw. It provides a secure and private way to access the internet, ideal for both personal and business use. Outline VPN simplifies the process of setting up a VPN and gives users full control over their servers.

Prerequisites

  • Before proceeding with the installation, make sure you have the following:
  • Rocky Linux 9 server with root access
  • A stable internet connection
  • wget installed (if not installed, run: dnf install wget)

Update Your System

First, ensure your package list is up-to-date:

dnf update -y

Install the necessary packages for Docker installation:

dnf install dnf-plugins-core -y

Add Docker's repository to your system:

dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo

Install Docker

Now install Docker:

dnf install docker-ce docker-ce-cli containerd.io -y

Start Docker and enable it to run at startup:

systemctl start docker
systemctl enable docker

Check the Docker version to confirm it's installed correctly:

docker --version

Outline:

docker --version

Outline:

[root@vps ~]# docker --version
Docker version 28.1.1, build 4eba377

Outline Installation Steps

Download the Installation Script: Use wget to download the Outline VPN installation script:

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

Make the script executable: Grant execute permission to the script:

chmod +x outline-install.sh

Run the script: Execute the script to start the installation process:

./outline-install.sh

Output:

Note: The script will guide you through configuring the firewall and completing the installation.

[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...
Redirecting to /bin/systemctl stop iptables.service
.
.
.
Make sure to open the following ports on your firewall, router or cloud provider:
- Management port 29841, for TCP
- Access key port 16456, for TCP and UDP

Outline VPN has been installed successfully.

Done, This guide provides all the essential steps needed for the smooth installation of Outline VPN on Rocky Linux 9.


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