- Name config file like
mycompany.conf
and put it under/etc/openconnect/
. - If password authentication is required, put password in
mycompany.passwd
in the same folder. - You can have multiple sets of config file if required.
- Download
[email protected]
to/etc/systemd/system/
systemctl daemon-reload
systemctl 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