Manage OpenVPN connections with Viscosity-style menus, traffic monitoring, DNS controls and a kill switch.
Open-source alternatief voor Viscosity
Manage OpenVPN connections with Viscosity-style menus, traffic monitoring, DNS controls and a kill switch. Manages connections in folders, shows live traffic and logs, and handles DNS, proxies, kill switch, credentials in the system keychain, OTP challenges, smart cards and reconnects.
READMEzlotny/fluidity-vpn op GitHub
Fluidity sits in your menu bar or system tray and manages all your OpenVPN connections. Connect with one click, see live traffic, and let Fluidity handle DNS, proxies, credentials and reconnects. A small privileged service does the work that needs admin rights, so the app itself runs as you.
Connections
Editing and import
.ovpn and .conf files, zip and tar.gz bundles, and other clients' bundles. Drag files onto the window to import..fvpnz archives to share them.Authentication
Networking
Behaviour
Automation
fluidity command-line tool, and AppleScript on macOS.fluidity:// links that connect, disconnect or toggle a connection.Enterprise
.pkg installer for macOS, an MSI for Windows, and deb and rpm packages for Linux.Download the package for your system from the Releases page.
| System | Package | Notes |
|---|---|---|
| macOS 13 or later | Fluidity-<version>.pkg | Includes OpenVPN and obfs4. Installs the app and its helper service. |
| Windows 10 or later | Fluidity-<version>-x64.msi | Needs OpenVPN 2.6 or later. Installs the app, the service and the CLI. |
| Ubuntu 24.04, Debian 13 | fluidity_<version>_<arch>.deb | sudo apt install ./fluidity_*.deb |
| Fedora 42 | fluidity-<version>.<arch>.rpm | sudo dnf install ./fluidity-*.rpm |
On Linux the tray icon needs a StatusNotifierItem host. KDE has one. On GNOME, install the AppIndicator extension.
Open Fluidity, then import a connection file from your VPN provider: click +, choose Import Connection, or drag the file onto the window. Click a connection in the menu or tray to connect. Fluidity asks for credentials when it needs them, and can save them for next time.
On macOS, click Install Command-Line Tool… in Preferences > Advanced first.
fluidity import client.ovpn
fluidity connect "My VPN"
fluidity status
fluidity usage "My VPN"
fluidity disconnect --all
fluidity --help
Open these links from a browser, a launcher, a shortcut or another app:
| Link | Action |
|---|---|
fluidity://connect/My%20VPN | Connect "My VPN". Without a name, connect the last used connection. |
fluidity://disconnect/My%20VPN | Disconnect "My VPN". Without a name, disconnect all connections. |
fluidity://toggle/My%20VPN | Connect or disconnect "My VPN". Without a name, connect the last used connection, or disconnect all. |
On macOS, Preferences > General sets a global shortcut for toggle. On Linux, bind xdg-open fluidity://toggle to a key in your desktop's keyboard settings.
tell application "Fluidity"
connect "My VPN"
get {name, state} of every connection
end tell
Each connection can run a script before connect, after connect and after disconnect. Scripts get the connection details in environment variables such as FLUIDITY_DISPLAYNAME, FLUIDITY_IPV4ADDRESS and FLUIDITY_INTERFACE. A before-connect script can print FluidityNoConnect to stop the connection, or FluidityUsername:<name> and FluidityPassword:<password> to supply credentials.
Put <Name>.fluiditymenuitem files (a script, or a folder with a script file and an optional icon.png) in the Menu Items folder of the Fluidity data folder. They appear in the menu.
Put a deployment folder at one of these paths:
| System | Path |
|---|---|
| macOS | /Library/Application Support/Fluidity/Deploy or Fluidity.app/Contents/Resources/Deploy |
| Windows | C:\ProgramData\Fluidity\Deploy |
| Linux | /etc/fluidity/deploy |
| Item | Purpose |
|---|---|
deploy.json | {"version": "1", "connections": "replace"}. Modes: append, replace, overwrite, prompt. |
Connections/ | .ovpn, .conf, .fvpn, .fvpnz and other files to import. |
preferences.json | Initial preferences, applied once. |
Menu Items/ | .fluiditymenuitem files. |
The app applies each deployment version once per user. fluidity deploy applies it from the command line. Preferences in managed.json next to the Deploy folder (/etc/fluidity/managed.json on Linux) are enforced on every start.
You need Rust stable. The core, the service and the CLI build on every system:
cargo test --workspace
cargo build --release -p fluidityd -p fluidity-cli
macOS needs the Xcode Command Line Tools.
macos/build-app.sh # dist/Fluidity.app
PKG=1 macos/build-app.sh # also dist/Fluidity-<version>.pkg
build-app.sh reads TARGETS (Rust target triples), OPENVPN_DIR (OpenVPN builds to bundle, one folder per version), SIGN_IDENTITY and INSTALLER_IDENTITY.
Linux builds run in Docker, based on Ubuntu 24.04. The app needs GTK 4.14 and libadwaita 1.5.
linux/build.sh "cargo build --release" # GTK app
linux/build.sh "sh /src/linux/package.sh" # dist/linux/*.deb and *.rpm
Windows needs the MSVC toolchain, GTK 4 and libadwaita from gvsbuild, and WiX 6.
gvsbuild build gtk4 libadwaita librsvg adwaita-icon-theme
dotnet tool install --global wix --version 6.0.2
wix extension add -g WixToolset.UI.wixext/6.0.2
windows\build-msi.ps1 # dist\windows\Fluidity-<version>-x64.msi
Tests. tests/e2e/run.sh connects to a real OpenVPN server in Docker. tests/e2e/run-linux-gui.sh drives the Linux app under Xvfb.
| Path | Contents |
|---|---|
crates/fluidityd | Privileged service: runs OpenVPN, changes DNS, proxies and firewall rules. |
crates/fluidity-cli | The fluidity command-line tool. |
crates/fluidity-core | Connection store, import, export, preferences, deployment. |
crates/fluidity-config | OpenVPN config parser and writer. |
crates/fluidity-ipc | Protocol between the apps and the service. |
crates/fluidity-mgmt | OpenVPN management interface client. |
crates/fluidity-ffi | C interface for the macOS app. |
macos/ | macOS app (Swift, SwiftUI). |
linux/ | GTK 4 and libadwaita app for Linux and Windows, Linux packaging. |
windows/ | Windows installer (WiX). |
tests/e2e/ | End-to-end tests. |
0BSD. Bundled third-party programs keep their own licenses: OpenVPN (GPL-2.0) and lyrebird (BSD-3-Clause).
Laatst bijgewerkt vanaf GitHub: 4 uur geleden
GitHub-cijfers worden een paar keer per dag ververst.
Log in of maak een account aan om te reageren.
Nog geen reacties. Wees de eerste.
Laat het zien: een live kaart met je positie en beoordeling, die zichzelf bijwerkt.
Liever de kleine? Voeg toe: ?style=flat