# How do I set up an Outline VPN server?

> How to set up an Outline VPN server on your own VPS in 6 steps: Outline Manager, the install script over SSH, ports, then one access key per person.

- URL: https://tunnelvps.com/guides/how-to-set-up-an-outline-vpn-server/
- Last updated: 2026-11-16
- Publisher: TunnelVPS (https://tunnelvps.com)

Outline Manager on your computer, one install script run over SSH on the server, and access keys you can hand out and delete one by one.

**Quick answer — How do I set up an Outline VPN server?**

To learn how to set up an Outline VPN server, start with a Linux VPS such as a **TunnelVPS** server. Install Outline Manager on your computer, run the install script it shows over SSH, paste the one-line result back into the Manager, then open 2 ports. Each person then gets an access key for the Outline app.

**In brief**

- **Manager**: a desktop app for Windows, macOS and Linux that sets up and runs the server.
- **Server**: an x86-64 Linux machine; the script needs curl and Docker and offers to install Docker.
- **Ports**: a management port (TCP) and an access key port (TCP and UDP).
- **Keys**: one per person, with an optional data limit; delete a key to cut access.

## What are the steps to set up an Outline server?

*Outline VPN server on a TunnelVPS VPS, 6 steps, from the Outline docs read 16 November 2026*

| Step | Where | What to do |
| --- | --- | --- |
| 1 | TunnelVPS checkout | Order a server with a Debian or Ubuntu image and your SSH key. |
| 2 | Your computer | Download Outline Manager from getoutline.org and open it. |
| 3 | Outline Manager | Choose to set up Outline on your own server and copy the install command shown. |
| 4 | Server, over SSH | Paste the command as root and let it install Docker if asked. |
| 5 | Outline Manager | Paste the line in curly brackets printed by the script into Step 2. |
| 6 | Outline Manager | Open the ports the script lists, then create and share access keys. |

## Why choose Outline for a personal VPN?

**Outline is the easiest way to hand a VPN to people who will never touch a terminal.** Each user installs the Outline app and pastes one access key. The server owner does everything else from the Manager.

Outline runs Shadowsocks through `outline-ss-server`, under the Apache-2.0 licence. It is owned by the Outline Foundation, an independent non-profit, and was launched in 2018 by Jigsaw. The [WireGuard, Outline or AmneziaWG comparison](https://tunnelvps.com/wireguard-vs-outline-vs-amneziawg/ "WireGuard, Outline or AmneziaWG: which should I use?") weighs it against the other two.

## What does the server need before the install?

**An x86-64 Linux server with root access, curl and Docker.** TunnelVPS read the Outline install script on 16 November 2026. It stops on any other CPU type, and when Docker is missing it offers to fetch it with `curl https://get.docker.com/ | sh`.

All TunnelVPS images are Debian or Ubuntu on x86-64 KVM, so the script runs as is. Log in first with the [SSH login guide](https://tunnelvps.com/help/first-ssh-login/ "How do I log in to a TunnelVPS server over SSH?"), then run `apt update && apt upgrade` before the install.

## How does the Manager talk to the server?

**Through a management API whose address and certificate fingerprint the script prints at the end.** After the success message, the script prints a single line in curly brackets with an `apiUrl` and a `certSha256`. Copy the whole line, brackets included, into Step 2 of the Manager.

That line is a key to the server. Anyone holding it can create or delete access keys, so keep it private.

*Shape of the line the script prints (dummy values)*

```json
{"apiUrl":"https://203.0.113.10:<MANAGEMENT_PORT>/<SECRET_PATH>","certSha256":"<CERT_FINGERPRINT>"}
```

## Which ports must be open for Outline?

**Two: the management port over TCP, and the access key port over TCP and UDP.** The script picks both numbers and prints them. Inbound UDP and TCP ports are open on the server; the customer chooses the VPN port and sets the firewall.

With no firewall on the server, nothing more is needed. If you run UFW, the script suggests `sudo ufw allow` lines for both ports. If the Manager cannot reach the server, the script warns that a firewall is probably blocking those ports.

*UFW rules for Outline (use the port numbers the script printed)*

```bash
ufw allow <MANAGEMENT_PORT>/tcp
ufw allow <ACCESS_KEY_PORT>/tcp
ufw allow <ACCESS_KEY_PORT>/udp
ufw status verbose
```

## How do access keys work once the server is up?

**Create one key per person in the Manager, send it, and delete it when access should end.** Each key is unique, and the Manager can put a data limit on any key. Anyone asking how to set up an Outline VPN server for relatives cares most about this step. The person pastes the key into the Outline app on Android, iOS, Windows, macOS, Linux or Chrome.

This is the main reason families pick Outline. The [family sharing guide](https://tunnelvps.com/guides/how-to-share-your-vpn-server-with-family/ "How do I share a VPN server with my family?") covers limits and revocation for both Outline and WireGuard.

## Can Outline and WireGuard share one server?

**Yes, as long as they listen on different ports.** Outline runs in Docker on its own ports; WireGuard usually listens on UDP 51820. A Duo or Home plan has room for both.

People who work out how to set up an Outline VPN server often add AmneziaWG later for networks that block Shadowsocks too. The [AmneziaWG install guide](https://tunnelvps.com/guides/how-to-install-amneziawg-on-a-vps/ "How do I install AmneziaWG on a VPS?") uses the same SSH login. Plans and prices are on the [pricing page](https://tunnelvps.com/pricing/ "How much does a TunnelVPS VPN server cost?").

## Outline server questions

### Is Outline free?

The Manager, the server and the apps are free and open source. The only cost is the server itself.

### Does the Outline install script work on ARM servers?

No. The script read on 16 November 2026 exits unless the machine is x86-64. TunnelVPS servers are x86-64.

### What is the best VPS for an Outline server in 2026?

Any x86-64 KVM server with a public IPv4 and enough monthly traffic for the number of keys. Count people and traffic before CPU.

### Can I limit how much data one key uses?

Yes. The Manager can set a data limit on each key, which helps keep a shared server inside its monthly allowance.

### What happens to the keys if the server is reinstalled?

They are gone. Reboot, reinstall and delete are sent from the dashboard and carried out by a person; a reinstall erases the disk, VPN keys included. Plan to run the install again and send new keys.

**Verdict**

- **Outline suits non-technical users**: one key in one app, managed from a desktop app.
- **Keep the `apiUrl` line private**, and open both ports if a firewall runs.

## Sources

1. [Outline: get started](https://getoutline.org/get-started/) — Outline Foundation (read 2026-11-16)
2. [Outline server install script (install_server.sh)](https://github.com/Jigsaw-Code/outline-apps/blob/master/server_manager/install_scripts/install_server.sh) — GitHub (read 2026-11-16)
3. [outline-server repository](https://github.com/Jigsaw-Code/outline-server) — GitHub (read 2026-11-16)
4. [Outline Foundation](https://getoutline.org/) — Outline Foundation (read 2026-11-16)

**Get a server for Outline** Home runs Outline next to WireGuard for a whole household, at $6.37 a month on 12 months. [Order Home for 12 months](https://tunnelvps.com/app/checkout/?plan=home&term=12m&image=ubuntu-24.04&from=guides-how-to-set-up-an-outline-vpn-server&lang=en) · [Outline VPS overview](https://tunnelvps.com/outline-vps/ "Which VPS should I rent for my own Outline server?")

---

TunnelVPS: TunnelVPS rents Linux KVM servers for a personal VPN (WireGuard, Outline or AmneziaWG) in New York, Dallas, Los Angeles, London, Amsterdam and Frankfurt, paid in crypto with no ID document. 5 plans from 2 to 16 GB of RAM and 2 to 6 TB of traffic a month cost the same in all six cities; on the 12-month term each is priced at least 25% under a named comparable plan of a no-KYC crypto host, read on 16 November 2026. The operator is DomaineGoat LLC, Panama.
