aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/fish/functions/fauvpnfull.fish6
-rw-r--r--config/fish/functions/fauvpnsplit.fish6
2 files changed, 12 insertions, 0 deletions
diff --git a/config/fish/functions/fauvpnfull.fish b/config/fish/functions/fauvpnfull.fish
new file mode 100644
index 0000000..38455c2
--- /dev/null
+++ b/config/fish/functions/fauvpnfull.fish
@@ -0,0 +1,6 @@
+function fauvpnfull --description "route all traffic through the fau vpn"
+ pushd .;
+ and cd $HOME/Documents/MyDocuments/Study/FAU\ Erlangen/Allgemein/;
+ and sudo openvpn FAU-Fulltunnel.ovpn;
+ and popd;
+end
diff --git a/config/fish/functions/fauvpnsplit.fish b/config/fish/functions/fauvpnsplit.fish
new file mode 100644
index 0000000..30d2649
--- /dev/null
+++ b/config/fish/functions/fauvpnsplit.fish
@@ -0,0 +1,6 @@
+function fauvpnsplit --description "route all fau-related traffic through the fau vpn"
+ pushd .;
+ and cd $HOME/Documents/MyDocuments/Study/FAU\ Erlangen/Allgemein/
+ and sudo openvpn FAU-Splittunnel.ovpn;
+ and popd;
+end