nsbin/vpn.sh

18 lines
318 B
Bash
Raw Normal View History

#!/bin/sh
# 2022-02-10, 10:25, Nico Schottelius
set -e
case "$1" in
lf)
sudo openconnect --protocol=gp portal.techcorpapps.com --user nschottelius
;;
lx)
cd ~/Nextcloud/luxembourg/nico/
sudo openvpn --config nico.ovpn
;;
*)
echo "$0 lf lx"
;;
esac