Cisco AnyConnect VPN client scripts
openconnect
package should be installed (egyum install openconnect
on CentOS 7)- content of this repository should be copied into
/usr/local/sbin/vpn
,/usr/lib/systemd/system
and/etc/vpn
accordingly
- Optionally could be installed Post connection script
/etc/vpnc/post-connect.d/01-workenv
- Optionally could be adjusted logging settings for charon IKE daemon using settings from
/etc/strongswan.d/charon-logging.conf
-
/etc/vpn/vpn-login-<VPN service name>
should be set with correct credentials -
enable and start authentication service:
systemctl enable vpnauth@<VPN service name> systemctl start vpnauth@<VPN service name>
-
enable and start VPN client:
systemctl enable vpnrun@<VPN service name> systemctl start vpnrun@<VPN service name>