Can not establish a connection.
Nikos Mavrogiannopoulos
n.mavrogiannopoulos at gmail.com
Thu Mar 20 02:23:11 EDT 2014
On Thu, Mar 20, 2014 at 6:56 AM, Jeremy Hou <jeremy.hou at me.com> wrote:
> Hi,
> I just installed ocserv, I modified the sample.config and generated the cert through the manual.
> I use Anyconnect.app on my iPhone to connect to the server, but the connection could not be established successfully, it seems the connection was lost right after the IP was assigned.
> Here is the log on my server:
> rankjie at rankjie:/etc/ocserv$ sudo ocserv -fdc sample.config
> Skipping unknown option 'mobile-dpd'
> listening (TCP) on 0.0.0.0:443...
> listening (UDP) on 0.0.0.0:443...
> ocserv[22445]: [main] initialized ocserv 0.3.1
Why not 0.3.2?
> ocserv[22445]: 114.242.249.148:30338 selected IP for 'rankjie': fe80::94:1634:9100%2696246856
My guess is that ipv6 is the issue here. What happens if you disable
it? You also use link-local addresses and getaddrinfo appends the zone
index. That may also be something that confuses the client.
regards,
Nikos
More information about the openconnect-devel
mailing list