Please Help! - OpenVPN Client - Error opening config files

Need help configuring your VPN? Just post here and you'll get that help.
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
tekgamer
OpenVpn Newbie
Posts: 2
Joined: Sun Aug 22, 2021 4:23 pm

Please Help! - OpenVPN Client - Error opening config files

Post by tekgamer » Sun Aug 22, 2021 4:45 pm

apologies if this is in the wrong category... I couldn't find one specific to openvpn client issues.

I have tried to start openvpn multiple ways (even through I'm logged in as root and running as sudo) and I seem to always get file open issues. Please help, I don't know what else to try. I even tried removing the openvpn pkg and re-installing it.

I am running the openvpn client within a docker container.

Code: Select all

root@ubuntu:~# apt list | grep "openvpn/bionic"
	openvpn/bionic,now 2.5.3-bionic0 amd64 [installed]

root@ubuntu:~# uname -a
	Linux ubuntu 3.10.108 #41890 SMP Thu Jul 15 03:41:48 CST 2021 x86_64 x86_64 x86_64 GNU/Linux

root@ubuntu:~# cat /etc/issue
	Ubuntu 18.04.5 LTS \n \l

root@ubuntu:~# cat /etc/*release
	DISTRIB_ID=Ubuntu
	DISTRIB_RELEASE=18.04
	DISTRIB_CODENAME=bionic
	DISTRIB_DESCRIPTION="Ubuntu 18.04.5 LTS"
	NAME="Ubuntu"
	VERSION="18.04.5 LTS (Bionic Beaver)"
	ID=ubuntu
	ID_LIKE=debian
	PRETTY_NAME="Ubuntu 18.04.5 LTS"
	VERSION_ID="18.04"
	HOME_URL="https://www.ubuntu.com/"
	SUPPORT_URL="https://help.ubuntu.com/"
	BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
	PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
	VERSION_CODENAME=bionic
	UBUNTU_CODENAME=bionic

root@ubuntu:~# openvpn --version
	OpenVPN 2.5.3 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Jun 17 2021
	library versions: OpenSSL 1.1.1  11 Sep 2018, LZO 2.08
	Originally developed by James Yonan
	Copyright (C) 2002-2021 OpenVPN Inc <sales@openvpn.net>
	Compile time defines: enable_async_push=no enable_comp_stub=no enable_crypto_ofb_cfb=yes enable_debug=yes enable_def_auth=yes enable_dependency_tracking=no enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown enable_fast_install=needless enable_fragment=yes enable_iproute2=yes enable_libtool_lock=yes enable_lz4=yes enable_lzo=yes enable_maintainer_mode=no enable_management=yes enable_multihome=yes enable_pam_dlopen=no enable_pedantic=no enable_pf=yes enable_pkcs11=yes enable_plugin_auth_pam=yes enable_plugin_down_root=yes enable_plugins=yes enable_port_share=yes enable_selinux=no enable_shared=yes enable_shared_with_static_runtimes=no enable_silent_rules=no enable_small=no enable_static=yes enable_strict=no enable_strict_options=no enable_systemd=yes enable_werror=no enable_win32_dll=yes enable_x509_alt_username=yes with_aix_soname=aix with_crypto_library=openssl with_gnu_ld=yes with_mem_check=no with_sysroot=no

root@ubuntu:~# ll /config/openvpn/
total 20
drwxrwxr-x 1 nobody users  140 Aug 22 15:49 ./
drwxr-xr-x 1 nobody users   36 Aug  4 03:11 ../
-rwxrwxr-x 1 nobody users 2719 Feb  6  2017 ca_rsa_4096.crt*
-rwxrwxr-x 1 nobody users   26 Aug 22 15:49 credentials.conf*
-rwxrwxr-x 1 nobody users 1214 Feb  6  2017 crl_rsa_4096.pem*
-rwxrwxr-x 1 nobody users    0 Aug 22 03:16 openvpn.log*
-rwxrwxr-x 1 nobody users 4276 Aug 22 15:49 openvpn.ovpn*

root@ubuntu:~# sudo openvpn --dev tun0 --client --proto tcp --remote nl-amsterdam.privacy.network 501 --port 501 --verb 5 --resolv-retry infinite --nobind --persist-key --persist-tun --auth-nocache --keepalive 10 120 --data-ciphers aes-256-cbc --data-ciphers-fallback aes-256-cbc --auth sha256 --tls-client --reneg-sec 0 --compress --remote-cert-tls server --crl-verify /config/openvpn/crl_rsa_4096.pem --ca /config/openvpn/ca_rsa_4096.crt  --auth-user-pass /config/openvpn/credentials.conf
2021-08-22 16:36:27 us=146229 WARNING: file '/config/openvpn/credentials.conf' is group or others accessible
2021-08-22 16:36:27 us=146305 Current Parameter Settings:
2021-08-22 16:36:27 us=146335   config = '[UNDEF]'
2021-08-22 16:36:27 us=146518   mode = 0
2021-08-22 16:36:27 us=146547   persist_config = DISABLED
2021-08-22 16:36:27 us=146577   persist_mode = 1
2021-08-22 16:36:27 us=146608   show_ciphers = DISABLED
2021-08-22 16:36:27 us=146656   show_digests = DISABLED
2021-08-22 16:36:27 us=146684   show_engines = DISABLED
2021-08-22 16:36:27 us=146715   genkey = DISABLED
2021-08-22 16:36:27 us=146748   genkey_filename = '[UNDEF]'
2021-08-22 16:36:27 us=146779   key_pass_file = '[UNDEF]'
2021-08-22 16:36:27 us=146815   show_tls_ciphers = DISABLED
2021-08-22 16:36:27 us=146850   connect_retry_max = 0
2021-08-22 16:36:27 us=146882 Connection profiles [0]:
2021-08-22 16:36:27 us=146913   proto = tcp-client
2021-08-22 16:36:27 us=146953   local = '[UNDEF]'
2021-08-22 16:36:27 us=146993   local_port = '[UNDEF]'
2021-08-22 16:36:27 us=147024   remote = 'nl-amsterdam.privacy.network'
2021-08-22 16:36:27 us=147059   remote_port = '501'
2021-08-22 16:36:27 us=147086   remote_float = DISABLED
2021-08-22 16:36:27 us=147117   bind_defined = DISABLED
2021-08-22 16:36:27 us=147150   bind_local = DISABLED
2021-08-22 16:36:27 us=147177   bind_ipv6_only = DISABLED
2021-08-22 16:36:27 us=147212   connect_retry_seconds = 5
2021-08-22 16:36:27 us=147247   connect_timeout = 120
2021-08-22 16:36:27 us=147275   socks_proxy_server = '[UNDEF]'
2021-08-22 16:36:27 us=147306   socks_proxy_port = '[UNDEF]'
2021-08-22 16:36:27 us=147342   tun_mtu = 1500
2021-08-22 16:36:27 us=147369   tun_mtu_defined = ENABLED
2021-08-22 16:36:27 us=147397   link_mtu = 1500
2021-08-22 16:36:27 us=147424   link_mtu_defined = DISABLED
2021-08-22 16:36:27 us=147455   tun_mtu_extra = 0
2021-08-22 16:36:27 us=147486   tun_mtu_extra_defined = DISABLED
2021-08-22 16:36:27 us=147517   mtu_discover_type = -1
2021-08-22 16:36:27 us=147545   fragment = 0
2021-08-22 16:36:27 us=147580   mssfix = 1450
2021-08-22 16:36:27 us=147608   explicit_exit_notification = 0
2021-08-22 16:36:27 us=147639   tls_auth_file = '[UNDEF]'
2021-08-22 16:36:27 us=147667   key_direction = not set
2021-08-22 16:36:27 us=147699   tls_crypt_file = '[UNDEF]'
2021-08-22 16:36:27 us=147726   tls_crypt_v2_file = '[UNDEF]'
2021-08-22 16:36:27 us=147766 Connection profiles END
2021-08-22 16:36:27 us=147800   remote_random = DISABLED
2021-08-22 16:36:27 us=147832   ipchange = '[UNDEF]'
2021-08-22 16:36:27 us=147860   dev = 'tun0'
2021-08-22 16:36:27 us=147892   dev_type = '[UNDEF]'
2021-08-22 16:36:27 us=147920   dev_node = '[UNDEF]'
2021-08-22 16:36:27 us=147960   lladdr = '[UNDEF]'
2021-08-22 16:36:27 us=147994   topology = 1
2021-08-22 16:36:27 us=148030   ifconfig_local = '[UNDEF]'
2021-08-22 16:36:27 us=148057   ifconfig_remote_netmask = '[UNDEF]'
2021-08-22 16:36:27 us=148093   ifconfig_noexec = DISABLED
2021-08-22 16:36:27 us=148121   ifconfig_nowarn = DISABLED
2021-08-22 16:36:27 us=148152   ifconfig_ipv6_local = '[UNDEF]'
2021-08-22 16:36:27 us=148180   ifconfig_ipv6_netbits = 0
2021-08-22 16:36:27 us=148211   ifconfig_ipv6_remote = '[UNDEF]'
2021-08-22 16:36:27 us=148240   shaper = 0
2021-08-22 16:36:27 us=148272   mtu_test = 0
2021-08-22 16:36:27 us=148303   mlock = DISABLED
2021-08-22 16:36:27 us=148331   keepalive_ping = 10
2021-08-22 16:36:27 us=148366   keepalive_timeout = 120
2021-08-22 16:36:27 us=148395   inactivity_timeout = 0
2021-08-22 16:36:27 us=148427   ping_send_timeout = 10
2021-08-22 16:36:27 us=148454   ping_rec_timeout = 120
2021-08-22 16:36:27 us=148489   ping_rec_timeout_action = 2
2021-08-22 16:36:27 us=148521   ping_timer_remote = DISABLED
2021-08-22 16:36:27 us=148550   remap_sigusr1 = 0
2021-08-22 16:36:27 us=148577   persist_tun = ENABLED
2021-08-22 16:36:27 us=148612   persist_local_ip = DISABLED
2021-08-22 16:36:27 us=148641   persist_remote_ip = DISABLED
2021-08-22 16:36:27 us=148669   persist_key = ENABLED
2021-08-22 16:36:27 us=148702   passtos = DISABLED
2021-08-22 16:36:27 us=148737   resolve_retry_seconds = 1000000000
2021-08-22 16:36:27 us=148768   resolve_in_advance = DISABLED
2021-08-22 16:36:27 us=148801   username = '[UNDEF]'
2021-08-22 16:36:27 us=148837   groupname = '[UNDEF]'
2021-08-22 16:36:27 us=148868   chroot_dir = '[UNDEF]'
2021-08-22 16:36:27 us=148902   cd_dir = '[UNDEF]'
2021-08-22 16:36:27 us=148933   writepid = '[UNDEF]'
2021-08-22 16:36:27 us=148970   up_script = '[UNDEF]'
2021-08-22 16:36:27 us=149001   down_script = '[UNDEF]'
2021-08-22 16:36:27 us=149031   down_pre = DISABLED
2021-08-22 16:36:27 us=149068   up_restart = DISABLED
2021-08-22 16:36:27 us=149097   up_delay = DISABLED
2021-08-22 16:36:27 us=149128   daemon = DISABLED
2021-08-22 16:36:27 us=149155   inetd = 0
2021-08-22 16:36:27 us=149181   log = DISABLED
2021-08-22 16:36:27 us=149208   suppress_timestamps = DISABLED
2021-08-22 16:36:27 us=149243   machine_readable_output = DISABLED
2021-08-22 16:36:27 us=149271   nice = 0
2021-08-22 16:36:27 us=149298   verbosity = 5
2021-08-22 16:36:27 us=149330   mute = 0
2021-08-22 16:36:27 us=149358   gremlin = 0
2021-08-22 16:36:27 us=149393   status_file = '[UNDEF]'
2021-08-22 16:36:27 us=149422   status_file_version = 1
2021-08-22 16:36:27 us=149452   status_file_update_freq = 60
2021-08-22 16:36:27 us=149480   occ = ENABLED
2021-08-22 16:36:27 us=149515   rcvbuf = 0
2021-08-22 16:36:27 us=149543   sndbuf = 0
2021-08-22 16:36:27 us=149577   mark = 0
2021-08-22 16:36:27 us=149606   sockflags = 0
2021-08-22 16:36:27 us=149638   fast_io = DISABLED
2021-08-22 16:36:27 us=149671   comp.alg = 1
2021-08-22 16:36:27 us=149702   comp.flags = 4
2021-08-22 16:36:27 us=149737   route_script = '[UNDEF]'
2021-08-22 16:36:27 us=149773   route_default_gateway = '[UNDEF]'
2021-08-22 16:36:27 us=149802   route_default_metric = 0
2021-08-22 16:36:27 us=149836   route_noexec = DISABLED
2021-08-22 16:36:27 us=149871   route_delay = 0
2021-08-22 16:36:27 us=149899   route_delay_window = 30
2021-08-22 16:36:27 us=149931   route_delay_defined = DISABLED
2021-08-22 16:36:27 us=149983   route_nopull = DISABLED
2021-08-22 16:36:27 us=150012   route_gateway_via_dhcp = DISABLED
2021-08-22 16:36:27 us=150038   allow_pull_fqdn = DISABLED
2021-08-22 16:36:27 us=150071   management_addr = '[UNDEF]'
2021-08-22 16:36:27 us=150101   management_port = '[UNDEF]'
2021-08-22 16:36:27 us=150135   management_user_pass = '[UNDEF]'
2021-08-22 16:36:27 us=150167   management_log_history_cache = 250
2021-08-22 16:36:27 us=150196   management_echo_buffer_size = 100
2021-08-22 16:36:27 us=150227   management_write_peer_info_file = '[UNDEF]'
2021-08-22 16:36:27 us=150256   management_client_user = '[UNDEF]'
2021-08-22 16:36:27 us=150287   management_client_group = '[UNDEF]'
2021-08-22 16:36:27 us=150319   management_flags = 0
2021-08-22 16:36:27 us=150350   shared_secret_file = '[UNDEF]'
2021-08-22 16:36:27 us=150382   key_direction = not set
2021-08-22 16:36:27 us=150414   ciphername = 'aes-256-cbc'
2021-08-22 16:36:27 us=150449   ncp_enabled = ENABLED
2021-08-22 16:36:27 us=150478   ncp_ciphers = 'AES-256-CBC'
2021-08-22 16:36:27 us=150510   authname = 'sha256'
2021-08-22 16:36:27 us=150542   prng_hash = 'SHA1'
2021-08-22 16:36:27 us=150575   prng_nonce_secret_len = 16
2021-08-22 16:36:27 us=150602   keysize = 0
2021-08-22 16:36:27 us=150630   engine = DISABLED
2021-08-22 16:36:27 us=150664   replay = ENABLED
2021-08-22 16:36:27 us=150694   mute_replay_warnings = DISABLED
2021-08-22 16:36:27 us=150729   replay_window = 64
2021-08-22 16:36:27 us=150757   replay_time = 15
2021-08-22 16:36:27 us=150785   packet_id_file = '[UNDEF]'
2021-08-22 16:36:27 us=150816   test_crypto = DISABLED
2021-08-22 16:36:27 us=150849   tls_server = DISABLED
2021-08-22 16:36:27 us=150879   tls_client = ENABLED
2021-08-22 16:36:27 us=150912   ca_file = '/config/openvpn/ca_rsa_4096.crt'
2021-08-22 16:36:27 us=150951   ca_path = '[UNDEF]'
2021-08-22 16:36:27 us=150983   dh_file = '[UNDEF]'
2021-08-22 16:36:27 us=151017   cert_file = '[UNDEF]'
2021-08-22 16:36:27 us=151049   extra_certs_file = '[UNDEF]'
2021-08-22 16:36:27 us=151081   priv_key_file = '[UNDEF]'
2021-08-22 16:36:27 us=151115   pkcs12_file = '[UNDEF]'
2021-08-22 16:36:27 us=151147   cipher_list = '[UNDEF]'
2021-08-22 16:36:27 us=151174   cipher_list_tls13 = '[UNDEF]'
2021-08-22 16:36:27 us=151207   tls_cert_profile = '[UNDEF]'
2021-08-22 16:36:27 us=151243   tls_verify = '[UNDEF]'
2021-08-22 16:36:27 us=151275   tls_export_cert = '[UNDEF]'
2021-08-22 16:36:27 us=151307   verify_x509_type = 0
2021-08-22 16:36:27 us=151335   verify_x509_name = '[UNDEF]'
2021-08-22 16:36:27 us=151376   crl_file = '/config/openvpn/crl_rsa_4096.pem'
2021-08-22 16:36:27 us=151410   ns_cert_type = 0
2021-08-22 16:36:27 us=151438   remote_cert_ku[i] = 65535
2021-08-22 16:36:27 us=151465   remote_cert_ku[i] = 0
2021-08-22 16:36:27 us=151498   remote_cert_ku[i] = 0
2021-08-22 16:36:27 us=151531   remote_cert_ku[i] = 0
2021-08-22 16:36:27 us=151562   remote_cert_ku[i] = 0
2021-08-22 16:36:27 us=151592   remote_cert_ku[i] = 0
2021-08-22 16:36:27 us=151619   remote_cert_ku[i] = 0
2021-08-22 16:36:27 us=151654   remote_cert_ku[i] = 0
2021-08-22 16:36:27 us=151689   remote_cert_ku[i] = 0
2021-08-22 16:36:27 us=151717   remote_cert_ku[i] = 0
2021-08-22 16:36:27 us=151745   remote_cert_ku[i] = 0
2021-08-22 16:36:27 us=151784   remote_cert_ku[i] = 0
2021-08-22 16:36:27 us=151817   remote_cert_ku[i] = 0
2021-08-22 16:36:27 us=151847   remote_cert_ku[i] = 0
2021-08-22 16:36:27 us=151879   remote_cert_ku[i] = 0
2021-08-22 16:36:27 us=151906   remote_cert_ku[i] = 0
2021-08-22 16:36:27 us=151960   remote_cert_eku = 'TLS Web Server Authentication'
2021-08-22 16:36:27 us=151993   ssl_flags = 0
2021-08-22 16:36:27 us=152020   tls_timeout = 2
2021-08-22 16:36:27 us=152058   renegotiate_bytes = -1
2021-08-22 16:36:27 us=152089   renegotiate_packets = 0
2021-08-22 16:36:27 us=152124   renegotiate_seconds = 0
2021-08-22 16:36:27 us=152152   handshake_window = 60
2021-08-22 16:36:27 us=152179   transition_window = 3600
2021-08-22 16:36:27 us=152211   single_session = DISABLED
2021-08-22 16:36:27 us=152243   push_peer_info = DISABLED
2021-08-22 16:36:27 us=152275   tls_exit = DISABLED
2021-08-22 16:36:27 us=152307   tls_crypt_v2_metadata = '[UNDEF]'
2021-08-22 16:36:27 us=152338   pkcs11_protected_authentication = DISABLED
2021-08-22 16:36:27 us=152370   pkcs11_protected_authentication = DISABLED
2021-08-22 16:36:27 us=152398   pkcs11_protected_authentication = DISABLED
2021-08-22 16:36:27 us=152431   pkcs11_protected_authentication = DISABLED
2021-08-22 16:36:27 us=152463   pkcs11_protected_authentication = DISABLED
2021-08-22 16:36:27 us=152499   pkcs11_protected_authentication = DISABLED
2021-08-22 16:36:27 us=152528   pkcs11_protected_authentication = DISABLED
2021-08-22 16:36:27 us=152560   pkcs11_protected_authentication = DISABLED
2021-08-22 16:36:27 us=152592   pkcs11_protected_authentication = DISABLED
2021-08-22 16:36:27 us=152623   pkcs11_protected_authentication = DISABLED
2021-08-22 16:36:27 us=152653   pkcs11_protected_authentication = DISABLED
2021-08-22 16:36:27 us=152684   pkcs11_protected_authentication = DISABLED
2021-08-22 16:36:27 us=152718   pkcs11_protected_authentication = DISABLED
2021-08-22 16:36:27 us=152753   pkcs11_protected_authentication = DISABLED
2021-08-22 16:36:27 us=152781   pkcs11_protected_authentication = DISABLED
2021-08-22 16:36:27 us=152813   pkcs11_protected_authentication = DISABLED
2021-08-22 16:36:27 us=152846   pkcs11_private_mode = 00000000
2021-08-22 16:36:27 us=152879   pkcs11_private_mode = 00000000
2021-08-22 16:36:27 us=152908   pkcs11_private_mode = 00000000
2021-08-22 16:36:27 us=152948   pkcs11_private_mode = 00000000
2021-08-22 16:36:27 us=152976   pkcs11_private_mode = 00000000
2021-08-22 16:36:27 us=153004   pkcs11_private_mode = 00000000
2021-08-22 16:36:27 us=153036   pkcs11_private_mode = 00000000
2021-08-22 16:36:27 us=153068   pkcs11_private_mode = 00000000
2021-08-22 16:36:27 us=153100   pkcs11_private_mode = 00000000
2021-08-22 16:36:27 us=153128   pkcs11_private_mode = 00000000
2021-08-22 16:36:27 us=153155   pkcs11_private_mode = 00000000
2021-08-22 16:36:27 us=153192   pkcs11_private_mode = 00000000
2021-08-22 16:36:27 us=153225   pkcs11_private_mode = 00000000
2021-08-22 16:36:27 us=153253   pkcs11_private_mode = 00000000
2021-08-22 16:36:27 us=153281   pkcs11_private_mode = 00000000
2021-08-22 16:36:27 us=153319   pkcs11_private_mode = 00000000
2021-08-22 16:36:27 us=153352   pkcs11_cert_private = DISABLED
2021-08-22 16:36:27 us=153384   pkcs11_cert_private = DISABLED
2021-08-22 16:36:27 us=153414   pkcs11_cert_private = DISABLED
2021-08-22 16:36:27 us=153445   pkcs11_cert_private = DISABLED
2021-08-22 16:36:27 us=153472   pkcs11_cert_private = DISABLED
2021-08-22 16:36:27 us=153500   pkcs11_cert_private = DISABLED
2021-08-22 16:36:27 us=153537   pkcs11_cert_private = DISABLED
2021-08-22 16:36:27 us=153571   pkcs11_cert_private = DISABLED
2021-08-22 16:36:27 us=153602   pkcs11_cert_private = DISABLED
2021-08-22 16:36:27 us=153636   pkcs11_cert_private = DISABLED
2021-08-22 16:36:27 us=153664   pkcs11_cert_private = DISABLED
2021-08-22 16:36:27 us=153695   pkcs11_cert_private = DISABLED
2021-08-22 16:36:27 us=153727   pkcs11_cert_private = DISABLED
2021-08-22 16:36:27 us=153759   pkcs11_cert_private = DISABLED
2021-08-22 16:36:27 us=153786   pkcs11_cert_private = DISABLED
2021-08-22 16:36:27 us=153818   pkcs11_cert_private = DISABLED
2021-08-22 16:36:27 us=153851   pkcs11_pin_cache_period = -1
2021-08-22 16:36:27 us=153879   pkcs11_id = '[UNDEF]'
2021-08-22 16:36:27 us=153914   pkcs11_id_management = DISABLED
2021-08-22 16:36:27 us=153967   server_network = 0.0.0.0
2021-08-22 16:36:27 us=154001   server_netmask = 0.0.0.0
2021-08-22 16:36:27 us=154040   server_network_ipv6 = ::
2021-08-22 16:36:27 us=154074   server_netbits_ipv6 = 0
2021-08-22 16:36:27 us=154107   server_bridge_ip = 0.0.0.0
2021-08-22 16:36:27 us=154141   server_bridge_netmask = 0.0.0.0
2021-08-22 16:36:27 us=154174   server_bridge_pool_start = 0.0.0.0
2021-08-22 16:36:27 us=154206   server_bridge_pool_end = 0.0.0.0
2021-08-22 16:36:27 us=154237   ifconfig_pool_defined = DISABLED
2021-08-22 16:36:27 us=154267   ifconfig_pool_start = 0.0.0.0
2021-08-22 16:36:27 us=154297   ifconfig_pool_end = 0.0.0.0
2021-08-22 16:36:27 us=154328   ifconfig_pool_netmask = 0.0.0.0
2021-08-22 16:36:27 us=154356   ifconfig_pool_persist_filename = '[UNDEF]'
2021-08-22 16:36:27 us=154383   ifconfig_pool_persist_refresh_freq = 600
2021-08-22 16:36:27 us=154421   ifconfig_ipv6_pool_defined = DISABLED
2021-08-22 16:36:27 us=154450   ifconfig_ipv6_pool_base = ::
2021-08-22 16:36:27 us=154478   ifconfig_ipv6_pool_netbits = 0
2021-08-22 16:36:27 us=154511   n_bcast_buf = 256
2021-08-22 16:36:27 us=154542   tcp_queue_limit = 64
2021-08-22 16:36:27 us=154579   real_hash_size = 256
2021-08-22 16:36:27 us=154607   virtual_hash_size = 256
2021-08-22 16:36:27 us=154635   client_connect_script = '[UNDEF]'
2021-08-22 16:36:27 us=154667   learn_address_script = '[UNDEF]'
2021-08-22 16:36:27 us=154704   client_disconnect_script = '[UNDEF]'
2021-08-22 16:36:27 us=154740   client_config_dir = '[UNDEF]'
2021-08-22 16:36:27 us=154768   ccd_exclusive = DISABLED
2021-08-22 16:36:27 us=154803   tmp_dir = '/tmp'
2021-08-22 16:36:27 us=154835   push_ifconfig_defined = DISABLED
2021-08-22 16:36:27 us=154872   push_ifconfig_local = 0.0.0.0
2021-08-22 16:36:27 us=154902   push_ifconfig_remote_netmask = 0.0.0.0
2021-08-22 16:36:27 us=154929   push_ifconfig_ipv6_defined = DISABLED
2021-08-22 16:36:27 us=155016   push_ifconfig_ipv6_local = ::/0
2021-08-22 16:36:27 us=155046   push_ifconfig_ipv6_remote = ::
2021-08-22 16:36:27 us=155073   enable_c2c = DISABLED
2021-08-22 16:36:27 us=155165   duplicate_cn = DISABLED
2021-08-22 16:36:27 us=155197   cf_max = 0
2021-08-22 16:36:27 us=155225   cf_per = 0
2021-08-22 16:36:27 us=155253   max_clients = 1024
2021-08-22 16:36:27 us=155290   max_routes_per_client = 256
2021-08-22 16:36:27 us=155323   auth_user_pass_verify_script = '[UNDEF]'
2021-08-22 16:36:27 us=155356   auth_user_pass_verify_script_via_file = DISABLED
2021-08-22 16:36:27 us=155388   auth_token_generate = DISABLED
2021-08-22 16:36:27 us=155424   auth_token_lifetime = 0
2021-08-22 16:36:27 us=155454   auth_token_secret_file = '[UNDEF]'
2021-08-22 16:36:27 us=155481   port_share_host = '[UNDEF]'
2021-08-22 16:36:27 us=155508   port_share_port = '[UNDEF]'
2021-08-22 16:36:27 us=155540   vlan_tagging = DISABLED
2021-08-22 16:36:27 us=155576   vlan_accept = all
2021-08-22 16:36:27 us=155605   vlan_pvid = 1
2021-08-22 16:36:27 us=155636   client = ENABLED
2021-08-22 16:36:27 us=155668   pull = ENABLED
2021-08-22 16:36:27 us=155703   auth_user_pass_file = '/config/openvpn/credentials.conf'
2021-08-22 16:36:27 us=155734 OpenVPN 2.5.3 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Jun 17 2021
2021-08-22 16:36:27 us=155774 library versions: OpenSSL 1.1.1  11 Sep 2018, LZO 2.08
2021-08-22 16:36:27 us=180427 Error opening 'Auth' auth file: /config/openvpn/credentials.conf: Permission denied (errno=13)
2021-08-22 16:36:27 us=180489 Exiting due to fatal error

root@ubuntu:~# sudo openvpn --dev tun0 --client --proto tcp --remote nl-amsterdam.privacy.network 501 --port 501 --verb 5 --resolv-retry infinite --nobind --persist-key --persist-tun --auth-nocache --keepalive 10 120 --data-ciphers aes-256-cbc --data-ciphers-fallback aes-256-cbc --auth sha256 --tls-client --reneg-sec 0 --compress --remote-cert-tls server --crl-verify /config/openvpn/crl_rsa_4096.pem --ca /config/openvpn/ca_rsa_4096.crt  --auth-user-pass
2021-08-22 16:37:13 us=627771 Current Parameter Settings:
2021-08-22 16:37:13 us=627845   config = '[UNDEF]'
2021-08-22 16:37:13 us=627982   mode = 0
2021-08-22 16:37:13 us=628017   persist_config = DISABLED
2021-08-22 16:37:13 us=628047   persist_mode = 1
2021-08-22 16:37:13 us=628082   show_ciphers = DISABLED
2021-08-22 16:37:13 us=628110   show_digests = DISABLED
2021-08-22 16:37:13 us=628141   show_engines = DISABLED
2021-08-22 16:37:13 us=628172   genkey = DISABLED
2021-08-22 16:37:13 us=628207   genkey_filename = '[UNDEF]'
2021-08-22 16:37:13 us=628236   key_pass_file = '[UNDEF]'
2021-08-22 16:37:13 us=628268   show_tls_ciphers = DISABLED
2021-08-22 16:37:13 us=628300   connect_retry_max = 0
2021-08-22 16:37:13 us=628332 Connection profiles [0]:
2021-08-22 16:37:13 us=628361   proto = tcp-client
2021-08-22 16:37:13 us=628392   local = '[UNDEF]'
2021-08-22 16:37:13 us=628423   local_port = '[UNDEF]'
2021-08-22 16:37:13 us=628510   remote = 'nl-amsterdam.privacy.network'
2021-08-22 16:37:13 us=628538   remote_port = '501'
2021-08-22 16:37:13 us=628570   remote_float = DISABLED
2021-08-22 16:37:13 us=628599   bind_defined = DISABLED
2021-08-22 16:37:13 us=628630   bind_local = DISABLED
2021-08-22 16:37:13 us=628662   bind_ipv6_only = DISABLED
2021-08-22 16:37:13 us=628695   connect_retry_seconds = 5
2021-08-22 16:37:13 us=628724   connect_timeout = 120
2021-08-22 16:37:13 us=628785   socks_proxy_server = '[UNDEF]'
2021-08-22 16:37:13 us=628813   socks_proxy_port = '[UNDEF]'
2021-08-22 16:37:13 us=628840   tun_mtu = 1500
2021-08-22 16:37:13 us=628872   tun_mtu_defined = ENABLED
2021-08-22 16:37:13 us=628905   link_mtu = 1500
2021-08-22 16:37:13 us=628950   link_mtu_defined = DISABLED
2021-08-22 16:37:13 us=628979   tun_mtu_extra = 0
2021-08-22 16:37:13 us=629005   tun_mtu_extra_defined = DISABLED
2021-08-22 16:37:13 us=629032   mtu_discover_type = -1
2021-08-22 16:37:13 us=629064   fragment = 0
2021-08-22 16:37:13 us=629118   mssfix = 1450
2021-08-22 16:37:13 us=629146   explicit_exit_notification = 0
2021-08-22 16:37:13 us=629173   tls_auth_file = '[UNDEF]'
2021-08-22 16:37:13 us=629200   key_direction = not set
2021-08-22 16:37:13 us=629234   tls_crypt_file = '[UNDEF]'
2021-08-22 16:37:13 us=629262   tls_crypt_v2_file = '[UNDEF]'
2021-08-22 16:37:13 us=629294 Connection profiles END
2021-08-22 16:37:13 us=629331   remote_random = DISABLED
2021-08-22 16:37:13 us=629364   ipchange = '[UNDEF]'
2021-08-22 16:37:13 us=629392   dev = 'tun0'
2021-08-22 16:37:13 us=629423   dev_type = '[UNDEF]'
2021-08-22 16:37:13 us=629471   dev_node = '[UNDEF]'
2021-08-22 16:37:13 us=629501   lladdr = '[UNDEF]'
2021-08-22 16:37:13 us=629534   topology = 1
2021-08-22 16:37:13 us=629561   ifconfig_local = '[UNDEF]'
2021-08-22 16:37:13 us=629606   ifconfig_remote_netmask = '[UNDEF]'
2021-08-22 16:37:13 us=629642   ifconfig_noexec = DISABLED
2021-08-22 16:37:13 us=629673   ifconfig_nowarn = DISABLED
2021-08-22 16:37:13 us=629709   ifconfig_ipv6_local = '[UNDEF]'
2021-08-22 16:37:13 us=629737   ifconfig_ipv6_netbits = 0
2021-08-22 16:37:13 us=629765   ifconfig_ipv6_remote = '[UNDEF]'
2021-08-22 16:37:13 us=629799   shaper = 0
2021-08-22 16:37:13 us=629838   mtu_test = 0
2021-08-22 16:37:13 us=629866   mlock = DISABLED
2021-08-22 16:37:13 us=629898   keepalive_ping = 10
2021-08-22 16:37:13 us=629925   keepalive_timeout = 120
2021-08-22 16:37:13 us=629981   inactivity_timeout = 0
2021-08-22 16:37:13 us=630016   ping_send_timeout = 10
2021-08-22 16:37:13 us=630049   ping_rec_timeout = 120
2021-08-22 16:37:13 us=630082   ping_rec_timeout_action = 2
2021-08-22 16:37:13 us=630114   ping_timer_remote = DISABLED
2021-08-22 16:37:13 us=630147   remap_sigusr1 = 0
2021-08-22 16:37:13 us=630174   persist_tun = ENABLED
2021-08-22 16:37:13 us=630201   persist_local_ip = DISABLED
2021-08-22 16:37:13 us=630228   persist_remote_ip = DISABLED
2021-08-22 16:37:13 us=630254   persist_key = ENABLED
2021-08-22 16:37:13 us=630301   passtos = DISABLED
2021-08-22 16:37:13 us=630337   resolve_retry_seconds = 1000000000
2021-08-22 16:37:13 us=630364   resolve_in_advance = DISABLED
2021-08-22 16:37:13 us=630392   username = '[UNDEF]'
2021-08-22 16:37:13 us=630423   groupname = '[UNDEF]'
2021-08-22 16:37:13 us=630454   chroot_dir = '[UNDEF]'
2021-08-22 16:37:13 us=630481   cd_dir = '[UNDEF]'
2021-08-22 16:37:13 us=630509   writepid = '[UNDEF]'
2021-08-22 16:37:13 us=630544   up_script = '[UNDEF]'
2021-08-22 16:37:13 us=630586   down_script = '[UNDEF]'
2021-08-22 16:37:13 us=630613   down_pre = DISABLED
2021-08-22 16:37:13 us=630641   up_restart = DISABLED
2021-08-22 16:37:13 us=630672   up_delay = DISABLED
2021-08-22 16:37:13 us=630703   daemon = DISABLED
2021-08-22 16:37:13 us=630730   inetd = 0
2021-08-22 16:37:13 us=630764   log = DISABLED
2021-08-22 16:37:13 us=630809   suppress_timestamps = DISABLED
2021-08-22 16:37:13 us=630840   machine_readable_output = DISABLED
2021-08-22 16:37:13 us=630875   nice = 0
2021-08-22 16:37:13 us=630903   verbosity = 5
2021-08-22 16:37:13 us=630948   mute = 0
2021-08-22 16:37:13 us=630980   gremlin = 0
2021-08-22 16:37:13 us=631011   status_file = '[UNDEF]'
2021-08-22 16:37:13 us=631038   status_file_version = 1
2021-08-22 16:37:13 us=631090   status_file_update_freq = 60
2021-08-22 16:37:13 us=631118   occ = ENABLED
2021-08-22 16:37:13 us=631149   rcvbuf = 0
2021-08-22 16:37:13 us=631177   sndbuf = 0
2021-08-22 16:37:13 us=631209   mark = 0
2021-08-22 16:37:13 us=631240   sockflags = 0
2021-08-22 16:37:13 us=631275   fast_io = DISABLED
2021-08-22 16:37:13 us=631304   comp.alg = 1
2021-08-22 16:37:13 us=631336   comp.flags = 4
2021-08-22 16:37:13 us=631368   route_script = '[UNDEF]'
2021-08-22 16:37:13 us=631398   route_default_gateway = '[UNDEF]'
2021-08-22 16:37:13 us=631429   route_default_metric = 0
2021-08-22 16:37:13 us=631456   route_noexec = DISABLED
2021-08-22 16:37:13 us=631505   route_delay = 0
2021-08-22 16:37:13 us=631539   route_delay_window = 30
2021-08-22 16:37:13 us=631567   route_delay_defined = DISABLED
2021-08-22 16:37:13 us=631602   route_nopull = DISABLED
2021-08-22 16:37:13 us=631636   route_gateway_via_dhcp = DISABLED
2021-08-22 16:37:13 us=631664   allow_pull_fqdn = DISABLED
2021-08-22 16:37:13 us=631696   management_addr = '[UNDEF]'
2021-08-22 16:37:13 us=631742   management_port = '[UNDEF]'
2021-08-22 16:37:13 us=631777   management_user_pass = '[UNDEF]'
2021-08-22 16:37:13 us=631806   management_log_history_cache = 250
2021-08-22 16:37:13 us=631853   management_echo_buffer_size = 100
2021-08-22 16:37:13 us=631885   management_write_peer_info_file = '[UNDEF]'
2021-08-22 16:37:13 us=631914   management_client_user = '[UNDEF]'
2021-08-22 16:37:13 us=631981   management_client_group = '[UNDEF]'
2021-08-22 16:37:13 us=632010   management_flags = 0
2021-08-22 16:37:13 us=632041   shared_secret_file = '[UNDEF]'
2021-08-22 16:37:13 us=632075   key_direction = not set
2021-08-22 16:37:13 us=632103   ciphername = 'aes-256-cbc'
2021-08-22 16:37:13 us=632136   ncp_enabled = ENABLED
2021-08-22 16:37:13 us=632170   ncp_ciphers = 'AES-256-CBC'
2021-08-22 16:37:13 us=632205   authname = 'sha256'
2021-08-22 16:37:13 us=632234   prng_hash = 'SHA1'
2021-08-22 16:37:13 us=632268   prng_nonce_secret_len = 16
2021-08-22 16:37:13 us=632312   keysize = 0
2021-08-22 16:37:13 us=632340   engine = DISABLED
2021-08-22 16:37:13 us=632372   replay = ENABLED
2021-08-22 16:37:13 us=632400   mute_replay_warnings = DISABLED
2021-08-22 16:37:13 us=632434   replay_window = 64
2021-08-22 16:37:13 us=632465   replay_time = 15
2021-08-22 16:37:13 us=632496   packet_id_file = '[UNDEF]'
2021-08-22 16:37:13 us=632523   test_crypto = DISABLED
2021-08-22 16:37:13 us=632558   tls_server = DISABLED
2021-08-22 16:37:13 us=632587   tls_client = ENABLED
2021-08-22 16:37:13 us=632619   ca_file = '/config/openvpn/ca_rsa_4096.crt'
2021-08-22 16:37:13 us=632650   ca_path = '[UNDEF]'
2021-08-22 16:37:13 us=632685   dh_file = '[UNDEF]'
2021-08-22 16:37:13 us=632720   cert_file = '[UNDEF]'
2021-08-22 16:37:13 us=632751   extra_certs_file = '[UNDEF]'
2021-08-22 16:37:13 us=632783   priv_key_file = '[UNDEF]'
2021-08-22 16:37:13 us=632830   pkcs12_file = '[UNDEF]'
2021-08-22 16:37:13 us=632858   cipher_list = '[UNDEF]'
2021-08-22 16:37:13 us=632889   cipher_list_tls13 = '[UNDEF]'
2021-08-22 16:37:13 us=632924   tls_cert_profile = '[UNDEF]'
2021-08-22 16:37:13 us=632966   tls_verify = '[UNDEF]'
2021-08-22 16:37:13 us=632996   tls_export_cert = '[UNDEF]'
2021-08-22 16:37:13 us=633050   verify_x509_type = 0
2021-08-22 16:37:13 us=633082   verify_x509_name = '[UNDEF]'
2021-08-22 16:37:13 us=633114   crl_file = '/config/openvpn/crl_rsa_4096.pem'
2021-08-22 16:37:13 us=633146   ns_cert_type = 0
2021-08-22 16:37:13 us=633181   remote_cert_ku[i] = 65535
2021-08-22 16:37:13 us=633209   remote_cert_ku[i] = 0
2021-08-22 16:37:13 us=633237   remote_cert_ku[i] = 0
2021-08-22 16:37:13 us=633268   remote_cert_ku[i] = 0
2021-08-22 16:37:13 us=633300   remote_cert_ku[i] = 0
2021-08-22 16:37:13 us=633337   remote_cert_ku[i] = 0
2021-08-22 16:37:13 us=633372   remote_cert_ku[i] = 0
2021-08-22 16:37:13 us=633423   remote_cert_ku[i] = 0
2021-08-22 16:37:13 us=633455   remote_cert_ku[i] = 0
2021-08-22 16:37:13 us=633484   remote_cert_ku[i] = 0
2021-08-22 16:37:13 us=633515   remote_cert_ku[i] = 0
2021-08-22 16:37:13 us=633551   remote_cert_ku[i] = 0
2021-08-22 16:37:13 us=633580   remote_cert_ku[i] = 0
2021-08-22 16:37:13 us=633613   remote_cert_ku[i] = 0
2021-08-22 16:37:13 us=633643   remote_cert_ku[i] = 0
2021-08-22 16:37:13 us=633671   remote_cert_ku[i] = 0
2021-08-22 16:37:13 us=633702   remote_cert_eku = 'TLS Web Server Authentication'
2021-08-22 16:37:13 us=633730   ssl_flags = 0
2021-08-22 16:37:13 us=633762   tls_timeout = 2
2021-08-22 16:37:13 us=633790   renegotiate_bytes = -1
2021-08-22 16:37:13 us=633822   renegotiate_packets = 0
2021-08-22 16:37:13 us=633859   renegotiate_seconds = 0
2021-08-22 16:37:13 us=633889   handshake_window = 60
2021-08-22 16:37:13 us=633931   transition_window = 3600
2021-08-22 16:37:13 us=633976   single_session = DISABLED
2021-08-22 16:37:13 us=634004   push_peer_info = DISABLED
2021-08-22 16:37:13 us=634038   tls_exit = DISABLED
2021-08-22 16:37:13 us=634071   tls_crypt_v2_metadata = '[UNDEF]'
2021-08-22 16:37:13 us=634099   pkcs11_protected_authentication = DISABLED
2021-08-22 16:37:13 us=634143   pkcs11_protected_authentication = DISABLED
2021-08-22 16:37:13 us=634175   pkcs11_protected_authentication = DISABLED
2021-08-22 16:37:13 us=634229   pkcs11_protected_authentication = DISABLED
2021-08-22 16:37:13 us=634261   pkcs11_protected_authentication = DISABLED
2021-08-22 16:37:13 us=634289   pkcs11_protected_authentication = DISABLED
2021-08-22 16:37:13 us=634359   pkcs11_protected_authentication = DISABLED
2021-08-22 16:37:13 us=634392   pkcs11_protected_authentication = DISABLED
2021-08-22 16:37:13 us=634423   pkcs11_protected_authentication = DISABLED
2021-08-22 16:37:13 us=634452   pkcs11_protected_authentication = DISABLED
2021-08-22 16:37:13 us=634499   pkcs11_protected_authentication = DISABLED
2021-08-22 16:37:13 us=634537   pkcs11_protected_authentication = DISABLED
2021-08-22 16:37:13 us=634568   pkcs11_protected_authentication = DISABLED
2021-08-22 16:37:13 us=634613   pkcs11_protected_authentication = DISABLED
2021-08-22 16:37:13 us=634648   pkcs11_protected_authentication = DISABLED
2021-08-22 16:37:13 us=634676   pkcs11_protected_authentication = DISABLED
2021-08-22 16:37:13 us=634710   pkcs11_private_mode = 00000000
2021-08-22 16:37:13 us=634742   pkcs11_private_mode = 00000000
2021-08-22 16:37:13 us=634773   pkcs11_private_mode = 00000000
2021-08-22 16:37:13 us=634809   pkcs11_private_mode = 00000000
2021-08-22 16:37:13 us=634837   pkcs11_private_mode = 00000000
2021-08-22 16:37:13 us=634868   pkcs11_private_mode = 00000000
2021-08-22 16:37:13 us=634902   pkcs11_private_mode = 00000000
2021-08-22 16:37:13 us=634930   pkcs11_private_mode = 00000000
2021-08-22 16:37:13 us=635015   pkcs11_private_mode = 00000000
2021-08-22 16:37:13 us=635054   pkcs11_private_mode = 00000000
2021-08-22 16:37:13 us=635082   pkcs11_private_mode = 00000000
2021-08-22 16:37:13 us=635113   pkcs11_private_mode = 00000000
2021-08-22 16:37:13 us=635160   pkcs11_private_mode = 00000000
2021-08-22 16:37:13 us=635193   pkcs11_private_mode = 00000000
2021-08-22 16:37:13 us=635221   pkcs11_private_mode = 00000000
2021-08-22 16:37:13 us=635253   pkcs11_private_mode = 00000000
2021-08-22 16:37:13 us=635288   pkcs11_cert_private = DISABLED
2021-08-22 16:37:13 us=635317   pkcs11_cert_private = DISABLED
2021-08-22 16:37:13 us=635351   pkcs11_cert_private = DISABLED
2021-08-22 16:37:13 us=635380   pkcs11_cert_private = DISABLED
2021-08-22 16:37:13 us=635412   pkcs11_cert_private = DISABLED
2021-08-22 16:37:13 us=635443   pkcs11_cert_private = DISABLED
2021-08-22 16:37:13 us=635477   pkcs11_cert_private = DISABLED
2021-08-22 16:37:13 us=635504   pkcs11_cert_private = DISABLED
2021-08-22 16:37:13 us=635532   pkcs11_cert_private = DISABLED
2021-08-22 16:37:13 us=635560   pkcs11_cert_private = DISABLED
2021-08-22 16:37:13 us=635607   pkcs11_cert_private = DISABLED
2021-08-22 16:37:13 us=635635   pkcs11_cert_private = DISABLED
2021-08-22 16:37:13 us=635662   pkcs11_cert_private = DISABLED
2021-08-22 16:37:13 us=635704   pkcs11_cert_private = DISABLED
2021-08-22 16:37:13 us=635737   pkcs11_cert_private = DISABLED
2021-08-22 16:37:13 us=635769   pkcs11_cert_private = DISABLED
2021-08-22 16:37:13 us=635801   pkcs11_pin_cache_period = -1
2021-08-22 16:37:13 us=635833   pkcs11_id = '[UNDEF]'
2021-08-22 16:37:13 us=635861   pkcs11_id_management = DISABLED
2021-08-22 16:37:13 us=635906   server_network = 0.0.0.0
2021-08-22 16:37:13 us=635967   server_netmask = 0.0.0.0
2021-08-22 16:37:13 us=636000   server_network_ipv6 = ::
2021-08-22 16:37:13 us=636035   server_netbits_ipv6 = 0
2021-08-22 16:37:13 us=636084   server_bridge_ip = 0.0.0.0
2021-08-22 16:37:13 us=636122   server_bridge_netmask = 0.0.0.0
2021-08-22 16:37:13 us=636153   server_bridge_pool_start = 0.0.0.0
2021-08-22 16:37:13 us=636187   server_bridge_pool_end = 0.0.0.0
2021-08-22 16:37:13 us=636220   ifconfig_pool_defined = DISABLED
2021-08-22 16:37:13 us=636272   ifconfig_pool_start = 0.0.0.0
2021-08-22 16:37:13 us=636317   ifconfig_pool_end = 0.0.0.0
2021-08-22 16:37:13 us=636350   ifconfig_pool_netmask = 0.0.0.0
2021-08-22 16:37:13 us=636378   ifconfig_pool_persist_filename = '[UNDEF]'
2021-08-22 16:37:13 us=636413   ifconfig_pool_persist_refresh_freq = 600
2021-08-22 16:37:13 us=636451   ifconfig_ipv6_pool_defined = DISABLED
2021-08-22 16:37:13 us=636480   ifconfig_ipv6_pool_base = ::
2021-08-22 16:37:13 us=636516   ifconfig_ipv6_pool_netbits = 0
2021-08-22 16:37:13 us=636544   n_bcast_buf = 256
2021-08-22 16:37:13 us=636572   tcp_queue_limit = 64
2021-08-22 16:37:13 us=636621   real_hash_size = 256
2021-08-22 16:37:13 us=636654   virtual_hash_size = 256
2021-08-22 16:37:13 us=636682   client_connect_script = '[UNDEF]'
2021-08-22 16:37:13 us=636710   learn_address_script = '[UNDEF]'
2021-08-22 16:37:13 us=636745   client_disconnect_script = '[UNDEF]'
2021-08-22 16:37:13 us=636785   client_config_dir = '[UNDEF]'
2021-08-22 16:37:13 us=636813   ccd_exclusive = DISABLED
2021-08-22 16:37:13 us=636840   tmp_dir = '/tmp'
2021-08-22 16:37:13 us=636867   push_ifconfig_defined = DISABLED
2021-08-22 16:37:13 us=636912   push_ifconfig_local = 0.0.0.0
2021-08-22 16:37:13 us=636956   push_ifconfig_remote_netmask = 0.0.0.0
2021-08-22 16:37:13 us=636985   push_ifconfig_ipv6_defined = DISABLED
2021-08-22 16:37:13 us=637016   push_ifconfig_ipv6_local = ::/0
2021-08-22 16:37:13 us=637045   push_ifconfig_ipv6_remote = ::
2021-08-22 16:37:13 us=637077   enable_c2c = DISABLED
2021-08-22 16:37:13 us=637104   duplicate_cn = DISABLED
2021-08-22 16:37:13 us=637137   cf_max = 0
2021-08-22 16:37:13 us=637166   cf_per = 0
2021-08-22 16:37:13 us=637213   max_clients = 1024
2021-08-22 16:37:13 us=637256   max_routes_per_client = 256
2021-08-22 16:37:13 us=637293   auth_user_pass_verify_script = '[UNDEF]'
2021-08-22 16:37:13 us=637322   auth_user_pass_verify_script_via_file = DISABLED
2021-08-22 16:37:13 us=637354   auth_token_generate = DISABLED
2021-08-22 16:37:13 us=637399   auth_token_lifetime = 0
2021-08-22 16:37:13 us=637427   auth_token_secret_file = '[UNDEF]'
2021-08-22 16:37:13 us=637477   port_share_host = '[UNDEF]'
2021-08-22 16:37:13 us=637506   port_share_port = '[UNDEF]'
2021-08-22 16:37:13 us=637541   vlan_tagging = DISABLED
2021-08-22 16:37:13 us=637573   vlan_accept = all
2021-08-22 16:37:13 us=637608   vlan_pvid = 1
2021-08-22 16:37:13 us=637643   client = ENABLED
2021-08-22 16:37:13 us=637680   pull = ENABLED
2021-08-22 16:37:13 us=637727   auth_user_pass_file = 'stdin'
2021-08-22 16:37:13 us=637764 OpenVPN 2.5.3 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Jun 17 2021
2021-08-22 16:37:13 us=637810 library versions: OpenSSL 1.1.1  11 Sep 2018, LZO 2.08
Enter Auth Username:********
Enter Auth Password:
2021-08-22 16:37:33 us=774663 OpenSSL: error:0200100D:system library:fopen:Permission denied
2021-08-22 16:37:33 us=774735 OpenSSL: error:2006D002:BIO routines:BIO_new_file:system lib
2021-08-22 16:37:33 us=774768 Cannot load CA certificate file /config/openvpn/ca_rsa_4096.crt (no entries were read)
2021-08-22 16:37:33 us=774806 Exiting due to fatal error

root@ubuntu:~#  cat /config/openvpn/openvpn.ovpn
auth-user-pass credentials.conf
client
dev tun
proto tcp-client
remote nl-amsterdam.privacy.network 501
port 501
resolv-retry infinite
nobind
persist-key
persist-tun
disable-occ
float
auth-nocache
keepalive 10 120
data-ciphers aes-256-cbc 
data-ciphers-fallback aes-256-cbc 
auth sha256
tls-client
remote-cert-tls server
verb 5
reneg-sec 0
<ca>
-----BEGIN CERTIFICATE-----
MIIHqzCCBZOgAwIBAgIJAJ0u+vODZJntMA0GCSqGSIb3DQEBDQUAMIHoMQswCQYD
VQQGEwJVUzELMAkGA1UECBMCQ0ExEzARBgNVBAcTCkxvc0FuZ2VsZXMxIDAeBgNV
BAoTF1ByaXZhdGUgSW50ZXJuZXQgQWNjZXNzMSAwHgYDVQQLExdQcml2YXRlIElu
dGVybmV0IEFjY2VzczEgMB4GA1UEAxMXUHJpdmF0ZSBJbnRlcm5ldCBBY2Nlc3Mx
IDAeBgNVBCkTF1ByaXZhdGUgSW50ZXJuZXQgQWNjZXNzMS8wLQYJKoZIhvcNAQkB
FiBzZWN1cmVAcHJpdmF0ZWludGVybmV0YWNjZXNzLmNvbTAeFw0xNDA0MTcxNzQw
MzNaFw0zNDA0MTIxNzQwMzNaMIHoMQswCQYDVQQGEwJVUzELMAkGA1UECBMCQ0Ex
EzARBgNVBAcTCkxvc0FuZ2VsZXMxIDAeBgNVBAoTF1ByaXZhdGUgSW50ZXJuZXQg
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QvxXxQHEMSODzvcOfK/nBRBsqTj30P+R87sU8titOox
NeRnBDRNhdEy/QGAqGh62ShPpQUCJdnKRiRTjnil9hMQHevoSuFKeEMO30FQL7BZ
yo37GFU+q1WPCplVZgCP9hC8Rn5K2+f6KLFo5bhtowSmu+GY1yZtg+RTtsA=
-----END X509 CRL-----
</crl-verify>

root@ubuntu:~#  sudo openvpn --config /config/openvpn/openvpn.ovpn
Options error: In [CMD-LINE]:1: Error opening configuration file: /config/openvpn/openvpn.ovpn
Use --help for more information.

root@ubuntu:~# 


tekgamer
OpenVpn Newbie
Posts: 2
Joined: Sun Aug 22, 2021 4:23 pm

Re: Please Help! - OpenVPN Client - Error opening config files

Post by tekgamer » Sat Sep 18, 2021 3:10 am

can anyone offer any assistance?

Post Reply