./openconnect-pulse-launcher.py <vpn_url>
where <vpn_url>
is something like https://hostname/emp
.
This python script should work on any distro with the following binaries installed:
awk
ifconfig
openconnect
pkill
route
It can also be used on Nix using the included flake.nix
file.
Add the following to the inputs
section of your flake.nix:
openconnect-pulse-launcher.url = "github:erahhal/openconnect-pulse-launcher";
And add the following package somewhere in your config:
inputs.openconnect-pulse-launcher.packages."${pkgs.system}".openconnect-pulse-launcher
- Launch chromium manually (
--user-data-dir
must be full path, no~/
)
chromium --user-data-dir=/home/<username>/.config/chromedriver/pulsevpn
- Install the Bitwarden extension and setup