English
Outline VPN Installation Guide

Outline is a modern, fast, and secure VPN solution developed by Jigsaw (a subsidiary of Google). It uses the Shadowsocks protocol and provides an easy-to-use management app for configuring your VPN server and clients. This guide will walk you through installing and configuring Outline on your server.
TIP
To install Outline automatically, select its VPS script template when ordering your server, or run it from the VM control panel after your service is activated. The script installs and configures Outline on your server.
Prerequisites
Before starting, ensure you have:
- A server running a supported Linux distribution (Debian/Ubuntu, RHEL/CentOS/AlmaLinux/Rocky/Fedora)
- Root or sudo access to the server for manual installation
- Basic knowledge of command line operations for manual installation
- The server's public IP address
- A device to install the Outline Manager app (Windows, macOS, or Linux)
Installation
Automatic Installation for Hosting Clients
Supported operating systems: Debian 11, Debian 12, Debian 13, Ubuntu 22.04, Ubuntu 24.04.
During Service Order
In the order form, select the "Outline" script template, complete the order, and wait for the script to finish running on your VPS.

After the script finishes, you will receive an email containing your Outline Manager URL and access credentials. Use the management details in Outline Manager. To connect through Outline Connect, use the client access key beginning with ss:// provided by the script. You can create additional keys in Manager.
Through the VM Panel
Go to the VM control panel, navigate to the management of the desired server, expand the "Menu" in the top right corner and select "Run script".

In the dialog, select the "Outline" script template, enable "Send email associated with script", and run the script.

After installation is complete, you will receive an email with your Outline Manager URL and access credentials. Use the management details in Outline Manager and the client access key beginning with ss:// in Outline Connect.
What Gets Installed
The script deploys an Outline VPN server (Shadowsocks-based) inside Docker, managed via the Outline Manager desktop app.
After installation you receive:
- connection-info.txt — contains the Management API URL and certificate fingerprint needed for Outline Manager
How to Connect
- Install Outline Connect on your device.
- Import the client access key provided by the script and connect.
- To manage the server or create additional keys, install Outline Manager, choose "Set up Outline anywhere", and paste the management JSON containing
apiUrlandcertSha256fromconnection-info.txt.
Firewall
The script does not make any changes to the server's firewall configuration — all existing firewall settings remain unchanged.
Server Management
bash
cd /opt/outline-docker && docker compose up -d # start
cd /opt/outline-docker && docker compose down # stop
cd /opt/outline-docker && docker compose logs -f # logsManual Installation
If you already ran the "Outline" script template, skip this installation method and use the connection details it provided.
Choose either automatic or manual installation. Run the manual commands as root (sudo -i). Install Docker first using the official instructions for your distribution. The diagnostics below use the official installer's default container name, shadowbox; for the hosting script, check the actual name with docker ps.
bash
# Update package list
apt-get update -y
# Install required dependencies
apt-get install -y curl jqbash
dnf install -y curl jqRun the Official Outline Installer
The Outline project provides an official installation script that handles all the complex setup:
bash
# Download and run the official Outline installer
curl -fSL https://raw.githubusercontent.com/Jigsaw-Code/outline-server/master/src/server_manager/install_scripts/install_server.sh -o install-outline.sh
bash install-outline.shThis script will:
- Check that Docker is installed and running
- Set up the Outline server with Shadowsocks
- Configure the management interface
- Generate server certificates
- Start all necessary services
Installing the Outline Manager App
After installation, you'll need to install the Outline Manager app to configure your VPN server and create client access keys.
Download the Outline Manager App
Download the Outline Manager app for your platform:
- Windows: Download from official website
- macOS: Download from official website or Mac App Store
- Linux: Download from official website
Finding Your Server Configuration
If you used the VPS script template, take the management details from its email or connection-info.txt. If you ran the official installer manually, use the JSON printed in your SSH terminal. It looks like this:
json
{
"apiUrl": "https://your-server-ip:port/your-server-id",
"certSha256": "your-certificate-hash"
}Copy these details for later.
For the official installer's default installation, the management details are saved here:
bash
# Show the saved management details
cat /opt/outline/access.txtUse those values to rebuild the JSON shown above. Keep apiUrl private: it grants management access to your server.
Adding Your Server to Outline Manager
- Install and launch the Outline Manager app
- Choose "Set up Outline anywhere" in the provider selection

- Paste your server configuration (the JSON containing
apiUrlandcertSha256) copied in the previous step
- Set a server name (optional but recommended)
- Click "Done" to add your server
After successful setup, the app will take you straight to your server dashboard:

Server Configuration
Initial Server Setup
Once your server is added to the Outline Manager app, you can configure it:
- Set a server name - Choose a descriptive name for your VPN server
- Set data limits - Optionally set data limits for users over a rolling 30-day period

Creating Access Keys
Access keys are what clients use to connect to your Outline server. A key can be used on more than one device; create separate keys when you want to revoke access or track usage separately.
Creating Your First Access Key
- Click "Add new key" in the Outline Manager app

