Cisco AnyConnect VPN client scripts
openconnectpackage should be installed (egyum install openconnecton CentOS 7)- content of this repository should be copied into
/usr/local/sbin/vpn,/usr/lib/systemd/systemand/etc/vpnaccordingly
- 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>