使用 AES-128-CBC 连接到 openvpn 2.3.10

使用 AES-128-CBC 连接到 openvpn 2.3.10

我有带有 openvpn 2.4.7 客户端的 ubuntu 20.04,并且想要连接到带有 AES-128-CBC 的 openvpn 2.3.10 服务器

这是我的client.conf

port 443
client
dev tun
proto tcp4-client
remote [the.vpnserver.ip]
remote-cert-tls server

ca   /etc/openvpn/server-ca.crt
cert /etc/openvpn/fb3.sbs.crt
key  /etc/openvpn/fb3.sbs.key

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

nobind
persist-key
persist-tun
verb 3
log-append /var/log/openvpn.log
script-security 2
tls-cipher "DEFAULT:@SECLEVEL=0"

当我启动 openvpn 客户端时出现此错误。

ovpn-client[7357]: Options error: Unrecognized option or missing or extra parameter(s) in /etc/openvpn/client.conf:13: data-ciphers (2.4.7)
ovpn-client[7357]: Use --help for more information.
systemd[1]: [email protected]: Main process exited, code=exited, status=1/FAILURE
systemd[1]: [email protected]: Failed with result 'exit-code'.

相关内容