Skip to content

Instantly share code, notes, and snippets.

@vczb
Created April 15, 2025 15:01
Show Gist options
  • Save vczb/433a3576349d8ed8557c48307b94879c to your computer and use it in GitHub Desktop.
Save vczb/433a3576349d8ed8557c48307b94879c to your computer and use it in GitHub Desktop.
Auto connect Nord VPN San Francisco US
#/etc/systemd/system/nordvpn-connect.service
[Unit]
Description=Connect to NordVPN on boot
After=network-online.target
Wants=network-online.target
Requires=nordvpnd.service
[Service]
Type=oneshot
ExecStart=/bin/bash -c 'export HOME=/home/vini && /usr/bin/nordvpn connect San_Francisco'
RemainAfterExit=true
User=vini
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment