MiVPN MiVPN.
Back to Downloads

MiVPN Server for Linux

Ubuntu, Debian, Raspberry Pi OS and Orange Pi with a desktop · amd64 and arm64 · v1.0.0-1

The app with a window that turns this computer into your VPN server. Install it once, sign in with your account and it keeps running, even after a reboot.

Before you start

SystemUbuntu 22.04 or later, Debian 12 or later, 64-bit Raspberry Pi OS 12, or Ubuntu/Debian on Orange Pi, with a desktop.
Architectureamd64 (Intel/AMD PCs) or arm64 (64-bit Raspberry Pi 4/5 and Orange Pi). For 32-bit systems, use the headless server.
AdministratorThe computer's administrator password: the app asks for it to create and manage the VPN server.
AccountYour mivpn.net account with a MiVPN server.
A computer without a screen, like a VPS or a Raspberry Pi without a desktop? Use the headless server

1 Install

From the MiVPN repository (recommended)

The first line adds the key we sign our packages with, the second adds the repository, and the last two install the app. You only do this once: from then on, updates arrive with the rest of the system's.

curl -fsSL https://mivpn.net/apt/mivpn.gpg | sudo tee /usr/share/keyrings/mivpn.gpg >/dev/null
echo "deb [signed-by=/usr/share/keyrings/mivpn.gpg] https://mivpn.net/apt stable main" | sudo tee /etc/apt/sources.list.d/mivpn.list
sudo apt update
sudo apt install mivpn-server-desktop

Or with the .deb package

Download the package for your architecture:

amd64Intel/AMD PCs and laptops arm6464-bit Raspberry Pi 4/5 and Orange Pi

Not sure of your architecture? Run dpkg --print-architecture

And install it from the folder you downloaded it to:

sudo apt install ./mivpn-server-desktop_*.deb
Installed this way you won't get automatic updates: you'll have to download and install each new version.

2 Open it and sign in

  1. Open “MiVPN Server” from the applications menu.
  2. Enter the administrator password when asked: the app needs it to create and manage the VPN server.
  3. Sign in with your mivpn.net account.
  4. The app sets everything up: it creates the server, opens the port on the router or turns on the relay if your network needs it, and sets up your clients.

3 Make it start by itself

Turn on “Start with the system” in the app window. That way the server keeps running after a reboot, even if you don't open the app again.

The app window

From the window you can see how your server is doing and control it:

StatusWhether the server is serving, the link with mivpn.net, the port and your public IP.
ClientsYour devices, who's connected and since when.
Start and StopStop turns the server off completely, the relay too. Start brings it back.
ReconnectSets the server up again with your account, for example if you've changed plan or network.
Sign outLeaves the computer: unlinks it from your account, releases the ports and deletes its keys and clients.
Creating clientsThey're created from mivpn.net or the MiVPN mobile app, and show up in the window instantly.

Update

New versions arrive through the repository, like the rest of the system.

sudo apt update && sudo apt upgrade

Uninstall

Uninstalling stops everything, unlinks the computer from your account and deletes its keys and clients.

sudo apt remove mivpn-server-desktop

Troubleshooting

It doesn't ask for the administrator password

The app uses PolicyKit to ask for it. Make sure it's installed with sudo apt install pkexec and open the app again.

It doesn't show up in the applications menu

Log out of the desktop and back in, or open it by typing mivpn-server in a terminal.

The app says “no UPnP”

Your router doesn't open ports automatically. Turn on UPnP in its settings and press Reconnect. If your connection doesn't accept incoming traffic (CGNAT), you need a plan with relay.

Can I also install the headless server?

No: a computer can only be a server once. mivpn-server and mivpn-server-desktop exclude each other; apt removes one if you install the other.

Still not working? Write to us from the support chat.