openvpn --dev tun --ifconfig 172.16.0.1 172.16.0.2 --cipher AES-256-CBC我在 Ubuntu 22.04 Linux Box 上启动 openvpn 服务器
我使用 easycert 生成证书和密钥,并在 Windows 10 客户端上复制所有内容。
连接不起作用,在系统日志中我发现很多
write to TUN/TAP : Invalid argument (code=22)
write to TUN/TAP : Invalid argument (code=22)
...
Run Code Online (Sandbox Code Playgroud)
怎么了?这是我的客户端配置文件:
client
dev tun
proto udp
remote *MYSERVERIP* 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client.crt
key client.key
remote-cert-tls server
cipher AES-256-CBC
Run Code Online (Sandbox Code Playgroud)