On Fri, Jan 23, 2015 at 9:33 PM, Chao Xi <chaoxi at falun.ga> wrote: > Hi, > A copy of ocserv 0.9.0.1 was installed on a Ubuntu 14.10 64bit VPS hosted on DigitalOcean. Connection was successfully made to ocserv on an OS X client using Cisco AnyConnect client 3.1.05182, but connection was not possible on iOS using AnyConnect 3.0.121.69. [...] > ocserv[12940]: GnuTLS error (at worker-vpn.c:349): Error in the push function. > ocserv[12938]: main: 188.29.164.204:33114 main-misc.c:501: command socket closed > ocserv[12938]: main: 188.29.164.204:33114 removing client '' with id '12940' The error merely says that the client disconnected. > Here is the ocserv config: >>auth = "plain[/etc/ocserv/ocpasswd]" > socket-file = /var/run/ocserv-socket You don't see to have enabled support for anyconnect clients. Check the manual for that. > device = tun0 Are you sure about the above? With that name you'll most probably create conflicts. regards, Nikos