- Name config file like
mycompany.confand put it under/etc/openconnect/. - If password authentication is required, put password in
mycompany.passwdin the same folder. - You can have multiple sets of config file if required.
- Download
[email protected]to/etc/systemd/system/ systemctl daemon-reloadsystemctl start openconnect@mycompany(needs to match the name of config file)- Check status with:
systemctl status openconnect@mycompany - If everything works, set the service to auto-start on boot:
systemctl enable openconnect@mycompany