-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
For macOS, you could install openconnect via brew
brew install openconnectThen create openconnect script to connect and disconnect
#!/bin/bash
sudo openconnect -b -q --protocol=anyconnect <your-host-domain> << delimiter
<your-ocserv-username>
<your-ocserv-password>
delimiterAt last, you could grant the scripts and create link and a shell command
chmod 755 <your-scripts>sudo ln -s <your-connect-script> /usr/local/bin/anyconnect
sudo ln -s <your-disconnect-script> /usr/local/bin/kill-anyconnectNow you could use shell command anyconnect and kill-anyconnect to manage your connect.
Metadata
Metadata
Assignees
Labels
No labels