Jump to content

OpenConnect Controller Workflow


Recommended Posts

Posted (edited)

This workflow enables you to start, stop, and get the status of an OpenConnect VPN. Here is the controller's gist and the workflow. You'll also need to add the following three lines to your sudoers file via visudo:

 

Cmnd_Alias OPENCONNECT = /usr/local/bin/openconnect --passwd-on-stdin --config=* * &> /usr/local/var/log/openconnect.log

%admin  ALL=(ALL) NOPASSWD: OPENCONNECT
%admin  ALL=(ALL) NOPASSWD: /usr/bin/killall -HUP openconnect

 

 

yTjLvjF.jpg

g3biyfg.jpg

Edited by akutz

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...