Crux 1.2.4 OpenVpn not start

HI
I migrate my Vyos 1.2.3 to 1.2.4 (own standard build :crux) and OpenVpn server stop worked.

command: show openvpn server

Traceback (most recent call last):
  File "/usr/libexec/vyos/op_mode/show_openvpn.py", line 152, in <module>
    data = get_status(args.mode, intf)
  File "/usr/libexec/vyos/op_mode/show_openvpn.py", line 66, in get_status
    with open(status_file, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/opt/vyatta/etc/openvpn/status/vtun0.status'

I don’t know what i can do with this …

Hi, can you provide your configuration?

show configuration commands | strip-private | match openvpn

@Rafal, your described OpenVPN behaviour don’t reproduced on stable 1.2.4.
Provide please output of command for confirmation that this is really crux.
show version | grep Commit

@Dmitry, my configuration :
set interfaces openvpn vtun0 encryption cipher ‘aes256’
set interfaces openvpn vtun0 hash ‘sha512’
set interfaces openvpn vtun0 local-port ‘1194’
set interfaces openvpn vtun0 mode ‘server’
set interfaces openvpn vtun0 openvpn-option ‘–auth SHA512 --cipher AES-256-CBC --tls-version-min 1.2 --tls-auth /config/openvpn/easy-rsa2/keys/ta.key 0 --tls-cipher TLS-DHE-RSA-WITH-AES-256-GCM-SHA384 --client-config-dir /config/openvpn/vyos/ccd’
set interfaces openvpn vtun0 persistent-tunnel
set interfaces openvpn vtun0 protocol ‘udp’
set interfaces openvpn vtun0 server reject-unconfigured-clients ‘’
set interfaces openvpn vtun0 server subnet ‘xxx.xxx.0.0/23’
set interfaces openvpn vtun0 tls ca-cert-file xxxxxx
set interfaces openvpn vtun0 tls cert-file xxxxxx
set interfaces openvpn vtun0 tls crl-file ‘/config/openvpn/easy-rsa2/keys/crl.pem’
set interfaces openvpn vtun0 tls dh-file xxxxxx
set interfaces openvpn vtun0 tls key-file xxxxxx
set interfaces openvpn vtun0 use-lzo-compression

This configuration working 1.2.3

@Dmitry and version output
show version | grep Commit
Build Commit ID: 2b332ea0c3cd73

This commit id for branch current, seems you build 1.3-rolling. Before build iso, change branch.
git checkout crux
and then make your iso.

1 Like

Thx - now is ok :slight_smile:

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.