aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2015-08-04 14:46:01 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2015-08-04 14:46:01 +0200
commitbe26e227f1a49dcc8888bff08163fafba658e1a3 (patch)
treefc50b6e74e6846e87c938fb60cad56aeb60e543b
parentd1fa1bc9c76754478675b6ddf9b546126323ae41 (diff)
downloaddotfiles-be26e227f1a49dcc8888bff08163fafba658e1a3.tar.gz
dotfiles-be26e227f1a49dcc8888bff08163fafba658e1a3.zip
add functions to use the fau vpn
fauvpnfull - full tunneling fauvpnsplit - only tunnel communication with fau services
-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