Softwr
PiVPN logo

PiVPN

Free one command installer for a WireGuard or OpenVPN server on a Raspberry Pi

PiVPN is free to use. PiVPN is a free, open source script that sets up a home WireGuard or OpenVPN server on a Raspberry Pi, Ubuntu or Debian. Softwr lists it under VPN. PiVPN is available on Linux.

Overview

What is PiVPN?

PiVPN is a set of shell scripts that turns a Raspberry Pi into a VPN server using WireGuard or OpenVPN. A single command installs and configures the server, after which a pivpn command adds, lists and revokes client profiles and can uninstall everything the installer did. The installer lets you customise the VPN port, key strength and client DNS server, and it applies hardened security defaults, with an option to enable unattended security upgrades. It is aimed at people who want a low cost VPN into their home network or a small server on a cloud VPS, without being a networking specialist. It also works on most Ubuntu and Debian based distributions. PiVPN is free and released under the MIT licence. You provide the hardware, the router port forwarding and optionally dynamic DNS. The project states that it is maintained on a best effort basis, so expect slower updates than a commercial product, and there is no hosted service, apps or support contract.

What people use it for

  • Remote access to a home network
  • Safer browsing on public Wi-Fi
  • Self-hosted VPN on a cheap VPS
  • Raspberry Pi hobby projects

The honest half

Where does PiVPN fall short?

The limits buyers hit most with PiVPN: maintained on a best effort basis, not a supported product; and you must supply hardware, port forwarding and dynamic DNS. Each is concrete and checkable: the half of a review a vendor will not write.

  • Maintained on a best effort basis, not a supported product
  • You must supply hardware, port forwarding and dynamic DNS
  • No graphical interface or ready made client apps
  • Gives access to your own network, not a choice of countries

Cross-shopped

What are the alternatives to PiVPN?

The closest alternatives to PiVPN are OpenVPN, WireGuard and Tailscale. Each is a tool buyers genuinely weigh against it, with the reason why.

  • PiVPN vs OpenVPN

    OpenVPN: The protocol behind PiVPN's older option, with a fuller server and client ecosystem

  • PiVPN vs WireGuard

    WireGuard: Configure the protocol directly if you want full control without a wrapper

  • PiVPN vs NetBird

    NetBird: Open source WireGuard network with a web console and no manual keys

  • PiVPN vs Headscale

    Headscale: Open source self-hosted control server for Tailscale clients, easier than raw tunnels

Capabilities

What can PiVPN do?

PiVPN lists 7 features, including one command installer; WireGuard and OpenVPN support; and client profile management.

  • One command installer

  • WireGuard and OpenVPN support

  • Client profile management

  • Hardened security defaults

  • Unattended security upgrades option

  • Custom port, key size and DNS

  • Clean uninstall command

Answered, with sources

Questions people ask

Each answer names the page it came from, so you can check it rather than take our word for it.

What does PiVPN install?

It installs WireGuard by default or OpenVPN, and lets you pick which at install time.

Source
Does PiVPN need a Raspberry Pi?

It is designed for a Raspberry Pi but also works on Ubuntu or Debian servers and most derivatives.

Source
Is PiVPN actively supported?

The project states it is maintained on a best effort basis.

Source

Checked against

Sources

The pages the facts above were read from. Prices and limits change, so the vendor's own page is the final word.

Share

Keep looking

Where to go from PiVPN

Best VPN software for

Compare PiVPN with

Other VPN software

  • Open-source self-hosted VPN server for OpenVPN, WireGuard and IPsec

    Free, then $10/mo12 researched notes
  • Free open-source multi-protocol VPN server and client from the University of Tsukuba

    Free plan12 researched notes
  • Budget consumer VPN with WireGuard, P2P servers and a 31-day money-back guarantee

    From $5/mo12 researched notes
  • Open-source WireGuard zero trust access with a Rust data plane

    Free, then $50/yr12 researched notes
  • Whole-device VPN from Mozilla, built in the open on WireGuard with a Firefox extension

    13 researched notes
  • WireGuard based zero trust networking platform, open source or hosted

    Free, then $2/mo12 researched notes
  • Swedish no-log VPN running diskless servers, with multihop and port forwarding included

    From $4.22/mo12 researched notes
  • Consumer VPN with a large server network and optional security extras

    From $12.95/mo13 researched notes
  • Consumer VPN with included Smart DNS, 7 protocols and unlimited devices

    From $3.96/mo12 researched notes
  • Activist-run OpenVPN and WireGuard VPN with port forwarding and no traffic or time limits

    From €7/mo13 researched notes
  • Consumer VPN with a free Basic app and a paid Premium tier

    Free plan13 researched notes
  • Consumer VPN with unlimited devices, offered alone or bundled with antivirus

    From $14.99/mo14 researched notes
  • Residential-IP VPN powered by a community of independent node operators

    12 researched notes
  • Business VPN and zero trust network security platform from Nord Security

    From $8/mo12 researched notes
  • Consumer VPN from Norton for up to five devices, with kill switch and split tunnelling

    12 researched notes
  • VPN with a free 10 GB monthly plan and paid unlimited plans for up to 10 devices

    Free plan12 researched notes
  • Free circumvention VPN from Toronto, open source since 2006

    Free plan12 researched notes
  • Bonding VPN that combines Wi-Fi, cellular and Ethernet into one encrypted connection

    From $4.99/mo11 researched notes

Softwr does not host reviews and shows no star rating for PiVPN, because a rating we did not collect is not ours to publish. What is here is the pricing and platform detail from the vendor’s own pages, limitations we could state concretely, and alternatives a reviewer confirmed people weigh against it. Tell us if any of it is wrong.

More on PiVPN

Best VPN software alternatives

Consumer VPN with a free tier, 10,000+ servers in 80+ countries and five devices on Premium

freemium

Swedish no-log VPN running diskless servers, with multihop and port forwarding included

subscription

Consumer VPN from Norton for up to five devices, with kill switch and split tunnelling

subscription

WireGuard based zero trust networking platform, open source or hosted

freemium

Consumer VPN from KeepSolid with 3,000+ servers, 6 protocols and a 30-day refund

subscription

Open-source IPsec VPN with IKEv2 for Linux, Android, macOS and Windows

open-source

Bonding VPN that combines Wi-Fi, cellular and Ethernet into one encrypted connection

subscription

Compare PiVPN with alternatives