Browse Source

Add openvpn easy up commands for linux

On macOS I use Tunnelblick to manage vpns, but on linux these tools
don't really exist, and it's also nicer to be able to open the vpn
connection via the command line rather than having to have a GUI up to
connect.
Colin Powell 6 years ago
parent
commit
de1f4d73bb
2 changed files with 6 additions and 0 deletions
  1. 3 0
      config/fish/functions/evpn.fish
  2. 3 0
      config/fish/functions/pvpn.fish

+ 3 - 0
config/fish/functions/evpn.fish

@@ -0,0 +1,3 @@
+function evpn
+	sudo openvpn --config ~/Nextcloud/vpns/elation.ovpn
+end

+ 3 - 0
config/fish/functions/pvpn.fish

@@ -0,0 +1,3 @@
+function pvpn
+	sudo openvpn --config ~/Nextcloud/vpns/protonvpn.ovpn
+end