From be26e227f1a49dcc8888bff08163fafba658e1a3 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Tue, 4 Aug 2015 14:46:01 +0200 Subject: add functions to use the fau vpn fauvpnfull - full tunneling fauvpnsplit - only tunnel communication with fau services --- config/fish/functions/fauvpnfull.fish | 6 ++++++ config/fish/functions/fauvpnsplit.fish | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100644 config/fish/functions/fauvpnfull.fish create mode 100644 config/fish/functions/fauvpnsplit.fish (limited to 'config/fish/functions') 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 -- cgit v1.2.3