You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I specify tls_auth in the client config, the key-direction isn't put in the client config.
openvpn::client { 'myclient':
server => 'myserver',
remote_host => '192.168.0.1',
port => '443',
proto => 'tcp',
tls_auth => 'true',
}
The resulting client config contains the PSK (tls-auth), but not the key-direction. Connecting a client with that config to the server results in an HMAC error. Putting key-direction 0 in the client config fixes this issue.
The following is a workaround:
openvpn::client { 'myclient':
server => 'myserver',
remote_host => '192.168.0.1',
port => '443',
proto => 'tcp',
tls_auth => 'true',
custom_options => {
"key-direction" => "1",
},
}
The text was updated successfully, but these errors were encountered:
Support for tls-crypt, which does not require key-direction, could be added too.
tls-crypt is mutually exclusive with tls-auth and enciphers TLS packets with a shared key, making it
impossible to intercept certificate exchange without this shared key.
tls-crypt was added in OpenVPN 2.4.
When I specify
tls_auth
in the client config, the key-direction isn't put in the client config.The resulting client config contains the PSK (
tls-auth
), but not thekey-direction
. Connecting a client with that config to the server results in an HMAC error. Puttingkey-direction 0
in the client config fixes this issue.The following is a workaround:
The text was updated successfully, but these errors were encountered: