Pangolin Setup Guide for VPS

Deploying Pangolin on a basic VPS with one vCPU and one gigabyte of RAM delivers a secure, self-hosted reverse proxy with WireGuard tunneling built in. Full control achieved. The guided installer configures Docker automatically, while DNS and SSL setup integrate without manual certificate handling or complex networking. Zero router port exposure needed. You expose local services through encrypted tunnels that verify user identity before granting access to your applications. Security by design. This step-by-step guide serves beginners and seasoned admins who value privacy, simplicity, and fully auditable infrastructure. No vendor lock-in. Each stage includes verification checkpoints to ensure your deployment stays stable and secure. Let us begin.

Pangolin Setup Guide for VPS.

Prerequisites

Before installing Pangolin, prepare a Linux VPS with root privileges and a static public IP address. Your domain must resolve to this IP for dashboard access. A valid email address enables Let's Encrypt automation and secures your admin account. Open four critical ports on your firewall: 80 and 443 for TCP traffic, plus 51820 and 21820 for UDP WireGuard tunnels.These requirements ensure SSL provisioning, secure authentication, and reliable tunneling for your self-hosted services. Verify DNS propagation and firewall rules before running the installer.

How to Set Up Pangolin on a VPS (Linux)

This guide uses a fresh Ubuntu 24.04 instance from VPS.one. Their free subdomain option simplifies DNS setup for testing. Full control starts here. We will walk through each command with clear explanations, so beginners can follow along while pros skip ahead. Every step includes a verification point. Your deployment stays auditable and secure.

Step 1: Connect to Your VPS via SSH

Open your terminal and establish a secure shell session to your server. Replace your-ip with the actual IP address from your dashboard.

ssh root@your-ip

Type yes to confirm the fingerprint, then enter your root password. Connection established.

Step 2: Update System Packages

Refresh your package index and apply security updates before installing new software. This prevents dependency conflicts during deployment.

apt update && apt upgrade -y

Wait for the process to finish. System ready.

Step 3: Configure the Firewall

Allow only essential traffic through UFW, the default Ubuntu firewall. This blocks unauthorized access while keeping Pangolin functional.

ufw allow 22/tcp
ufw allow 80/tcp
ufw allow 443/tcp
ufw allow 51820/udp
ufw allow 21820/udp
ufw enable
ufw reload
ufw status

Verify that all required ports show as ALLOW.

Step 4: Download the Pangolin Installer

Fetch the official installation script directly from Pangolin's secure CDN. This script prepares your environment for Docker and container orchestration.

curl -fsSL https://static.pangolin.net/get-installer.sh | bash

The script validates integrity before execution.

Step 5: Launch the Interactive Installer

Run the installer to begin the guided setup process. It detects your system configuration and prompts for deployment preferences.

./installer

Follow the on-screen prompts carefully. Next step: configuration.

Step 6: Configure Basic Settings

The installer asks for several key values. Enter them precisely to avoid rework.

  1. Edition. Select Community or Enterprise. Review feature differences first.
  2. Base Domain. Input your root domain like example.com. Note: VPS.one provides a free subdomain with every VPS order – find it in your billing panel after payment.
  3. Dashboard Domain. Press Enter for the default pangolin.example.com or customize it.
  4. Let's Encrypt Email. Provide a valid address for SSL certificates and admin recovery.
  5. Tunneling. Keep the default yes to install Gerbil for WireGuard tunnels. Disable only if you need a standard reverse proxy.
  6. SMTP. Choose No for initial setup. Enable later if you require email notifications.
  7. Confirm Installation. The installer pulls Docker images for Pangolin, Gerbil, and Traefik. This takes 2-3 minutes.

Containers start automatically. Deployment in progress.

Optional: When prompted about CrowdSec, select No for now. You can add intrusion prevention later once the core system is stable.

Step 7: Complete Post-Installation Setup

Open your browser and navigate to the URL shown in the installer output.

https://<your-dashboard-domain>/auth/initial-setup

Create your admin account by entering an email and a strong password. Verify the address if SMTP is active. Account secured.

Next, create your first organization. Enter a name and optional description, then click "Create Organization". Your workspace is ready. Start adding services.

Your Self-Hosted Infrastructure Is Now Live

Pangolin on your VPS instance gives you a production-ready reverse proxy with encrypted WireGuard tunnels and automated SSL management. Zero manual certificate renewal. You control access, audit traffic, and expose services without opening risky ports on your router. Privacy preserved. Bookmark this guide for future deployments or team onboarding. When you need to scale, add organizations, configure SMTP, or enable CrowdSec — all from the same dashboard. Growth enabled. Your secure, self-hosted foundation starts now.

DN

The author

Dmitriy Novitsky

Dmitriy Novitsky, Chief Technology Officer at VPS.one, is a seasoned expert in VPS hosting. With years of experience, he shares valuable insights and technical knowledge to help users optimize their hosting performance and stay ahead in the tech world.

How to Set Up a SOCKS5 Proxy on a VPS.

How to Set Up a SOCKS5 Proxy on a VPS

How to Install UFW Firewall.

How to Install UFW Firewall on Ubuntu 24.04

What Is OpenClaw & How To Install It.

What Is OpenClaw & How To Install It