summaryrefslogtreecommitdiffstats
path: root/vpn-connect
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2017-09-13 11:40:16 +0200
committerFlorian Pritz <bluewind@xinu.at>2017-09-13 11:40:16 +0200
commitba38291a468363fe3267313b760ae0522616254b (patch)
tree84fdf4f3a3d084118f29214547a781678b54d26b /vpn-connect
parent3e7f8d425d593b426c46b472012c271c6497a855 (diff)
downloadbin-ba38291a468363fe3267313b760ae0522616254b.tar.gz
bin-ba38291a468363fe3267313b760ae0522616254b.tar.xz
misc
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'vpn-connect')
-rwxr-xr-xvpn-connect5
1 files changed, 2 insertions, 3 deletions
diff --git a/vpn-connect b/vpn-connect
index 70afefd..fef8fea 100755
--- a/vpn-connect
+++ b/vpn-connect
@@ -3,9 +3,8 @@
#vpnc --password-helper "$HOME/bin/vpn-getpass" tu.conf
#vpn-getpass | sudo openconnect -u e1125452@student.tuwien.ac.at --authgroup TU_getunnelt --passwd-on-stdin -b -i vpntun0 vpn.tuwien.ac.at
-vpn-getpass | sudo openconnect -u e1125452@student.tuwien.ac.at --authgroup TU_getunnelt --passwd-on-stdin -b -i vpntun0 vpn.tuwien.ac.at
-
-sleep 1
+## need to run this in shell: sudo openconnect -u e1125452@student.tuwien.ac.at --authgroup TU_getunnelt --syslog -i vpntun0 vpn.tuwien.ac.at
+#vpn-getpass | sudo openconnect -u e1125452@student.tuwien.ac.at --authgroup TU_getunnelt --passwd-on-stdin -b --syslog -i vpntun0 vpn.tuwien.ac.at
sudo ip route delete default dev vpntun0
sudo ip route add default via 192.168.4.1 dev br0