Can not establish a connection.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux