From ba38291a468363fe3267313b760ae0522616254b Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Wed, 13 Sep 2017 11:40:16 +0200 Subject: misc Signed-off-by: Florian Pritz --- vpn-connect | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'vpn-connect') 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 -- cgit v1.2.3-24-g4f1b