hi-vpn
Help topics · Linux

Linux (NetworkManager & terminal)

Connect a Linux computer with NetworkManager or in the terminal.

Linux desktop: NetworkManager

  1. Install the OpenConnect plugin, e.g. sudo apt install network-manager-openconnect-gnome (Debian / Ubuntu) or sudo dnf install NetworkManager-openconnect-gnome (Fedora).
  2. Open Settings → Network → VPN → + and choose Multi-protocol VPN client (openconnect).
  3. Set VPN Protocol to Cisco AnyConnect or openconnect and Gateway to your server address. Select Add.
  4. Turn the VPN on and enter your username and password when asked.

Menu names differ a little between desktops and versions.

Mac and Linux: openconnect in the terminal

Install openconnect:

# Mac (with Homebrew)
brew install openconnect

# Debian / Ubuntu
sudo apt install openconnect

# Fedora
sudo dnf install openconnect

Then connect, using your server address and username:

sudo openconnect us-1.hi-vpn.com --user=u-YZKX8QJP@hi-vpn

The first password prompt (from sudo) is your computer’s password. When openconnect asks for Password:, paste the device password. Nothing appears while you paste — that’s normal. Press Enter.

When you see Configured as …, you’re connected. Press Ctrl+C to disconnect.

Still stuck?

Email us and include your device and client — never your password. support@hi-vpn.com