Parcourir la 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 il y a 6 ans
Parent
commit
de1f4d73bb
2 fichiers modifiés avec 6 ajouts et 0 suppressions
  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