Advertisement
mondayx

/etc/init.d/vpn

Nov 20th, 2012
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.28 KB | None | 0 0
  1. #!/bin/sh /etc/rc.common
  2. # LRZ VPN
  3. START=99
  4. start() {
  5. echo "PASSWORT" | openconnect -s /etc/vpnc-script-openconnect -u KENNUNG -i tun --no-cert-check --no-dtls --authgroup=AnyConnect --no-deflate --passwd-on-stdin -b asa-cluster.lrz.de
  6. }
  7. stop() {
  8.         killall openconnect
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement