您尚未登录。

#1 2024-04-17 10:27:31

caizhengzhu
管理员

OPENVPN相关问题

使用softether搭建OPENVPN使用,由于softether版本过低,而使用OPENVPN Client版本过高,则会出现:

类似于下面的信息:

OPTIONS ERROR: failed to negotiate cipher with server.  Add the server's cipher ('BF-CBC') to --data-ciphers (currently 'AES-256-CBC') if you want to connect to this server

使用2.6以上版本的OPENVPN Client版本会出现,这时候可以降级使用2.5版本就可以了,

或者在2.6版本的config文件中添加:

cipher AES-128-CBC
data-ciphers 'AES-128-CBC'
data-ciphers-fallback 'AES-128-CBC'

就可以了。

离线

#2 2024-04-22 08:19:47

caizhengzhu
管理员

回复: OPENVPN相关问题

提示:

WARNING: Compression for receiving enabled. Compression has been used in the past to break encryption. Sent packets are not compressed unless "allow-compression yes" is also set.

删除配置文件中: comp-lzo  即可

如果出错,可以添加 comp-lzo no

参考:https://forums.openvpn.net/viewtopic.php?t=33503

官方不推荐服务器启用压缩,自己看情况而定

离线

#3 2024-04-22 08:20:38

caizhengzhu
管理员

回复: OPENVPN相关问题

提示:

WARNING: this configuration may cache passwords in memory – use the auth-nocache option to prevent this

配置文件设置了将密码存储在cache中,使用auth-nocache阻止这样的使用方式

解决方法:客户端配置文件添加

auth-nocache

离线

在此主题中在线的注册用户:0, 访客:1
[Bot] ClaudeBot

论坛底部