Skip to content

About

Unofficial Linux client for FastVPN — one-click connect, kill switch, DNS/IPv6 leak protection. GTK4 + NetworkManager.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Pervius

Unofficial Linux client for FastVPN. Published by Solvetus Labs.

Pervius is a GTK 4/libadwaita desktop app for an existing FastVPN (OpenVPN) subscription. It validates the provider's public server list, imports the profile you choose through NetworkManager and its OpenVPN plugin, and keeps your password out of the profile. It does not provide a VPN service; you need your own FastVPN account.

Pervius is an independent open-source project by Solvetus Labs. It is not affiliated with, endorsed by, or sponsored by Namecheap, Inc. FastVPN is a trademark of Namecheap, Inc.

Screenshots

Connected to Lisbon, with the IP addresses hidden and the traffic, protocol and connected time below Connection and security settings, including the kill switch and Allow local network The location chooser with search, flags and favorites

Features

  • Strict profile validation. The public catalogue is downloaded over HTTPS and checked before use; unsupported or unsafe OpenVPN directives are rejected instead of ignored.
  • NetworkManager does the privileged work. The app runs as your user, never as root. One app-owned NetworkManager profile is reused for every location.
  • Passwords stay out of the profile and out of sight. A NetworkManager secret agent supplies the password on request. Saving it in the desktop keyring is optional; there is never a plaintext fallback. A saved password is never shown again: the Account dialog says "Saved in the keyring" and offers Replace and Forget.
  • No DNS or IPv6 leaks while connected. All DNS goes through the tunnel, and IPv6 outside the (IPv4-only) tunnel is blocked by a NetworkManager hook, whether or not the kill switch is on and whether or not the app is running.
  • Locations: country flags and names, search by city, country, code or alias (UK, USA, Holland…), favorites, and a UDP/TCP switch with a guide.
  • Bounded automatic reconnect after an established tunnel drops (2, 5, 10, 20, 30, 60 s), with a countdown and Stop button. It never retries a failed first connection, a rejected password or a manual disconnect.
  • Tray icon (StatusNotifierItem) with a status line and connected time, connect, favorites, location and kill-switch actions; a green badge when connected, amber while reconnecting.
  • Desktop notifications for drops and recovery while the window is hidden.
  • Connection details: ISP IP and VPN exit IP (hidden until you reveal them), Switch IP (reconnect), traffic totals, connected time and the transport in use.
  • Optional kill switch that blocks traffic outside the tunnel while armed, and still lets you change location or protocol. See Kill switch.
  • Languages: English, European Portuguese, French, Spanish and Italian, following the system language or chosen in Settings.
  • Start at login, hidden in the tray (optional).

Supported distributions

Distribution Status
Ubuntu .deb package. Tested on Ubuntu 26.10, aarch64. Other releases may work but are untested.
Debian Same .deb; untested.
Fedora Planned (RPM). See packaging/rpm/README.md.

The package depends on NetworkManager, network-manager-openvpn, OpenVPN, nftables, polkit, systemd and the GTK 4/libadwaita GObject bindings.

Install

The latest release is on the Releases page. Download the .deb and SHA256SUMS from the same release, verify the checksum, then install. With the GitHub CLI:

gh release download --repo Solvetus/pervius-app --pattern '*.deb' --pattern SHA256SUMS
sha256sum --check SHA256SUMS
sudo apt install ./pervius_*_all.deb

Without it, download both files from the release page and run the last two commands. sha256sum must print OK for the .deb; do not install a package whose checksum does not match. The packages are not signed yet.

Start Pervius from the application menu or run pervius. Do not run it with sudo.

First use

  1. In the Account row choose Edit.
  2. Enter your FastVPN username and password.
  3. Choose a location and UDP or TCP.
  4. Press Connect.

The VPN username is sent to the VPN server. It is separate from your local login, which owns the NetworkManager profile, so other accounts on the same computer cannot use or change it.

Kill switch

The package installs a small root service, pervius-killswitchd, that is idle until you arm the kill switch. Arming asks polkit for permission. While armed, a dedicated nftables table (inet pervius_ks) allows only loopback, the Pervius tunnel (pervius0, only as a real tunnel device), the interfaces you always allow, DHCP to the local network, IPv6 neighbour discovery and the VPN server addresses, and drops all other IPv4 and IPv6 traffic, including plain DNS. Another VPN's tunnel is blocked unless you allow its interface.

While armed you can still change location or protocol: the service resolves the new servers and swaps the allowed addresses in one atomic update, and the profile is pinned to those addresses so OpenVPN needs no DNS outside the tunnel. A connected tunnel resolves the new location through itself before it is dropped. When the tunnel is down, the service may resolve the server names through a DNS window of at most five seconds that admits only its own lookups.

