Skip to content

Instantly share code, notes, and snippets.

@stonebyte
Last active December 22, 2024 11:04
Show Gist options
  • Save stonebyte/4d2beac1460449b4cf9dd6e921865a45 to your computer and use it in GitHub Desktop.
Save stonebyte/4d2beac1460449b4cf9dd6e921865a45 to your computer and use it in GitHub Desktop.
Add Wireguard configuration from file to Gnome NetworkManager
nmcli connection import type wireguard file "/path/to/wg0.conf"
nmcli connection modify wg0 connection.id "home-vpn"
nmcli connection show home-vpn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment