summaryrefslogtreecommitdiffstats
path: root/vpn-connect
diff options
context:
space:
mode:
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