Options, editable while armed:

  • Allow local network permits RFC 1918/ULA ranges.
  • Always allow these interfaces (Settings) — for example wt0 for NetBird. The interfaces are also allowed by the leak guard.

The kill switch never arms itself, and a reboot turns it off (fail-open). Quitting or a crash of the app leaves it armed.

Recovery: if you are offline because the kill switch is still armed, run:

pervius-killswitch disarm

As a last resort (for example if the service is broken), remove the table as root: sudo nft delete table inet pervius_ks. Other commands: pervius-killswitch status, pervius-killswitch arm [--allow-lan] [--allow-interface IFACE], pervius-killswitch configure …, pervius-killswitch update-endpoints, pervius-killswitch diagnose.

Leak guard

While the Pervius-managed VPN is up, a NetworkManager dispatcher hook (/usr/lib/NetworkManager/dispatcher.d/90-pervius-guard) installs the nftables table inet pervius_guard:

  • DNS may only go through the tunnel, loopback and the interfaces you always allow; nothing reaches your router's resolver, whatever another tool (for example NetBird's search domain) configured.
  • IPv6 outside the tunnel is blocked except loopback, link-local, neighbour discovery, unique local addresses and the interfaces you always allow. Turn this part off with Settings → Block IPv6 while connected (applies from the next connection).

It is removed when the VPN goes down and needs neither the app nor the kill switch. The VPN profile is always pinned to resolved server addresses, so reconnecting never needs DNS outside the tunnel. If a NetworkManager crash ever leaves the table behind, sudo nft delete table inet pervius_guard removes it.

Settings

  • Language: system default, English, Português, Français, Español or Italiano; takes effect after a restart.
  • Start at login: starts Pervius hidden in the tray through ~/.config/autostart/com.solvetus.Pervius.desktop.
  • Desktop notifications and Reconnect automatically.
  • Block IPv6 while connected (on by default) and Always allow these interfaces.

Privacy

  • Server list: downloaded over HTTPS from vpn.ncapi.io, the provider's public catalogue, and cached locally.
  • Public IP: the ISP and exit IPs come from https://api64.ipify.org, which sees your public address. If Pervius starts while already connected, the ISP IP is shown as "Not captured": learning it would mean sending traffic outside the tunnel.
  • IP addresses in the connection details are hidden until you press the eye button; the choice is remembered.
  • Pervius has no servers of its own and sends nothing to Solvetus Labs.

Known limitations

  • No auto-protect. The kill switch never arms automatically at login or on a network change, and a reboot turns it off.
  • No DNS filtering (no resolver, blocklists or DoH/DoT handling).
  • Resolving the VPN server names before arming while disconnected is a small, one-time DNS lookup outside the tunnel; while armed and disconnected, only the kill-switch service's own lookups of the server names can leave, for at most five seconds.
  • One managed profile and one account. Favorites change its location; no simultaneous VPNs, multiple accounts or split tunnelling.
  • Switch IP is a reconnect and can return the same exit IP. Traffic totals are interface counters since connecting, not provider data.
  • Not yet verified live: a real unexpected drop with automatic reconnect and long hidden-window sessions with reauthentication.
  • GNOME's own VPN indicator stays visible; it is the system's source of truth and is deliberately not hidden.
  • City names come from the provider and are not translated; the command-line tools and manual pages are English only. Packages are not signed.

Files

  • ~/.local/share/pervius/ — settings, favorites, cached catalogue, CA file, ownership manifest. No passwords.
  • Desktop keyring (Secret Service schema com.solvetus.Pervius) — the saved password, only if you chose to save it.
  • ~/.config/autostart/com.solvetus.Pervius.desktop — only while Start at login is on.

sudo apt remove pervius removes the app, the kill-switch service, the leak guard hook and both firewall tables. The NetworkManager profile Pervius (managed), the data directory and the keyring entry stay until you remove them.

Command-line tools

  • pervius — the desktop app.
  • pervius-killswitch — kill-switch status, arm, disarm and diagnostics.
  • pervius-inspect --zip FILE | --url URL — validate a catalogue ZIP without touching NetworkManager.
  • pervius-proof --location CITY [--proto udp|tcp] — live connection test that changes NetworkManager settings; it prompts for credentials locally and never accepts a password as an argument.

Documentation

Security

Please report vulnerabilities privately, not in public issues: use GitHub's private vulnerability reporting or email security@solvetus.com. See SECURITY.md.

Trademarks

Pervius is an independent open-source project by Solvetus Labs. It is not affiliated with, endorsed by, or sponsored by Namecheap, Inc. FastVPN and Namecheap are trademarks of Namecheap, Inc., used here only to name the service Pervius works with.

License

Apache License 2.0 — see LICENSE and NOTICE.

About

Unofficial Linux client for FastVPN — one-click connect, kill switch, DNS/IPv6 leak protection. GTK4 + NetworkManager.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages