Prial
September 2, 2024, 5:39am
1
Hello Toradex Community,
I am using imx6ull Aster Carrier Board with TDX Wayland with XWayland Upstream 6.7.0-devel-20240710125113+build.0 (kirkstone) Colibri-iMX6ULL-eMMC_Reference-Multimedia-Image-upstream tdx-reference-multimedia-image (OS)
I want to interface VPN (openvpn) for that i used this reference link but i am unable to configure client. following are the logs of systemctl status openvpn@client command:
× openvpn@client.service - OpenVPN Robust And Highly Flexible Tunneling Application On client
Loaded: loaded (/lib/systemd/system/openvpn@.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Mon 2024-09-02 04:27:27 UTC; 1h 8min ago
Process: 748 ExecStart=/usr/sbin/openvpn --daemon --writepid /run/openvpn/client.pid --cd /etc/openvpn/ --cipher AES-256-GCM --data-ciphers AES-256-GCM:AES-128-GCM:AES-256-CBC:AES-128-CBC:BF-CBC --c>
Main PID: 749 (code=exited, status=1/FAILURE)
Sep 02 04:27:27 colibri-imx6ull-emmc-07324251 systemd[1]: Starting OpenVPN Robust And Highly Flexible Tunneling Application On client...
Sep 02 04:27:27 colibri-imx6ull-emmc-07324251 systemd[1]: openvpn@client.service: Can't open PID file /run/openvpn/client.pid (yet?) after start: Operation not permitted
Sep 02 04:27:27 colibri-imx6ull-emmc-07324251 systemd[1]: Started OpenVPN Robust And Highly Flexible Tunneling Application On client.
Sep 02 04:27:27 colibri-imx6ull-emmc-07324251 systemd[1]: openvpn@client.service: Main process exited, code=exited, status=1/FAILURE
Sep 02 04:27:27 colibri-imx6ull-emmc-07324251 systemd[1]: openvpn@client.service: Failed with result 'exit-code'.
I checked ownership and permission mode of the directory and files everything seems perfeect.
Hi, I’m the Toradex AI Assistant. I’m in early beta, and I would appreciate your feedback.
The Toradex Support team will follow up with you shortly!
Did you like my answer?
The error message “Can’t open PID file /run/openvpn/client.pid (yet?) after start: Operation not permitted” suggests that there might be a permissions issue or a problem with the OpenVPN service configuration. Here are a few steps you can take to troubleshoot and resolve this issue:
Check Directory Permissions:
Ensure that the /run/openvpn/
directory exists and has the correct permissions. The OpenVPN process needs to be able to write to this directory.
sudo mkdir -p /run/openvpn
sudo chown openvpn:openvpn /run/openvpn
sudo chmod 755 /run/openvpn
Verify OpenVPN Configuration:
Double-check your OpenVPN client configuration file (/etc/openvpn/client.conf
) to ensure that all paths and settings are correct.
Check SELinux/AppArmor:
If SELinux or AppArmor is enabled, it might be preventing OpenVPN from writing to the PID file. You can check the status of SELinux with:
sudo getenforce
If it is enforcing, you can temporarily set it to permissive mode to see if it resolves the issue:
sudo setenforce 0
For AppArmor, you can check the status with:
sudo aa-status
If AppArmor is enforcing, you might need to adjust the profile for OpenVPN or disable it temporarily.
Check Systemd Service File:
Ensure that the systemd service file for OpenVPN (/lib/systemd/system/openvpn@.service
) is correctly configured. Specifically, check the ExecStart
line to ensure it points to the correct OpenVPN binary and configuration file.
Run OpenVPN Manually:
Try running OpenVPN manually to see if it provides more detailed error messages:
sudo openvpn --config /etc/openvpn/client.conf
This can help identify if there are any issues with the configuration file itself.
Check Logs:
Review the system logs for any additional error messages that might provide more context. You can use journalctl
to view the logs:
sudo journalctl -u openvpn@client.service
If you have followed these steps and the issue persists, please provide any additional error messages or logs that you find
Prial
September 2, 2024, 6:09am
3
Permissions and OpenVPN Configuration are perfect. SELinux/AppArmor is not installed in OS. Service file is correctly configured.
Here are the logs of openvpn command:
openvpn --config /etc/openvpn/client.conf
2024-09-02 06:08:45 us=661391 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning.
2024-09-02 06:08:45 us=664028 Current Parameter Settings:
2024-09-02 06:08:45 us=665379 config = '/etc/openvpn/client.conf'
2024-09-02 06:08:45 us=666344 mode = 0
2024-09-02 06:08:45 us=667159 persist_config = DISABLED
2024-09-02 06:08:45 us=667777 persist_mode = 1
2024-09-02 06:08:45 us=668633 show_ciphers = DISABLED
2024-09-02 06:08:45 us=669188 show_digests = DISABLED
2024-09-02 06:08:45 us=670045 show_engines = DISABLED
2024-09-02 06:08:45 us=670884 genkey = DISABLED
2024-09-02 06:08:45 us=671460 genkey_filename = '[UNDEF]'
2024-09-02 06:08:45 us=672316 key_pass_file = '[UNDEF]'
2024-09-02 06:08:45 us=673085 show_tls_ciphers = DISABLED
2024-09-02 06:08:45 us=673720 connect_retry_max = 0
2024-09-02 06:08:45 us=674575 Connection profiles [0]:
2024-09-02 06:08:45 us=675506 proto = udp
2024-09-02 06:08:45 us=676167 local = '[UNDEF]'
2024-09-02 06:08:45 us=677054 local_port = '[UNDEF]'
2024-09-02 06:08:45 us=677623 remote = '103.105.233.156'
2024-09-02 06:08:45 us=678463 remote_port = '1194'
2024-09-02 06:08:45 us=679299 remote_float = DISABLED
2024-09-02 06:08:45 us=679879 bind_defined = DISABLED
2024-09-02 06:08:45 us=680598 bind_local = DISABLED
2024-09-02 06:08:45 us=681047 bind_ipv6_only = DISABLED
2024-09-02 06:08:45 us=681723 connect_retry_seconds = 5
2024-09-02 06:08:45 us=681959 connect_timeout = 120
2024-09-02 06:08:45 us=682365 socks_proxy_server = '[UNDEF]'
2024-09-02 06:08:45 us=683181 socks_proxy_port = '[UNDEF]'
2024-09-02 06:08:45 us=683601 tun_mtu = 1500
2024-09-02 06:08:45 us=684435 tun_mtu_defined = ENABLED
2024-09-02 06:08:45 us=685480 link_mtu = 1500
2024-09-02 06:08:45 us=686282 link_mtu_defined = DISABLED
2024-09-02 06:08:45 us=686932 tun_mtu_extra = 0
2024-09-02 06:08:45 us=687780 tun_mtu_extra_defined = DISABLED
2024-09-02 06:08:45 us=688347 mtu_discover_type = -1
2024-09-02 06:08:45 us=689227 fragment = 0
2024-09-02 06:08:45 us=690045 mssfix = 1450
2024-09-02 06:08:45 us=690504 explicit_exit_notification = 0
2024-09-02 06:08:45 us=691154 tls_auth_file = '[INLINE]'
2024-09-02 06:08:45 us=691651 key_direction = 1
2024-09-02 06:08:45 us=692471 tls_crypt_file = '[UNDEF]'
2024-09-02 06:08:45 us=692724 tls_crypt_v2_file = '[UNDEF]'
2024-09-02 06:08:45 us=693103 Connection profiles END
2024-09-02 06:08:45 us=693579 remote_random = DISABLED
2024-09-02 06:08:45 us=694082 ipchange = '[UNDEF]'
2024-09-02 06:08:45 us=694986 dev = 'tun'
2024-09-02 06:08:45 us=695252 dev_type = '[UNDEF]'
2024-09-02 06:08:45 us=695429 dev_node = '[UNDEF]'
2024-09-02 06:08:45 us=696109 lladdr = '[UNDEF]'
2024-09-02 06:08:45 us=696336 topology = 1
2024-09-02 06:08:45 us=696505 ifconfig_local = '[UNDEF]'
2024-09-02 06:08:45 us=697151 ifconfig_remote_netmask = '[UNDEF]'
2024-09-02 06:08:45 us=697793 ifconfig_noexec = DISABLED
2024-09-02 06:08:45 us=698452 ifconfig_nowarn = DISABLED
2024-09-02 06:08:45 us=698931 ifconfig_ipv6_local = '[UNDEF]'
2024-09-02 06:08:45 us=699569 ifconfig_ipv6_netbits = 0
2024-09-02 06:08:45 us=700209 ifconfig_ipv6_remote = '[UNDEF]'
2024-09-02 06:08:45 us=700884 shaper = 0
2024-09-02 06:08:45 us=701320 mtu_test = 0
2024-09-02 06:08:45 us=701534 mlock = DISABLED
2024-09-02 06:08:45 us=702215 keepalive_ping = 0
2024-09-02 06:08:45 us=702439 keepalive_timeout = 0
2024-09-02 06:08:45 us=702839 inactivity_timeout = 0
2024-09-02 06:08:45 us=703647 inactivity_minimum_bytes = 0
2024-09-02 06:08:45 us=704072 ping_send_timeout = 0
2024-09-02 06:08:45 us=705043 ping_rec_timeout = 0
2024-09-02 06:08:45 us=705777 ping_rec_timeout_action = 0
2024-09-02 06:08:45 us=706274 ping_timer_remote = DISABLED
2024-09-02 06:08:45 us=706984 remap_sigusr1 = 0
2024-09-02 06:08:45 us=707206 persist_tun = ENABLED
2024-09-02 06:08:45 us=707609 persist_local_ip = DISABLED
2024-09-02 06:08:45 us=708426 persist_remote_ip = DISABLED
2024-09-02 06:08:45 us=709223 persist_key = ENABLED
2024-09-02 06:08:45 us=709477 passtos = DISABLED
2024-09-02 06:08:45 us=709899 resolve_retry_seconds = 1000000000
2024-09-02 06:08:45 us=710590 resolve_in_advance = DISABLED
2024-09-02 06:08:45 us=710840 username = '[UNDEF]'
2024-09-02 06:08:45 us=711013 groupname = '[UNDEF]'
2024-09-02 06:08:45 us=711826 chroot_dir = '[UNDEF]'
2024-09-02 06:08:45 us=712275 cd_dir = '[UNDEF]'
2024-09-02 06:08:45 us=712973 writepid = '[UNDEF]'
2024-09-02 06:08:45 us=713197 up_script = '[UNDEF]'
2024-09-02 06:08:45 us=713609 down_script = '[UNDEF]'
2024-09-02 06:08:45 us=714466 down_pre = DISABLED
2024-09-02 06:08:45 us=715480 up_restart = DISABLED
2024-09-02 06:08:45 us=715941 up_delay = DISABLED
2024-09-02 06:08:45 us=720672 daemon = DISABLED
2024-09-02 06:08:45 us=721383 inetd = 0
2024-09-02 06:08:45 us=725858 log = DISABLED
2024-09-02 06:08:45 us=727512 suppress_timestamps = DISABLED
2024-09-02 06:08:45 us=727686 machine_readable_output = DISABLED
2024-09-02 06:08:45 us=727774 nice = 0
2024-09-02 06:08:45 us=727840 verbosity = 5
2024-09-02 06:08:45 us=727906 mute = 0
2024-09-02 06:08:45 us=727971 gremlin = 0
2024-09-02 06:08:45 us=728035 status_file = '[UNDEF]'
2024-09-02 06:08:45 us=728097 status_file_version = 1
2024-09-02 06:08:45 us=728162 status_file_update_freq = 60
2024-09-02 06:08:45 us=728229 occ = ENABLED
2024-09-02 06:08:45 us=728295 rcvbuf = 0
2024-09-02 06:08:45 us=728364 sndbuf = 0
2024-09-02 06:08:45 us=728427 mark = 0
2024-09-02 06:08:45 us=728481 sockflags = 0
2024-09-02 06:08:45 us=728537 fast_io = DISABLED
2024-09-02 06:08:45 us=728595 comp.alg = 0
2024-09-02 06:08:45 us=728654 comp.flags = 0
2024-09-02 06:08:45 us=728710 route_script = '[UNDEF]'
2024-09-02 06:08:45 us=728767 route_default_gateway = '[UNDEF]'
2024-09-02 06:08:45 us=728828 route_default_metric = 0
2024-09-02 06:08:45 us=728885 route_noexec = DISABLED
2024-09-02 06:08:45 us=728944 route_delay = 0
2024-09-02 06:08:45 us=729004 route_delay_window = 30
2024-09-02 06:08:45 us=729060 route_delay_defined = DISABLED
2024-09-02 06:08:45 us=729119 route_nopull = DISABLED
2024-09-02 06:08:45 us=729177 route_gateway_via_dhcp = DISABLED
2024-09-02 06:08:45 us=729234 allow_pull_fqdn = DISABLED
2024-09-02 06:08:45 us=729297 management_addr = '[UNDEF]'
2024-09-02 06:08:45 us=729357 management_port = '[UNDEF]'
2024-09-02 06:08:45 us=729412 management_user_pass = '[UNDEF]'
2024-09-02 06:08:45 us=729472 management_log_history_cache = 250
2024-09-02 06:08:45 us=729531 management_echo_buffer_size = 100
2024-09-02 06:08:45 us=729590 management_write_peer_info_file = '[UNDEF]'
2024-09-02 06:08:45 us=729651 management_client_user = '[UNDEF]'
2024-09-02 06:08:45 us=729716 management_client_group = '[UNDEF]'
2024-09-02 06:08:45 us=729775 management_flags = 0
2024-09-02 06:08:45 us=729834 shared_secret_file = '[UNDEF]'
2024-09-02 06:08:45 us=729893 key_direction = 1
2024-09-02 06:08:45 us=729951 ciphername = 'AES-256-CBC'
2024-09-02 06:08:45 us=730009 ncp_enabled = ENABLED
2024-09-02 06:08:45 us=730067 ncp_ciphers = 'AES-256-GCM:AES-128-GCM:AES-256-CBC'
2024-09-02 06:08:45 us=730124 authname = 'SHA1'
2024-09-02 06:08:45 us=730186 prng_hash = 'SHA1'
2024-09-02 06:08:45 us=730245 prng_nonce_secret_len = 16
2024-09-02 06:08:45 us=730303 keysize = 0
2024-09-02 06:08:45 us=730362 engine = DISABLED
2024-09-02 06:08:45 us=730419 replay = ENABLED
2024-09-02 06:08:45 us=730479 mute_replay_warnings = DISABLED
2024-09-02 06:08:45 us=730541 replay_window = 64
2024-09-02 06:08:45 us=730600 replay_time = 15
2024-09-02 06:08:45 us=730657 packet_id_file = '[UNDEF]'
2024-09-02 06:08:45 us=730720 test_crypto = DISABLED
2024-09-02 06:08:45 us=730777 tls_server = DISABLED
2024-09-02 06:08:45 us=730835 tls_client = ENABLED
2024-09-02 06:08:45 us=730895 ca_file = '/etc/openvpn/ca.crt'
2024-09-02 06:08:45 us=730953 ca_path = '[UNDEF]'
2024-09-02 06:08:45 us=731011 dh_file = '[UNDEF]'
2024-09-02 06:08:45 us=731069 cert_file = '/etc/openvpn/ASTER.crt'
2024-09-02 06:08:45 us=731127 extra_certs_file = '[UNDEF]'
2024-09-02 06:08:45 us=731187 priv_key_file = '/etc/openvpn/ASTER.key'
2024-09-02 06:08:45 us=731248 pkcs12_file = '[UNDEF]'
2024-09-02 06:08:45 us=731307 cipher_list = '[UNDEF]'
2024-09-02 06:08:45 us=731365 cipher_list_tls13 = '[UNDEF]'
2024-09-02 06:08:45 us=731422 tls_cert_profile = '[UNDEF]'
2024-09-02 06:08:45 us=731481 tls_verify = '[UNDEF]'
2024-09-02 06:08:45 us=731539 tls_export_cert = '[UNDEF]'
2024-09-02 06:08:45 us=731595 verify_x509_type = 0
2024-09-02 06:08:45 us=731653 verify_x509_name = '[UNDEF]'
2024-09-02 06:08:45 us=731711 crl_file = '[UNDEF]'
2024-09-02 06:08:45 us=731772 ns_cert_type = 0
2024-09-02 06:08:45 us=731830 remote_cert_ku[i] = 65535
2024-09-02 06:08:45 us=731887 remote_cert_ku[i] = 0
2024-09-02 06:08:45 us=731942 remote_cert_ku[i] = 0
2024-09-02 06:08:45 us=731995 remote_cert_ku[i] = 0
2024-09-02 06:08:45 us=732053 remote_cert_ku[i] = 0
2024-09-02 06:08:45 us=732108 remote_cert_ku[i] = 0
2024-09-02 06:08:45 us=732169 remote_cert_ku[i] = 0
2024-09-02 06:08:45 us=732226 remote_cert_ku[i] = 0
2024-09-02 06:08:45 us=732285 remote_cert_ku[i] = 0
2024-09-02 06:08:45 us=732343 remote_cert_ku[i] = 0
2024-09-02 06:08:45 us=732401 remote_cert_ku[i] = 0
2024-09-02 06:08:45 us=732457 remote_cert_ku[i] = 0
2024-09-02 06:08:45 us=732511 remote_cert_ku[i] = 0
2024-09-02 06:08:45 us=732566 remote_cert_ku[i] = 0
2024-09-02 06:08:45 us=732622 remote_cert_ku[i] = 0
2024-09-02 06:08:45 us=732681 remote_cert_ku[i] = 0
2024-09-02 06:08:45 us=732740 remote_cert_eku = 'TLS Web Server Authentication'
2024-09-02 06:08:45 us=732799 ssl_flags = 0
2024-09-02 06:08:45 us=732857 tls_timeout = 2
2024-09-02 06:08:45 us=732915 renegotiate_bytes = -1
2024-09-02 06:08:45 us=732973 renegotiate_packets = 0
2024-09-02 06:08:45 us=733029 renegotiate_seconds = 3600
2024-09-02 06:08:45 us=733085 handshake_window = 60
2024-09-02 06:08:45 us=733142 transition_window = 3600
2024-09-02 06:08:45 us=733201 single_session = DISABLED
2024-09-02 06:08:45 us=733260 push_peer_info = DISABLED
2024-09-02 06:08:45 us=733316 tls_exit = DISABLED
2024-09-02 06:08:45 us=733371 tls_crypt_v2_metadata = '[UNDEF]'
2024-09-02 06:08:45 us=733437 server_network = 0.0.0.0
2024-09-02 06:08:45 us=733502 server_netmask = 0.0.0.0
2024-09-02 06:08:45 us=733644 server_network_ipv6 = ::
2024-09-02 06:08:45 us=733733 server_netbits_ipv6 = 0
2024-09-02 06:08:45 us=733796 server_bridge_ip = 0.0.0.0
2024-09-02 06:08:45 us=733862 server_bridge_netmask = 0.0.0.0
2024-09-02 06:08:45 us=733927 server_bridge_pool_start = 0.0.0.0
2024-09-02 06:08:45 us=733991 server_bridge_pool_end = 0.0.0.0
2024-09-02 06:08:45 us=734050 ifconfig_pool_defined = DISABLED
2024-09-02 06:08:45 us=734115 ifconfig_pool_start = 0.0.0.0
2024-09-02 06:08:45 us=734178 ifconfig_pool_end = 0.0.0.0
2024-09-02 06:08:45 us=734242 ifconfig_pool_netmask = 0.0.0.0
2024-09-02 06:08:45 us=734303 ifconfig_pool_persist_filename = '[UNDEF]'
2024-09-02 06:08:45 us=734363 ifconfig_pool_persist_refresh_freq = 600
2024-09-02 06:08:45 us=734421 ifconfig_ipv6_pool_defined = DISABLED
2024-09-02 06:08:45 us=734481 ifconfig_ipv6_pool_base = ::
2024-09-02 06:08:45 us=734541 ifconfig_ipv6_pool_netbits = 0
2024-09-02 06:08:45 us=734599 n_bcast_buf = 256
2024-09-02 06:08:45 us=734667 tcp_queue_limit = 64
2024-09-02 06:08:45 us=737319 real_hash_size = 256
2024-09-02 06:08:45 us=737938 virtual_hash_size = 256
2024-09-02 06:08:45 us=738938 client_connect_script = '[UNDEF]'
2024-09-02 06:08:45 us=739501 learn_address_script = '[UNDEF]'
2024-09-02 06:08:45 us=740392 client_disconnect_script = '[UNDEF]'
2024-09-02 06:08:45 us=741241 client_config_dir = '[UNDEF]'
2024-09-02 06:08:45 us=741807 ccd_exclusive = DISABLED
2024-09-02 06:08:45 us=742652 tmp_dir = '/tmp'
2024-09-02 06:08:45 us=743413 push_ifconfig_defined = DISABLED
2024-09-02 06:08:45 us=744654 push_ifconfig_local = 0.0.0.0
2024-09-02 06:08:45 us=745428 push_ifconfig_remote_netmask = 0.0.0.0
2024-09-02 06:08:45 us=746304 push_ifconfig_ipv6_defined = DISABLED
2024-09-02 06:08:45 us=747203 push_ifconfig_ipv6_local = ::/0
2024-09-02 06:08:45 us=747835 push_ifconfig_ipv6_remote = ::
2024-09-02 06:08:45 us=748766 enable_c2c = DISABLED
2024-09-02 06:08:45 us=749617 duplicate_cn = DISABLED
2024-09-02 06:08:45 us=750190 cf_max = 0
2024-09-02 06:08:45 us=751042 cf_per = 0
2024-09-02 06:08:45 us=751812 max_clients = 1024
2024-09-02 06:08:45 us=752449 max_routes_per_client = 256
2024-09-02 06:08:45 us=753798 auth_user_pass_verify_script = '[UNDEF]'
2024-09-02 06:08:45 us=754822 auth_user_pass_verify_script_via_file = DISABLED
2024-09-02 06:08:45 us=755763 auth_token_generate = DISABLED
2024-09-02 06:08:45 us=756346 auth_token_lifetime = 0
2024-09-02 06:08:45 us=757197 auth_token_secret_file = '[UNDEF]'
2024-09-02 06:08:45 us=758047 port_share_host = '[UNDEF]'
2024-09-02 06:08:45 us=758617 port_share_port = '[UNDEF]'
2024-09-02 06:08:45 us=759464 vlan_tagging = DISABLED
2024-09-02 06:08:45 us=760265 vlan_accept = all
2024-09-02 06:08:45 us=760905 vlan_pvid = 1
2024-09-02 06:08:45 us=761609 client = ENABLED
2024-09-02 06:08:45 us=762061 pull = ENABLED
2024-09-02 06:08:45 us=762703 auth_user_pass_file = '[UNDEF]'
2024-09-02 06:08:45 us=762936 OpenVPN 2.5.6 arm-tdx-linux-gnueabi [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Mar 16 2022
2024-09-02 06:08:45 us=763429 library versions: OpenSSL 3.0.14 4 Jun 2024, LZO 2.10
Enter Private Key Password:
2024-09-02 06:08:47 us=937916 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
2024-09-02 06:08:48 us=393 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
2024-09-02 06:08:48 us=1370 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
2024-09-02 06:08:48 us=2954 Control Channel MTU parms [ L:1621 D:1184 EF:66 EB:0 ET:0 EL:3 ]
2024-09-02 06:08:48 us=4175 Data Channel MTU parms [ L:1621 D:1450 EF:121 EB:406 ET:0 EL:3 ]
2024-09-02 06:08:48 us=5506 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1557,tun-mtu 1500,proto UDPv4,keydir 1,cipher AES-256-CBC,auth SHA1,keysize 256,tls-auth,key-method 2,tls-client'
2024-09-02 06:08:48 us=6751 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1557,tun-mtu 1500,proto UDPv4,keydir 0,cipher AES-256-CBC,auth SHA1,keysize 256,tls-auth,key-method 2,tls-server'
2024-09-02 06:08:48 us=7976 TCP/UDP: Preserving recently used remote address: [AF_INET]103.105.233.156:1194
2024-09-02 06:08:48 us=9127 Socket Buffers: R=[180224->180224] S=[180224->180224]
2024-09-02 06:08:48 us=10255 UDP link local: (not bound)
2024-09-02 06:08:48 us=11274 UDP link remote: [AF_INET]103.105.233.156:1194
W2024-09-02 06:08:48 us=17256 read UDP [ECONNREFUSED]: Connection refused (code=111)
W2024-09-02 06:08:50 us=320944 read UDP [ECONNREFUSED]: Connection refused (code=111)
W2024-09-02 06:08:54 us=926278 read UDP [ECONNREFUSED]: Connection refused (code=111)
W2024-09-02 06:09:02 us=930873 read UDP [ECONNREFUSED]: Connection refused (code=111)
Here is the logs of journalctl -u openvpn@client.service
root@colibri-imx6ull-emmc-07324251:/etc/openvpn# journalctl -u openvpn@client.service
Sep 02 09:39:43 colibri-imx6ull-emmc-07324251 systemd[1]: /lib/systemd/system/openvpn@.service:8: PIDFile= references a path below legacy directory /var/run/, updating /var/run/openvpn/client.pid → /run>
Sep 02 09:39:43 colibri-imx6ull-emmc-07324251 systemd[1]: Starting OpenVPN Robust And Highly Flexible Tunneling Application On client...
Sep 02 09:39:43 colibri-imx6ull-emmc-07324251 systemd[1]: openvpn@client.service: Can't open PID file /run/openvpn/client.pid (yet?) after start: Operation not permitted
Sep 02 09:39:43 colibri-imx6ull-emmc-07324251 systemd[1]: Started OpenVPN Robust And Highly Flexible Tunneling Application On client.
Sep 02 09:39:43 colibri-imx6ull-emmc-07324251 systemd[1]: openvpn@client.service: Main process exited, code=exited, status=1/FAILURE
Sep 02 09:39:43 colibri-imx6ull-emmc-07324251 systemd[1]: openvpn@client.service: Failed with result 'exit-code'.
Sep 02 09:39:50 colibri-imx6ull-emmc-07324251 systemd[1]: /lib/systemd/system/openvpn@.service:8: PIDFile= references a path below legacy directory /var/run/, updating /var/run/openvpn/client.pid → /run>
Sep 02 09:40:54 colibri-imx6ull-emmc-07324251 systemd[1]: /lib/systemd/system/openvpn@.service:8: PIDFile= references a path below legacy directory /var/run/, updating /var/run/openvpn/client.pid → /run>
Sep 02 09:40:59 colibri-imx6ull-emmc-07324251 systemd[1]: Starting OpenVPN Robust And Highly Flexible Tunneling Application On client...
Sep 02 09:40:59 colibri-imx6ull-emmc-07324251 systemd[1]: openvpn@client.service: Can't open PID file /run/openvpn/client.pid (yet?) after start: Operation not permitted
Sep 02 09:40:59 colibri-imx6ull-emmc-07324251 systemd[1]: Started OpenVPN Robust And Highly Flexible Tunneling Application On client.
Sep 02 09:40:59 colibri-imx6ull-emmc-07324251 systemd[1]: openvpn@client.service: Main process exited, code=exited, status=1/FAILURE
Sep 02 09:40:59 colibri-imx6ull-emmc-07324251 systemd[1]: openvpn@client.service: Failed with result 'exit-code'.