- Choose a name for the key (e.g., "My Phone", "Laptop")
- Set data limits (optional)
- Click "Add" to create the key
The system will immediately generate a unique access URL (starting with ss://) that clients will use to connect.
With Outline Manager you can:
- Rename keys
- Monitor traffic usage per key
- Set or reset data limits
To view/share a key, click the Share icon next to it, and the access key will be shown.

Provide it to your users, or use it in the next step.
Client Configuration
Installing Outline Connect
Outline provides official client applications called "Outline Connect" for various platforms.
Windows Installation
- Download Outline Connect from the official website or the direct mirror
- Run the installer and follow the setup wizard
- Launch Outline Connect after installation
macOS Installation
- Download Outline Connect from the Mac App Store or the official website
- Install the application following the standard macOS installation process
- Launch Outline Connect from your Applications folder
Linux Installation
- Download the AppImage from the official mirror
- Make it executable:
chmod +x Outline-Client.AppImage - Run the application
Mobile Devices (Android/iOS)
- Download the app:
- For Android: Google Play Store or direct APK
- For iOS: App Store
- Install and launch the Outline Connect app
Connecting to Your VPN
- Open Outline Connect on your device
- Add a server by clicking the "+" button
- Enter the access key (the
ss://URL you copied from the Outline Manager) - Give the connection a name (optional)
- Click "Add" to save the connection
- Connect by clicking the toggle switch next to your server
Verification
Check Server Status
You can verify that your Outline server is running properly:
bash
# Check if Docker containers are running
docker ps --format "table {{.Names}}\t{{.Status}}\t{{.Ports}}"
# Check Outline server logs
docker logs shadowbox
# Check if the management interface is accessible
ss -lntupTest the VPN Connection
- Connect to your VPN using Outline Connect
- Check your IP address - Visit check-host.net to verify your IP has changed
- Test internet connectivity - Ensure you can browse the web normally
- Check connection stability - Leave the connection active for a while to test stability
Firewall Configuration
Outline uses separate ports for management and client traffic. Use the port numbers printed by the installer: API_PORT is the TCP port in apiUrl; KEY_PORT is the access-key port shown in Outline Manager. Replace these placeholders before running the commands. If keys use different ports, allow each key port.
For UFW (Ubuntu/Debian):
bash
ufw allow API_PORT/tcp
ufw allow KEY_PORT/tcp
ufw allow KEY_PORT/udpFor firewalld (RHEL/CentOS):
bash
firewall-cmd --permanent --add-port=API_PORT/tcp
firewall-cmd --permanent --add-port=KEY_PORT/tcp
firewall-cmd --permanent --add-port=KEY_PORT/udp
firewall-cmd --reloadPorts 80 and 443 are not required unless you chose them. Where possible, restrict the management port to the addresses you use for administration.
Managing Users and Access
Adding Multiple Users
- Create additional access keys in the Outline Manager app
- Share the access URLs with your users
- Set individual data limits for each user if needed
- Monitor usage through the management app
User Management Features
- Usage statistics - View data usage for each access key
- Traffic monitoring - See traffic usage per key; this is not a list of live connections
- Data limits - Set and enforce data limits over a rolling 30-day period
- Key management - Rename, modify, or delete access keys
Troubleshooting
Common Issues
Cannot connect to server in Outline Manager:
- Check if the server is running:
docker ps - Verify the server configuration (apiUrl and certSha256) is correct
- Ensure the port is open in your firewall
- Check if the server is accessible from your network
- Check if the server is running:
Client cannot connect:
- Verify the access key URL is correct
- Check if the server port is accessible
- Ensure the client app is up to date
- Try regenerating the access key
Slow connection speeds:
- Check server resources (CPU, memory, bandwidth)
- Verify your internet connection speed
- Try connecting from a different network
- Check if there are any bandwidth limits set
Outline Manager app shows errors:
- Check Docker container logs:
docker logs shadowbox - Restart the Outline service:
docker restart shadowbox - Verify disk space and system resources
- Try removing and re-adding the server in the Outline Manager app
- Check Docker container logs:
Useful Commands
bash
# Check Outline server status
docker ps --format "table {{.Names}}\t{{.Status}}\t{{.Ports}}"
# View server logs
docker logs shadowbox
# Restart Outline server
docker restart shadowbox
# Check system resources
htop
df -h
# Test network connectivity
ping 8.8.8.8
curl -I https://www.google.comNetwork Debugging
bash
# Check if the Outline port is listening
ss -lntup
# Test port connectivity
telnet your-server-ip your-port
# Check firewall status
ufw status
# OR
firewall-cmd --list-allSecurity Considerations
- Keep access keys secure: Never share access keys publicly and rotate them regularly
- Protect management access: Keep the management JSON private and secure the computer running Outline Manager
- Regular updates: Keep your server and Outline software updated
- Monitor usage: Regularly check the management interface for unusual activity
- Backup configuration: Keep backups of your server configuration
- Network security: Ensure your server is properly secured and firewalled
Advanced Configuration
Custom Port Configuration
Use the port setting in Outline Manager for new access keys. Existing keys can keep their previous ports, so check each key before closing an old firewall port. After changing a key, share the updated access link. Restarting a Docker container does not apply changes to its Compose file.
SSL Certificate Configuration
The official installer creates a self-signed management certificate. Outline Manager checks it against certSha256 from the management JSON, so a publicly trusted certificate is not required. Replacing this certificate also changes its fingerprint. See the official installer for the installation details.
Conclusion
You now have a fully functional Outline VPN server! The Outline Manager app makes it easy to manage users, monitor usage, and configure your VPN server. Users can connect using the official Outline Connect applications on any platform.
Remember to:
- Keep your access keys secure
- Regularly monitor usage and performance
- Keep your server and software updated
- Back up your configuration regularly
The Outline Manager app provides an intuitive interface for all server management tasks, making it easy to maintain and scale your VPN service.