Selaa lähdekoodia

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 vuotta sitten
vanhempi
commit
de1f4d73bb
2 muutettua tiedostoa jossa 6 lisäystä ja 0 poistoa
  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