Skip to content
  • About
  • Contact
  • Docs
  • Features
  • Home

Configurations

5
  • Setup RAID Level 6
  • Setup RAID Level 5
  • How To Add Swap on RHEL or Centos based system
  • Website Migration to Non-Panel OpenLiteSpeed Server
  • Linux Server Performance Tuning

CyberPanel

9
  • Mounting /tmp on a Separate File
  • Updating CyberPanel Main VirtualHost Configuration
  • Updating CyberPanel vHosts Configuration
  • How to Change CLI PHP on CyberPanel
  • How to Update PHP Version to 8.1 in CyberPanel (From 7.3, 7.4, or 8.0)
  • CyberPanel Server Cleanup: Logs, Dumps, Backups
  • CyberPanel Full LSPHP Installation PHP 7.4 – 8.3
  • CyberPanel / OpenLiteSpeed: Clean LSPHP Session Files
  • SSL Certificate Management in CyberPanel via SSH

Hestia Control Panel

6
  • Fixing Email Bounce Back Issue in Hestia (Exim4 Blacklist Rejection)
  • Managing Fail2Ban in HestiaCP Server
  • Installing and Configuring PHP Versions in HestiaCP
  • phpMyAdmin Not Found in HestiaCP
  • Setting Up a Reverse Proxy for any Port in HestiaCP
  • How to Install Let’s Encrypt SSL in Hestia CP (Hostname, Admin Panel, and Email Server)

WHM/cPanel

6
  • Setting Up a Reverse Proxy on cPanel/WHM for Port 8081
  • How to increase the size of the cPanel-generated /tmp filesystem
  • Installing Old PHP Versions on a cPanel/WHM Server
  • Fixing “550: Your Country is Not Allowed to Connect to This Server” Error in Exim (cPanel)
  • Enable WP-CLI in CageFS on CloudLinux Servers (WHM/cPanel)
  • Securing /tmp and /var/tmp with a Dedicated Loopback Filesystem

Nagios

5
  • Service Checks
  • Uptime Checks
  • Disk Space Checks
  • Load Checks
  • Email Related Checks

WordPress

3
  • WordPress Core Reinstallation Guide
  • Managing WordPress Users via WP-CLI
  • Website Duplication, Migration, or Domain Change

Operating System

1
  • Server Reboot (RHEL or Centos based system)

AWS

1
  • How to Resize EBS Volumes on AWS

Databases

2
  • MySQL
    • Optimizing MySQL Performance
    • Recovering MySQL in Plesk When InnoDB Crashes

CloudLinux

4
  • Moving cagefs-skeleton directory
  • Enable WP-CLI in CageFS on CloudLinux Servers (WHM/cPanel)
  • Enable bc in CageFS on CloudLinux Servers(WHM/cPanel)
  • How to Upgrade MySQL 5.x to MySQL 8.0 on CloudLinux (WHM server) with MySQL Governor

Cloudflare

1
  • Configuring Security Headers in Cloudflare

ISPmanager

1
  • Install Free SSL (Let’s Encrypt) for domain.tld on ISPmanager with NGINX

Plesk

1
  • Plesk Admin Login Blocked – IP Restriction Recovery Guide

VPN

4
  • Install OpenVPN Open Source in Linux CentOS Ubuntu Debian Servers
  • Protected: OpenVPN Installation & Fix Wiki (CloudLinux / CentOS 7 & 8)
  • Outline VPN Installation & Management Guide
  • Installing AdGuard Home on Debian/Ubuntu (Docker)
View Categories
  • Home
  • Docs
  • VPN
  • Outline VPN Installation & Management Guide

Outline VPN Installation & Management Guide

Here is a clear and complete Wiki-style guide for installing and managing Outline Server and Manager on a Linux server (Ubuntu-based) using Docker:


🛡️ Outline VPN Installation & Management Guide (Linux + Docker)

📋 Overview

Outline is a secure VPN built on Shadowsocks, easy to set up and manage. This guide walks you through:

  • Installing Outline Server
  • Managing it via Outline Manager
  • Making configuration tweaks
  • Reinstalling/Resetting the setup if needed

