openvpn TLS 错误:TLS 握手失败

openvpn TLS 错误:TLS 握手失败

TLS 错误:TLS 握手失败

OpenVPN 需要开放哪些端口才能正常工作?

服务器配置:

 server

 port 1194

 proto udp

 server-bridge 192.168.1.104 255.255.255.0 192.168.1.160 192.168.1.170

 dev tap0

 ca ca.crt

 cert server.crt

 tun-mtu 1454

 key server.key

 dh dh1024.pem

 up "/etc/openvpn/up.sh br0"

 down "/etc/openvpn/down.sh br0"

 ifconfig-pool-persist ipp.txt

 keepalive 10 600

 comp-lzo

 persist-key

 persist-tun

 verb 3

 mute 20

 status openvpn-status.log

 client-config-dir ccd

 client-to-client

客户端配置:

client:

dev tap

remote servername.com 1194

nobind

resolv-retry infinite

persist-key

persist-tun

ca ca.crt

cert client.crt

key client.key

tls-auth ta.key 1

cipher BF-CBC

comp-lzo

verb 3

答案1

当前配置中需要打开的端口是 1194 UDP。此外,您还需要确保客户端密码与服务器密码匹配。

相关内容