bjdgyc / anylink

AnyLink是一个企业级远程办公 ssl vpn 软件,可以支持多人同时在线使用。基于 openconnect 协议开发,并且借鉴了 ocserv 的开发思路,可以完全兼容 AnyConnect 客户端。
GNU Affero General Public License v3.0
1.64k stars 392 forks source link

anyconnect连接报错 [Error] tun Read err 0 read tun: file already closed #239

Closed PolarisTime closed 5 months ago

PolarisTime commented 1 year ago

使用的anylink版本 ?

0.9.3

使用操作系统的类型和版本?

Rocky Linux release 9.1 (Blue Onyx)

使用linux 内核版本?

Linux PolarisTime 5.14.0-162.23.1.el9_1.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 11 19:09:37 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

具体遇到的问题,可上传截图

第一次正常调通 连接正常 访问内网正常

尝试安装systemd服务,启动正常,客户端连接报错 [Error] tun Read err 0 read tun: file already closed

使用命令行启动连接继续提示报错 [Error] tun Read err 0 read tun: file already closed

客户端版本

Snipaste_2023-05-04_13-45-10

附LOG anylink.output.log

PolarisTime commented 1 year ago

附配置文件 server.toml.txt

bjdgyc commented 1 year ago

配置错误,去掉这一条 X-CSTP-Split-Exclude: 0.0.0.0/0.0.0.0 `