Unable to connect to ocserv 0.9.0.1 from iOS AnyConnect 3.0.121.69
Chao Xi
chaoxi at falun.ga
Fri Jan 23 12:33:15 PST 2015
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.
Here is the ocserv connection log:
>root at openconnect:~# ocserv -f -d 1
listening (TCP) on 0.0.0.0:1024...
listening (TCP) on [::]:1024...
listening (UDP) on 0.0.0.0:1024...
listening (UDP) on [::]:1024...
ocserv[12938]: main: initialized ocserv 0.9.0
ocserv[12939]: sec-mod: sec-mod initialized (socket: /var/run/ocserv-socket.12938)
ocserv[12940]: worker: 188.29.164.204:33114 accepted connection
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'
Here is the ocserv config:
>auth = "plain[/etc/ocserv/ocpasswd]"
socket-file = /var/run/ocserv-socket
device = tun0
tcp-port = 1024
udp-port = 1024
max-clients = 128
max-same-clients = 2
server-cert = /etc/ocserv/certs/server-cert.pem
server-key = /etc/ocserv/certs/server-key.pem
ca-cert = /etc/ocserv/certs/ca-cert.pem
mobile-idle-timeout = 2400
ipv4-network = 10.130.1.0
ipv4-netmask = 255.255.255.0
dns = 8.8.8.8
dns = 8.8.4.4
Any help is appreciated.
More information about the openconnect-devel
mailing list