Skip to content
forked from chendong12/ocserv

Cisco anyconnect Server config Linux (ocserv)

Notifications You must be signed in to change notification settings

arminkit/ocserv

 
 

Repository files navigation

Cisco anyconnect (ocserv)- Centos7

Install

radius (optional)

Control Service

  • start: systemctl start ocserv
  • stop: systemctl stop ocserv
  • restart: systemctl restart ocserv
  • status: systemctl status ocserv
  • Auto start: systemctl enable ocserv

Add or Remove client

  • Add:/root/anyconnect/user_add.sh
  • change password:ocpasswd -c /etc/ocserv/ocpasswd user_name
  • Delete user: /root/anyconnect/user_del.sh

customizing /var/lib/ocserv/profile.xml

vi /var/lib/ocserv/profile.xml
<ServerList>
                <HostEntry>
                    <HostName>Description1</HostName>
                    <HostAddress>server1_ipaddress:port</HostAddress>
                </HostEntry>
                <HostEntry>
                    <HostName>Description2</HostName>
                    <HostAddress>server2_ipaddress:port</HostAddress>
                </HostEntry>
</ServerList>

About

Cisco anyconnect Server config Linux (ocserv)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 87.3%
  • Python 12.7%