-- MikeGore - 2016-11-01


OpenConnect command line options documenation

OpenConnect Installation - Linux Ubuntu / Debian / Raspberry PI

  • apt-get install openconnect network-manager-openconnect-gnome

OpenConnect command line usage example for UofW

  • openconnect -u userid -b cn-vpn.uwaterloo.ca
    • This will prompt for the watiam password for the given userid
  • openconnect -b cn-vpn.uwaterloo.ca
    • This will prompt for both userid and password

OpenConnect shell script to connect to UofW via the command line

  • uw script download link: command line tool for starting and stopping openconnect to the University of Waterloo
    • Save file as uw
    • As root copy file to /usr/local/bin/uw
    • Change permissions: chmod 755 /usr/local/bin/uw
  • Examples:
    • uw start - start the VPN connection
      • prompts for userid and password from WATIAM
    • uw status - verify status of VPN connection
      • process is running: nnnnn - where nnnnn is the PID of the running openconnect process
    • uw stop - stop VPN connection - shutdown openconnect process

OpenConnect GUI interface and source code

Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatext uw r2 r1 manage 2.6 K 2016-11-02 - 11:50 MikeGore script to start and stop openconnect
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2016-11-02 - MikeGore
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback