Answer the question
In order to leave comments, you need to log in
How to overcome OpenVPN error "tls-crypt unwrapping failed from"?
Hello
Configs:
Server:
local local-ip
port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh.pem
auth SHA512
cipher AES-256-CBC
tls-crypt tc.key
topology subnet
server 10.8.0.0 255.255.255.0
push "redirect-gateway def1 bypass-dhcp"
ifconfig-pool-persist ipp.txt
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
keepalive 10 120
user nobody
group nobody
persist-key
persist-tun
status openvpn-status.log
log /var/log/openvpn/openvpn.log
log-append /var/log/openvpn/openvpn.log
verb 3
crl-verify crl.pem
explicit-exit-notify
client
proto udp
remote server-ip
port 1194
dev tun
nobind
resolv-retry infinite
persist-key
persist-tun
remote-cert-tls server
auth SHA512
cipher AES-256-CBC
pull-filter ignore "redirect-gateway def1 bypass-dhcp"
#pull-filter ignore "dhcp-option DNS 192.168.55.1"
#pull-filter ignore "dhcp-option DOMAIN example.com"
ignore-unknown-option block-outside-dns
block-outside-dns
verb 3
<ca>
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
-----END PRIVATE KEY-----
</key>
<tls-crypt>
-----BEGIN OpenVPN Static key V1-----
-----END OpenVPN Static key V1-----
</tls-crypt>
TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
TLS Error: TLS handshake failed
TLS Error: tls-crypt unwrapping failed from [AF_INET]IP:PORT
tls-crypt unwrap error: packet too short
Answer the question
In order to leave comments, you need to log in
Faced such a problem. The reason was that NM had a crooked import that ignored the tls-crypt key. When I added this key manually ( https://i.imgur.com/Mzclsgn.png ), everything worked.
How to write data to mifare classic/plus card via i2c interface on pasberi pi?
Why create a duplicate question every other day?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question