⚙️ Requirements

  • A Linux server (Ubuntu 20.04/22.04 preferred)
  • Root or sudo privileges
  • Docker installed and running

🚀 Installation Steps

1. Install Outline Server

Run the following command to install the Outline Server:

sudo bash -c "$(wget -qO- https://raw.githubusercontent.com/Jigsaw-Code/outline-server/master/src/server_manager/install_scripts/install_server.sh)"

This will:

  • Verify Docker is installed and running
  • Set your public IP
  • Generate TLS certificates and secret keys
  • Start the shadowbox (VPN server) and watchtower (auto-updates)
  • Create your first access key

✅ If successful, you’ll see:

CONGRATULATIONS! Your Outline server is up and running.

You’ll get something like this:

{"apiUrl":"https://<your-server-ip>:5874/<token>","certSha256":"<sha256-fingerprint>"}

📌 Copy this line — you’ll need it in Outline Manager.


📱 Install Outline Manager (Desktop GUI)

Download from: https://getoutline.org

Available for:

  • Windows
  • macOS
  • Linux (AppImage or .deb)

📌 Paste the connection line from above into Step 2 of the Outline Manager interface to connect and manage your server.


📲 Install Outline Client (to Connect to VPN)

Also available at: https://getoutline.org

Use the access key generated in Outline Manager to connect your devices (Windows, Android, iOS, macOS).


🔧 Optional Configuration

A. Set server hostname (optional)

sudo hostnamectl set-hostname outline-server

B. Force Shadowbox to listen on all interfaces

Edit the Shadowbox config:

sudo sed -i 's/"hostname":.*/"hostname": "0.0.0.0",/g' /opt/outline/persisted-state/shadowbox_config.json

Restart services:

docker stop shadowbox watchtower
docker start shadowbox watchtower

C. Tune Docker Networking (Optional IPv6, iptables settings)

sudo mkdir -p /etc/docker
cat <<EOF | sudo tee /etc/docker/daemon.json
{
  "ipv6": false,
  "iptables": true,
  "userland-proxy": false
}
EOF

sudo systemctl restart docker

Then restart Outline containers:

docker start shadowbox watchtower

🔁 Reinstallation / Resetting Outline Server

If you need to reinstall Outline:

docker stop shadowbox watchtower
docker rm shadowbox watchtower 2>/dev/null
sudo rm -rf /opt/outline 2>/dev/null

Then re-run the installation script:

sudo bash -c "$(wget -qO- https://raw.githubusercontent.com/Jigsaw-Code/outline-server/master/src/server_manager/install_scripts/install_server.sh)"

🔓 Firewall Ports to Open

Ensure these ports are open in your firewall/router/cloud provider:

Port Protocol Purpose
5874 TCP Management API
21680 TCP/UDP VPN Access Keys

📖 Notes

  • The Outline Server will auto-update via Watchtower.
  • You can create/revoke keys and monitor data usage in Outline Manager.
  • You can use custom domain and Let’s Encrypt manually if needed.
Table of Contents
  • 🛡️ Outline VPN Installation & Management Guide (Linux + Docker)
    • 📋 Overview
  • ⚙️ Requirements
  • 🚀 Installation Steps
    • 1. Install Outline Server
    • ✅ If successful, you'll see:
  • 📱 Install Outline Manager (Desktop GUI)
  • 📲 Install Outline Client (to Connect to VPN)
  • 🔧 Optional Configuration
    • A. Set server hostname (optional)
    • B. Force Shadowbox to listen on all interfaces
    • C. Tune Docker Networking (Optional IPv6, iptables settings)
  • 🔁 Reinstallation / Resetting Outline Server
  • 🔓 Firewall Ports to Open
  • 📖 Notes

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest

Was it helpful ?

  • Happy
  • Normal
  • Sad
  • About
  • Contact
  • Docs
  • Features
  • Home

© 2026 Panel Web Hosting

  • About
  • Contact
  • Docs
  • Features
  • Home