1. Polski VPN
  2. Guides
  3. Set up a device
  4. Ubuntu Desktop

How to set up a Polish VPN on Ubuntu Desktop

There's no Polski VPN app for Linux. On Ubuntu Desktop you connect with OpenVPN, using the .ovpn file and the login you get after you buy a plan. This guide is written for Ubuntu 26.04 LTS, the current long-term support release.

Sources checked 1 December 2026

Short answer: on Ubuntu 26.04 LTS, install the openvpn package and connect with the .ovpn file from your plan. Type the username and password from your email when the terminal asks, then check that your IP shows Poland. Press Ctrl+C in the terminal to disconnect. If you'd rather switch the VPN on and off from the system menu, import the same file into NetworkManager instead.

What you need

  • Ubuntu Desktop 26.04 LTS. The current long-term support release is Ubuntu 26.04.1 LTS. The package names and commands below come from Ubuntu 26.04's package archive and manuals.
  • Your .ovpn file, username and password. According to our OpenVPN instructions, you get the profile files after you buy a plan, and your login by email. Save the file to your Downloads folder. The commands below call it polski-vpn.ovpn, so use your file's real name.
  • Your Ubuntu password. The sudo commands ask for it.

Connect with OpenVPN in the terminal

  1. Install OpenVPN

    Open Terminal and run the command below. Ubuntu 26.04 has OpenVPN 2.7.0 in its main repository.

    sudo apt install openvpn
  2. Connect with your file

    Run OpenVPN with your .ovpn file:

    sudo openvpn --config ~/Downloads/polski-vpn.ovpn

    When the file doesn't contain your login, OpenVPN asks for the username and password in the terminal, according to its manual for Ubuntu 26.04. Type the ones from your email. Leave the terminal window open while you watch.

  3. Check your IP

    Open our IP check in your browser. It should show Poland.

  4. Disconnect

    Go back to the terminal and press Ctrl+C. The manual says this signal makes OpenVPN exit gracefully, which closes the VPN connection.

Or switch it on from the system menu

Ubuntu's network settings can manage OpenVPN connections through a NetworkManager plugin. Use this if you'd like the VPN next to your Wi-Fi in the system menu.

  1. Install the plugin

    The plugin for Ubuntu 26.04 is the network-manager-openvpn-gnome package.

    sudo apt install network-manager-openvpn-gnome
  2. Import your file

    NetworkManager's manual describes importing an OpenVPN file with nmcli. The plugin does the import and saves the connection.

    nmcli connection import type openvpn file ~/Downloads/polski-vpn.ovpn
  3. Check the login

    Open Settings, then Network. Select the new VPN connection and open its settings, as GNOME's help describes. Make sure your username and password from our email are filled in.

  4. Connect and disconnect

    Open the system menu on the right of the top bar, click the VPN connection and select Connect. A lock icon appears in the top bar. To disconnect, open the same menu and click Turn Off under the connection's name.

Remove the VPN

  • Terminal method: delete the .ovpn file. If you don't need OpenVPN any more, remove it with sudo apt remove openvpn.
  • System menu method: delete the connection with nmcli connection delete followed by its name, as NetworkManager's manual describes.

If it doesn't work

  • OpenVPN stops with an authentication error: check the username and password from your email. Copy and paste them if you can, so no typo or extra space gets in.
  • The IP check doesn't show Poland: make sure the terminal with OpenVPN is still open, or that the connection is on in the system menu.
  • The IP shows Poland, but a service won't play: see what to do when a Polish IP doesn't work.

Plans and prices

Every plan is a one-time payment in Polish złoty, with no auto-renewal. We usually email your sign-in details within 5–10 minutes.

7 days

Try it with one programme

PLN 15

Charged today
PLN 15
Devices you can use at the same time
3
Buy 7 days

1 month

For a month away

PLN 39

Charged today
PLN 39
Devices you can use at the same time
3
Buy 1 month

Compare all six plans · Ask us on WhatsApp

Sources

We checked every source below on 1 December 2026. Offers, prices and rights change, so check the source before you buy.

  1. How to install OpenVPN: Windows, macOS, iPhone and AndroidPolski-VPN.pl (in Polish) · updated 28 November 2024
  2. Ubuntu 26.04.1 LTS (Resolute Raccoon) release pageUbuntu
  3. Package openvpn in Ubuntu 26.04 (resolute)Ubuntu Packages · version 2.7.0-1ubuntu1.4
  4. openvpn(8) manual page for Ubuntu 26.04Ubuntu Manpages
  5. Package network-manager-openvpn-gnome in Ubuntu 26.04 (resolute)Ubuntu Packages · version 1.12.5-1
  6. nmcli: NetworkManager reference manualNetworkManager
  7. GNOME Help: Connect to a VPNGNOME