Page MenuHomeVyOS Platform

OpenVPN: tls-auth missing key direction
Closed, ResolvedPublicBUG

Description

In 1.3 rolling the config

interfaces openvpn <intf> tls auth-file <filename>

does not write the key direction to the OpenVPN config.
It only adds

tls-auth <filename>

where it should add

tls-auth <filename> <key-direction>

Key direction is 0 for server and 1 for client

Details

Difficulty level
Easy (less than an hour)
Version
1.3
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

Viacheslav changed the task status from Open to Needs testing.Sep 23 2020, 12:28 PM

Tested creation on both server and client.
OpenVPN conf file is contains the key-direction
Server and client can connect correctly.

erkin set Issue type to Bug (incorrect behavior).Aug 29 2021, 1:00 PM
erkin removed a subscriber: Active contributors.