Why does OpenVPN on my Xubuntu notebook close the tunnel right after establishing it?
https://askubuntu.com/questions/1560674/why-does-openvpn-on-my-xubuntu-notebook-close-the-tunnel-right-after-establishin
I installed OpenVPN client
OpenVPN 2.6.14 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] [DCO]
library versions: OpenSSL 3.0.13 30 Jan 2024, LZO 2.10
DCO version: N/A
from the Ubuntu repositories on my Xubuntu notebook:
Linux Yoga 6.14.0-36-generic #36~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Oct 15 15:45:17 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
Unfortunately I can't get it working correctly. Whenever I try to connect to a server, the tunnel is closed immediately after it was established. In order to rule out any server problems, I tried to connect to a public server (https://www.vpnbook.com/). I set the verbose level of the client to 5 (maximum) and got the following log:
2025-12-04 11:56:27 us=538873 Note: --cipher is not set. OpenVPN versions before 2.5 defaulted to BF-CBC as fallback when cipher negotiation failed in this case. If you need this fallback please add '--data-ciphers-fallback BF-CBC' to your configuration and/or add BF-CBC to --data-ciphers.
2025-12-04 11:56:27 us=538927 Note: '--allow-compression' is not set to 'no', disabling data channel offload.
2025-12-04 11:56:27 us=538951 Current Parameter Settings:
2025-12-04 11:56:27 us=538958 config = '/home/dieter/Daten/Muell/vpnbook-openvpn-de220/vpnbook-de220-tcp443.ovpn'
2025-12-04 11:56:27 us=538964 mode = 0
2025-12-04 11:56:27 us=538970 persist_config = DISABLED
2025-12-04 11:56:27 us=538976 persist_mode = 1
2025-12-04 11:56:27 us=538982 show_ciphers = DISABLED
2025-12-04 11:56:27 us=538987 show_digests = DISABLED
2025-12-04 11:56:27 us=538993 show_engines = DISABLED
2025-12-04 11:56:27 us=538999 genkey = DISABLED
2025-12-04 11:56:27 us=539004 genkey_filename = '[UNDEF]'
2025-12-04 11:56:27 us=539010 key_pass_file = '[UNDEF]'
2025-12-04 11:56:27 us=539015 show_tls_ciphers = DISABLED
2025-12-04 11:56:27 us=539021 connect_retry_max = 0
2025-12-04 11:56:27 us=539027 Connection profiles [0]:
2025-12-04 11:56:27 us=539033 proto = tcp-client
2025-12-04 11:56:27 us=539039 local = '[UNDEF]'
2025-12-04 11:56:27 us=539045 local_port = '[UNDEF]'
2025-12-04 11:56:27 us=539051 remote = '51.75.145.220'
2025-12-04 11:56:27 us=539057 remote_port = '443'
2025-12-04 11:56:27 us=539062 remote_float = DISABLED
2025-12-04 11:56:27 us=539068 bind_defined = DISABLED
2025-12-04 11:56:27 us=539073 bind_local = DISABLED
2025-12-04 11:56:27 us=539079 bind_ipv6_only = DISABLED
2025-12-04 11:56:27 us=539085 connect_retry_seconds = 1
2025-12-04 11:56:27 us=539090 connect_timeout = 120
2025-12-04 11:56:27 us=539096 socks_proxy_server = '[UNDEF]'
2025-12-04 11:56:27 us=539102 socks_proxy_port = '[UNDEF]'
2025-12-04 11:56:27 us=539108 tun_mtu = 1500
2025-12-04 11:56:27 us=539113 tun_mtu_defined = ENABLED
2025-12-04 11:56:27 us=539119 link_mtu = 1500
2025-12-04 11:56:27 us=539124 link_mtu_defined = DISABLED
2025-12-04 11:56:27 us=539130 tun_mtu_extra = 0
2025-12-04 11:56:27 us=539136 tun_mtu_extra_defined = DISABLED
2025-12-04 11:56:27 us=539141 tls_mtu = 1250
2025-12-04 11:56:27 us=539147 mtu_discover_type = -1
2025-12-04 11:56:27 us=539153 fragment = 0
2025-12-04 11:56:27 us=539159 mssfix = 1492
2025-12-04 11:56:27 us=539164 mssfix_encap = ENABLED
2025-12-04 11:56:27 us=539170 mssfix_fixed = DISABLED
2025-12-04 11:56:27 us=539176 explicit_exit_notification = 0
2025-12-04 11:56:27 us=539181 tls_auth_file = '[UNDEF]'
2025-12-04 11:56:27 us=539187 key_direction = not set
2025-12-04 11:56:27 us=539193 tls_crypt_file = '[UNDEF]'
2025-12-04 11:56:27 us=539198 tls_crypt_v2_file = '[UNDEF]'
2025-12-04 11:56:27 us=539204 Connection profiles END
2025-12-04 11:56:27 us=539210 remote_random = DISABLED
2025-12-04 11:56:27 us=539215 ipchange = '[UNDEF]'
2025-12-04 11:56:27 us=539221 dev = 'tun1'
2025-12-04 11:56:27 us=539227 dev_type = '[UNDEF]'
2025-12-04 11:56:27 us=539232 dev_node = '[UNDEF]'
2025-12-04 11:56:27 us=539238 tuntap_options.disable_dco = ENABLED
2025-12-04 11:56:27 us=539243 lladdr = '[UNDEF]'
2025-12-04 11:56:27 us=539249 topology = 1
2025-12-04 11:56:27 us=539255 ifconfig_local = '[UNDEF]'
2025-12-04 11:56:27 us=539260 ifconfig_remote_netmask = '[UNDEF]'
2025-12-04 11:56:27 us=539266 ifconfig_noexec = DISABLED
2025-12-04 11:56:27 us=539272 ifconfig_nowarn = DISABLED
2025-12-04 11:56:27 us=539277 ifconfig_ipv6_local = '[UNDEF]'
2025-12-04 11:56:27 us=539283 ifconfig_ipv6_netbits = 0
2025-12-04 11:56:27 us=539288 ifconfig_ipv6_remote = '[UNDEF]'
2025-12-04 11:56:27 us=539294 shaper = 0
2025-12-04 11:56:27 us=539300 mtu_test = 0
2025-12-04 11:56:27 us=539305 mlock = DISABLED
2025-12-04 11:56:27 us=539311 keepalive_ping = 0
2025-12-04 11:56:27 us=539317 keepalive_timeout = 0
2025-12-04 11:56:27 us=539323 inactivity_timeout = 0
2025-12-04 11:56:27 us=539328 session_timeout = 0
2025-12-04 11:56:27 us=539340 inactivity_minimum_bytes = 0
2025-12-04 11:56:27 us=539346 ping_send_timeout = 0
2025-12-04 11:56:27 us=539352 ping_rec_timeout = 0
2025-12-04 11:56:27 us=539357 ping_rec_timeout_action = 0
2025-12-04 11:56:27 us=539363 ping_timer_remote = DISABLED
2025-12-04 11:56:27 us=539369 remap_sigusr1 = 0
2025-12-04 11:56:27 us=539374 persist_tun = ENABLED
2025-12-04 11:56:27 us=539380 persist_local_ip = DISABLED
2025-12-04 11:56:27 us=539385 persist_remote_ip = DISABLED
2025-12-04 11:56:27 us=539391 persist_key = ENABLED
2025-12-04 11:56:27 us=539396 passtos = DISABLED
2025-12-04 11:56:27 us=539402 resolve_retry_seconds = 20
2025-12-04 11:56:27 us=539408 resolve_in_advance = DISABLED
2025-12-04 11:56:27 us=539413 username = '[UNDEF]'
2025-12-04 11:56:27 us=539419 groupname = '[UNDEF]'
2025-12-04 11:56:27 us=539425 chroot_dir = '[UNDEF]'
2025-12-04 11:56:27 us=539430 cd_dir = '[UNDEF]'
2025-12-04 11:56:27 us=539436 writepid = '[UNDEF]'
2025-12-04 11:56:27 us=539441 up_script = '[UNDEF]'
2025-12-04 11:56:27 us=539447 down_script = '[UNDEF]'
2025-12-04 11:56:27 us=539452 down_pre = DISABLED
2025-12-04 11:56:27 us=539458 up_restart = DISABLED
2025-12-04 11:56:27 us=539463 up_delay = DISABLED
2025-12-04 11:56:27 us=539469 daemon = DISABLED
2025-12-04 11:56:27 us=539475 log = ENABLED
2025-12-04 11:56:27 us=539480 suppress_timestamps = DISABLED
2025-12-04 11:56:27 us=539494 machine_readable_output = DISABLED
2025-12-04 11:56:27 us=539501 nice = 0
2025-12-04 11:56:27 us=539506 verbosity = 5
2025-12-04 11:56:27 us=539512 mute = 0
2025-12-04 11:56:27 us=539518 gremlin = 0
2025-12-04 11:56:27 us=539523 status_file = '[UNDEF]'
2025-12-04 11:56:27 us=539529 status_file_version = 1
2025-12-04 11:56:27 us=539535 status_file_update_freq = 60
2025-12-04 11:56:27 us=539540 occ = ENABLED
2025-12-04 11:56:27 us=539546 rcvbuf = 0
2025-12-04 11:56:27 us=539552 sndbuf = 0
2025-12-04 11:56:27 us=539558 mark = 0
2025-12-04 11:56:27 us=539564 sockflags = 0
2025-12-04 11:56:27 us=539569 fast_io = ENABLED
2025-12-04 11:56:27 us=539575 comp.alg = 2
2025-12-04 11:56:27 us=539581 comp.flags = 1
2025-12-04 11:56:27 us=539593 route_script = '[UNDEF]'
2025-12-04 11:56:27 us=539599 route_default_gateway = '[UNDEF]'
2025-12-04 11:56:27 us=539605 route_default_metric = 0
2025-12-04 11:56:27 us=539611 route_noexec = DISABLED
2025-12-04 11:56:27 us=539617 route_delay = 2
2025-12-04 11:56:27 us=539622 route_delay_window = 30
2025-12-04 11:56:27 us=539628 route_delay_defined = ENABLED
2025-12-04 11:56:27 us=539634 route_nopull = DISABLED
2025-12-04 11:56:27 us=539642 route_gateway_via_dhcp = DISABLED
2025-12-04 11:56:27 us=539649 allow_pull_fqdn = DISABLED
2025-12-04 11:56:27 us=539655 [redirect_default_gateway local=0]
2025-12-04 11:56:27 us=539661 management_addr = '[UNDEF]'
2025-12-04 11:56:27 us=539667 management_port = '[UNDEF]'
2025-12-04 11:56:27 us=539673 management_user_pass = '[UNDEF]'
2025-12-04 11:56:27 us=539678 management_log_history_cache = 250
2025-12-04 11:56:27 us=539684 management_echo_buffer_size = 100
2025-12-04 11:56:27 us=539690 management_client_user = '[UNDEF]'
2025-12-04 11:56:27 us=539696 management_client_group = '[UNDEF]'
2025-12-04 11:56:27 us=539702 management_flags = 0
2025-12-04 11:56:27 us=539707 shared_secret_file = '[UNDEF]'
2025-12-04 11:56:27 us=539713 key_direction = not set
2025-12-04 11:56:27 us=539719 ciphername = 'BF-CBC'
2025-12-04 11:56:27 us=539725 ncp_ciphers = 'AES-256-GCM:AES-128-GCM:CHACHA20-POLY1305'
2025-12-04 11:56:27 us=539731 authname = 'SHA1'
2025-12-04 11:56:27 us=539737 engine = DISABLED
2025-12-04 11:56:27 us=539743 replay = ENABLED
2025-12-04 11:56:27 us=539749 mute_replay_warnings = DISABLED
2025-12-04 11:56:27 us=539754 replay_window = 64
2025-12-04 11:56:27 us=539760 replay_time = 15
2025-12-04 11:56:27 us=539766 packet_id_file = '[UNDEF]'
2025-12-04 11:56:27 us=539772 test_crypto = DISABLED
2025-12-04 11:56:27 us=539781 tls_server = DISABLED
2025-12-04 11:56:27 us=539787 tls_client = ENABLED
2025-12-04 11:56:27 us=539793 ca_file = '[INLINE]'
2025-12-04 11:56:27 us=539799 ca_path = '[UNDEF]'
2025-12-04 11:56:27 us=539804 dh_file = '[UNDEF]'
2025-12-04 11:56:27 us=539810 cert_file = '[INLINE]'
2025-12-04 11:56:27 us=539816 extra_certs_file = '[UNDEF]'
2025-12-04 11:56:27 us=539822 priv_key_file = '[INLINE]'
2025-12-04 11:56:27 us=539828 pkcs12_file = '[UNDEF]'
2025-12-04 11:56:27 us=539833 cipher_list = '[UNDEF]'
2025-12-04 11:56:27 us=539839 cipher_list_tls13 = '[UNDEF]'
2025-12-04 11:56:27 us=539845 tls_cert_profile = '[UNDEF]'
2025-12-04 11:56:27 us=539850 tls_verify = '[UNDEF]'
2025-12-04 11:56:27 us=539856 tls_export_peer_cert_dir = '[UNDEF]'
2025-12-04 11:56:27 us=539862 verify_x509_type = 0
2025-12-04 11:56:27 us=539868 verify_x509_name = '[UNDEF]'
2025-12-04 11:56:27 us=539874 crl_file = '[UNDEF]'
2025-12-04 11:56:27 us=539879 ns_cert_type = 0
2025-12-04 11:56:27 us=539885 remote_cert_ku[i] = 0
2025-12-04 11:56:27 us=539891 remote_cert_ku[i] = 0
2025-12-04 11:56:27 us=539897 remote_cert_ku[i] = 0
2025-12-04 11:56:27 us=539902 remote_cert_ku[i] = 0
2025-12-04 11:56:27 us=539908 remote_cert_ku[i] = 0
2025-12-04 11:56:27 us=539914 remote_cert_ku[i] = 0
2025-12-04 11:56:27 us=539919 remote_cert_ku[i] = 0
2025-12-04 11:56:27 us=539925 remote_cert_ku[i] = 0
2025-12-04 11:56:27 us=539931 remote_cert_ku[i] = 0
2025-12-04 11:56:27 us=539937 remote_cert_ku[i] = 0
2025-12-04 11:56:27 us=539942 remote_cert_ku[i] = 0
2025-12-04 11:56:27 us=539948 remote_cert_ku[i] = 0
2025-12-04 11:56:27 us=539954 remote_cert_ku[i] = 0
2025-12-04 11:56:27 us=539959 remote_cert_ku[i] = 0
2025-12-04 11:56:27 us=539965 remote_cert_ku[i] = 0
2025-12-04 11:56:27 us=539971 remote_cert_ku[i] = 0
2025-12-04 11:56:27 us=539976 remote_cert_eku = '[UNDEF]'
2025-12-04 11:56:27 us=539982 ssl_flags = 192
2025-12-04 11:56:27 us=539988 tls_timeout = 2
2025-12-04 11:56:27 us=539994 renegotiate_bytes = -1
2025-12-04 11:56:27 us=539999 renegotiate_packets = 0
2025-12-04 11:56:27 us=540005 renegotiate_seconds = 3600
2025-12-04 11:56:27 us=540011 handshake_window = 60
2025-12-04 11:56:27 us=540016 transition_window = 3600
2025-12-04 11:56:27 us=540022 single_session = DISABLED
2025-12-04 11:56:27 us=540028 push_peer_info = DISABLED
2025-12-04 11:56:27 us=540034 tls_exit = DISABLED
2025-12-04 11:56:27 us=540040 tls_crypt_v2_metadata = '[UNDEF]'
2025-12-04 11:56:27 us=540046 pkcs11_protected_authentication = DISABLED
2025-12-04 11:56:27 us=540052 pkcs11_protected_authentication = DISABLED
2025-12-04 11:56:27 us=540057 pkcs11_protected_authentication = DISABLED
2025-12-04 11:56:27 us=540063 pkcs11_protected_authentication = DISABLED
2025-12-04 11:56:27 us=540069 pkcs11_protected_authentication = DISABLED
2025-12-04 11:56:27 us=540075 pkcs11_protected_authentication = DISABLED
2025-12-04 11:56:27 us=540080 pkcs11_protected_authentication = DISABLED
2025-12-04 11:56:27 us=540086 pkcs11_protected_authentication = DISABLED
2025-12-04 11:56:27 us=540092 pkcs11_protected_authentication = DISABLED
2025-12-04 11:56:27 us=540098 pkcs11_protected_authentication = DISABLED
2025-12-04 11:56:27 us=540103 pkcs11_protected_authentication = DISABLED
2025-12-04 11:56:27 us=540109 pkcs11_protected_authentication = DISABLED
2025-12-04 11:56:27 us=540115 pkcs11_protected_authentication = DISABLED
2025-12-04 11:56:27 us=540120 pkcs11_protected_authentication = DISABLED
2025-12-04 11:56:27 us=540126 pkcs11_protected_authentication = DISABLED
2025-12-04 11:56:27 us=540132 pkcs11_protected_authentication = DISABLED
2025-12-04 11:56:27 us=540138 pkcs11_private_mode = 00000000
2025-12-04 11:56:27 us=540144 pkcs11_private_mode = 00000000
2025-12-04 11:56:27 us=540150 pkcs11_private_mode = 00000000
2025-12-04 11:56:27 us=540156 pkcs11_private_mode = 00000000
2025-12-04 11:56:27 us=540161 pkcs11_private_mode = 00000000
2025-12-04 11:56:27 us=540167 pkcs11_private_mode = 00000000
2025-12-04 11:56:27 us=540176 pkcs11_private_mode = 00000000
2025-12-04 11:56:27 us=540182 pkcs11_private_mode = 00000000
2025-12-04 11:56:27 us=540187 pkcs11_private_mode = 00000000
2025-12-04 11:56:27 us=540193 pkcs11_private_mode = 00000000
2025-12-04 11:56:27 us=540199 pkcs11_private_mode = 00000000
2025-12-04 11:56:27 us=540204 pkcs11_private_mode = 00000000
2025-12-04 11:56:27 us=540210 pkcs11_private_mode = 00000000
2025-12-04 11:56:27 us=540216 pkcs11_private_mode = 00000000
2025-12-04 11:56:27 us=540222 pkcs11_private_mode = 00000000
2025-12-04 11:56:27 us=540227 pkcs11_private_mode = 00000000
2025-12-04 11:56:27 us=540233 pkcs11_cert_private = DISABLED
2025-12-04 11:56:27 us=540239 pkcs11_cert_private = DISABLED
2025-12-04 11:56:27 us=540244 pkcs11_cert_private = DISABLED
2025-12-04 11:56:27 us=540250 pkcs11_cert_private = DISABLED
2025-12-04 11:56:27 us=540256 pkcs11_cert_private = DISABLED
2025-12-04 11:56:27 us=540261 pkcs11_cert_private = DISABLED
2025-12-04 11:56:27 us=540267 pkcs11_cert_private = DISABLED
2025-12-04 11:56:27 us=540272 pkcs11_cert_private = DISABLED
2025-12-04 11:56:27 us=540278 pkcs11_cert_private = DISABLED
2025-12-04 11:56:27 us=540284 pkcs11_cert_private = DISABLED
2025-12-04 11:56:27 us=540289 pkcs11_cert_private = DISABLED
2025-12-04 11:56:27 us=540295 pkcs11_cert_private = DISABLED
2025-12-04 11:56:27 us=540300 pkcs11_cert_private = DISABLED
2025-12-04 11:56:27 us=540306 pkcs11_cert_private = DISABLED
2025-12-04 11:56:27 us=540312 pkcs11_cert_private = DISABLED
2025-12-04 11:56:27 us=540318 pkcs11_cert_private = DISABLED
2025-12-04 11:56:27 us=540323 pkcs11_pin_cache_period = -1
2025-12-04 11:56:27 us=540329 pkcs11_id = '[UNDEF]'
2025-12-04 11:56:27 us=540335 pkcs11_id_management = DISABLED
2025-12-04 11:56:27 us=540342 server_network = 0.0.0.0
2025-12-04 11:56:27 us=540349 server_netmask = 0.0.0.0
2025-12-04 11:56:27 us=540360 server_network_ipv6 = ::
2025-12-04 11:56:27 us=540367 server_netbits_ipv6 = 0
2025-12-04 11:56:27 us=540373 server_bridge_ip = 0.0.0.0
2025-12-04 11:56:27 us=540379 server_bridge_netmask = 0.0.0.0
2025-12-04 11:56:27 us=540399 server_bridge_pool_start = 0.0.0.0
2025-12-04 11:56:27 us=540405 server_bridge_pool_end = 0.0.0.0
2025-12-04 11:56:27 us=540410 ifconfig_pool_defined = DISABLED
2025-12-04 11:56:27 us=540416 ifconfig_pool_start = 0.0.0.0
2025-12-04 11:56:27 us=540422 ifconfig_pool_end = 0.0.0.0
2025-12-04 11:56:27 us=540428 ifconfig_pool_netmask = 0.0.0.0
2025-12-04 11:56:27 us=540434 ifconfig_pool_persist_filename = '[UNDEF]'
2025-12-04 11:56:27 us=540440 ifconfig_pool_persist_refresh_freq = 600
2025-12-04 11:56:27 us=540445 ifconfig_ipv6_pool_defined = DISABLED
2025-12-04 11:56:27 us=540451 ifconfig_ipv6_pool_base = ::
2025-12-04 11:56:27 us=540457 ifconfig_ipv6_pool_netbits = 0
2025-12-04 11:56:27 us=540463 n_bcast_buf = 256
2025-12-04 11:56:27 us=540468 tcp_queue_limit = 64
2025-12-04 11:56:27 us=540474 real_hash_size = 256
2025-12-04 11:56:27 us=540479 virtual_hash_size = 256
2025-12-04 11:56:27 us=540485 client_connect_script = '[UNDEF]'
2025-12-04 11:56:27 us=540491 learn_address_script = '[UNDEF]'
2025-12-04 11:56:27 us=540496 client_disconnect_script = '[UNDEF]'
2025-12-04 11:56:27 us=540502 client_crresponse_script = '[UNDEF]'
2025-12-04 11:56:27 us=540507 client_config_dir = '[UNDEF]'
2025-12-04 11:56:27 us=540513 ccd_exclusive = DISABLED
2025-12-04 11:56:27 us=540518 tmp_dir = '/tmp'
2025-12-04 11:56:27 us=540524 push_ifconfig_defined = DISABLED
2025-12-04 11:56:27 us=540530 push_ifconfig_local = 0.0.0.0
2025-12-04 11:56:27 us=540536 push_ifconfig_remote_netmask = 0.0.0.0
2025-12-04 11:56:27 us=540542 push_ifconfig_ipv6_defined = DISABLED
2025-12-04 11:56:27 us=540548 push_ifconfig_ipv6_local = ::/0
2025-12-04 11:56:27 us=540553 push_ifconfig_ipv6_remote = ::
2025-12-04 11:56:27 us=540559 enable_c2c = DISABLED
2025-12-04 11:56:27 us=540565 duplicate_cn = DISABLED
2025-12-04 11:56:27 us=540570 cf_max = 0
2025-12-04 11:56:27 us=540579 cf_per = 0
2025-12-04 11:56:27 us=540618 cf_initial_max = 100
2025-12-04 11:56:27 us=540627 cf_initial_per = 10
2025-12-04 11:56:27 us=540632 max_clients = 1024
2025-12-04 11:56:27 us=540638 max_routes_per_client = 256
2025-12-04 11:56:27 us=540644 auth_user_pass_verify_script = '[UNDEF]'
2025-12-04 11:56:27 us=540649 auth_user_pass_verify_script_via_file = DISABLED
2025-12-04 11:56:27 us=540655 auth_token_generate = DISABLED
2025-12-04 11:56:27 us=540660 force_key_material_export = DISABLED
2025-12-04 11:56:27 us=540666 auth_token_lifetime = 0
2025-12-04 11:56:27 us=540671 auth_token_secret_file = '[UNDEF]'
2025-12-04 11:56:27 us=540677 port_share_host = '[UNDEF]'
2025-12-04 11:56:27 us=540682 port_share_port = '[UNDEF]'
2025-12-04 11:56:27 us=540688 vlan_tagging = DISABLED
2025-12-04 11:56:27 us=540693 vlan_accept = all
2025-12-04 11:56:27 us=540699 vlan_pvid = 1
2025-12-04 11:56:27 us=540705 client = ENABLED
2025-12-04 11:56:27 us=540710 pull = ENABLED
2025-12-04 11:56:27 us=540716 auth_user_pass_file = 'stdin'
2025-12-04 11:56:27 us=540722 OpenVPN 2.6.14 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] [DCO]
2025-12-04 11:56:27 us=540735 library versions: OpenSSL 3.0.13 30 Jan 2024, LZO 2.10
2025-12-04 11:56:27 us=540750 DCO version: N/A
2025-12-04 11:56:37 us=243426 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
2025-12-04 11:56:37 us=243540 NOTE: --fast-io is disabled since we are not using UDP
2025-12-04 11:56:37 us=249443 LZO compression initializing
2025-12-04 11:56:37 us=249602 Control Channel MTU parms [ mss_fix:0 max_frag:0 tun_mtu:1250 tun_max_mtu:0 headroom:126 payload:1600 tailroom:126 ET:0 ]
2025-12-04 11:56:37 us=249639 Data Channel MTU parms [ mss_fix:0 max_frag:0 tun_mtu:1500 tun_max_mtu:1600 headroom:136 payload:1768 tailroom:562 ET:0 ]
2025-12-04 11:56:37 us=249731 TCP/UDP: Preserving recently used remote address: [AF_INET]51.75.145.220:443
2025-12-04 11:56:37 us=249764 Socket Buffers: R=[131072->131072] S=[16384->16384]
2025-12-04 11:56:37 us=249772 Attempting to establish TCP connection with [AF_INET]51.75.145.220:443
2025-12-04 11:56:37 us=306626 TCP connection established with [AF_INET]51.75.145.220:443
2025-12-04 11:56:37 us=306720 TCPv4_CLIENT link local: (not bound)
2025-12-04 11:56:37 us=306746 TCPv4_CLIENT link remote: [AF_INET]51.75.145.220:443
WR2025-12-04 11:56:37 us=362306 TLS: Initial packet from [AF_INET]51.75.145.220:443, sid=0da90984 40209225
2025-12-04 11:56:37 us=362461 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
WRRWR2025-12-04 11:56:37 us=477550 VERIFY OK: depth=1, CN=vpnbook.com
2025-12-04 11:56:37 us=478071 VERIFY OK: depth=0, CN=server.vpnbook.com
WRWR2025-12-04 11:56:37 us=656734 Control Channel: TLSv1.3, cipher TLSv1.3 TLS_AES_256_GCM_SHA384, peer certificate: 2048 bits RSA, signature: RSA-SHA256, peer temporary key: 253 bits X25519
2025-12-04 11:56:37 us=656825 [server.vpnbook.com] Peer Connection Initiated with [AF_INET]51.75.145.220:443
2025-12-04 11:56:37 us=656867 TLS: move_session: dest=TM_ACTIVE src=TM_INITIAL reinit_src=1
2025-12-04 11:56:37 us=656992 TLS: tls_multi_process: initial untrusted session promoted to trusted
WR2025-12-04 11:56:37 us=754650 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1,dhcp-option DNS 213.186.33.99,dhcp-option DNS 91.239.100.100,route 10.9.0.1,topology net30,ping 5,ping-restart 30,ifconfig 10.9.0.58 10.9.0.57,peer-id 0,cipher AES-256-GCM'
2025-12-04 11:56:37 us=754768 WARNING: You have specified redirect-gateway and redirect-private at the same time (or the same option multiple times). This is not well supported and may lead to unexpected results
2025-12-04 11:56:37 us=754961 OPTIONS IMPORT: --ifconfig/up options modified
2025-12-04 11:56:37 us=754992 OPTIONS IMPORT: route options modified
2025-12-04 11:56:37 us=755010 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
2025-12-04 11:56:37 us=755086 net_route_v4_best_gw query: dst 0.0.0.0
2025-12-04 11:56:37 us=755323 net_route_v4_best_gw result: via 192.168.1.1 dev wlp2s0
2025-12-04 11:56:37 us=755432 ROUTE_GATEWAY 192.168.1.1/255.255.255.0 IFACE=wlp2s0 HWADDR=18:1d:ea:34:0d:a0
2025-12-04 11:56:37 us=756175 TUN/TAP device tun1 opened
2025-12-04 11:56:37 us=756253 do_ifconfig, ipv4=1, ipv6=0
2025-12-04 11:56:37 us=756339 net_iface_mtu_set: mtu 1500 for tun1
2025-12-04 11:56:37 us=756506 net_iface_up: set tun1 up
2025-12-04 11:56:37 us=757025 net_addr_ptp_v4_add: 10.9.0.58 peer 10.9.0.57 dev tun1
2025-12-04 11:56:37 us=757511 Data Channel MTU parms [ mss_fix:1385 max_frag:0 tun_mtu:1500 tun_max_mtu:1600 headroom:136 payload:1768 tailroom:562 ET:0 ]
2025-12-04 11:56:37 us=758536 Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
2025-12-04 11:56:37 us=758668 Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
2025-12-04 11:56:37 us=758751 Data Channel: cipher 'AES-256-GCM', peer-id: 0, compression: 'lzo'
2025-12-04 11:56:37 us=758787 Timers: ping 5, ping-restart 30
WrW2025-12-04 11:56:39 us=761227 net_route_v4_add: 51.75.145.220/32 via 192.168.1.1 dev [NULL] table 0 metric -1
2025-12-04 11:56:39 us=761536 net_route_v4_add: 0.0.0.0/1 via 10.9.0.57 dev [NULL] table 0 metric -1
2025-12-04 11:56:39 us=761722 sitnl_send: rtnl: generic error (-101): Network is unreachable
2025-12-04 11:56:39 us=761787 ERROR: Linux route add command failed
2025-12-04 11:56:39 us=761818 net_route_v4_add: 128.0.0.0/1 via 10.9.0.57 dev [NULL] table 0 metric -1
2025-12-04 11:56:39 us=761918 sitnl_send: rtnl: generic error (-101): Network is unreachable
2025-12-04 11:56:39 us=761960 ERROR: Linux route add command failed
2025-12-04 11:56:39 us=761989 net_route_v4_add: 10.9.0.1/32 via 10.9.0.57 dev [NULL] table 0 metric -1
2025-12-04 11:56:39 us=762077 sitnl_send: rtnl: generic error (-101): Network is unreachable
2025-12-04 11:56:39 us=762111 ERROR: Linux route add command failed
2025-12-04 11:56:39 us=762153 Initialization Sequence Completed
WRWR2025-12-04 11:56:50 us=318659 event_wait : Interrupted system call (fd=-1,code=4)
2025-12-04 11:56:50 us=319038 TCP/UDP: Closing socket
2025-12-04 11:56:50 us=319218 net_route_v4_del: 51.75.145.220/32 via 192.168.1.1 dev [NULL] table 0 metric -1
2025-12-04 11:56:50 us=319404 net_route_v4_del: 0.0.0.0/1 via 10.9.0.57 dev [NULL] table 0 metric -1
2025-12-04 11:56:50 us=319489 sitnl_send: rtnl: generic error (-3): No such process
2025-12-04 11:56:50 us=319523 ERROR: Linux route delete command failed
2025-12-04 11:56:50 us=319545 net_route_v4_del: 128.0.0.0/1 via 10.9.0.57 dev [NULL] table 0 metric -1
2025-12-04 11:56:50 us=319658 sitnl_send: rtnl: generic error (-3): No such process
2025-12-04 11:56:50 us=319707 ERROR: Linux route delete command failed
2025-12-04 11:56:50 us=319730 Closing TUN/TAP interface
2025-12-04 11:56:50 us=319750 net_addr_ptp_v4_del: 10.9.0.58 dev tun1
2025-12-04 11:56:50 us=319856 sitnl_send: rtnl: generic error (-99): Cannot assign requested address
2025-12-04 11:56:50 us=319889 Linux can't del IP from iface tun1
2025-12-04 11:56:50 us=329670 SIGINT[hard,] received, process exiting
The reason, why 'Linux route add command failed' is that the tunnel is already deleted. I got this information from /var/sys/syslog. In order ot get as much information as possible I set the log level for the NetworkManager to TRACE:
2025-12-04T11:56:37.835655+01:00 Yoga nm-dispatcher: req:2 'up' [tun1]: environment: CONNECTION_FILENAME=/run/NetworkManager/system-connections/tun1.nmconnection
2025-12-04T11:56:37.835698+01:00 Yoga NetworkManager[2163]: <debug> [1764845797.8342] device[b85795c8545325df] (tun1): remove_pending_action (0): 'queued-state-change-activated'
2025-12-04T11:56:37.835743+01:00 Yoga nm-dispatcher: req:2 'up' [tun1]: environment: CONNECTION_UUID=ff0d7388-cf79-4511-9dcb-b7711d47ad40
2025-12-04T11:56:37.835777+01:00 Yoga nm-dispatcher: req:2 'up' [tun1]: environment: CONNECTION_ID=tun1
2025-12-04T11:56:37.835813+01:00 Yoga nm-dispatcher: req:2 'up' [tun1]: environment: DEVICE_IFACE=tun1
2025-12-04T11:56:37.835850+01:00 Yoga nm-dispatcher: req:2 'up' [tun1]: environment: DEVICE_IP_IFACE=tun1
2025-12-04T11:56:37.835891+01:00 Yoga nm-dispatcher: req:2 'up' [tun1]: environment: IP4_NUM_ROUTES=0
2025-12-04T11:56:37.835928+01:00 Yoga nm-dispatcher: req:2 'up' [tun1]: environment: PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/snap/bin
2025-12-04T11:56:37.835964+01:00 Yoga nm-dispatcher: req:2 'up' [tun1]: environment: NM_DISPATCHER_ACTION=up
2025-12-04T11:56:37.836006+01:00 Yoga nm-dispatcher: req:2 'up' [tun1]: completed: no scripts
2025-12-04T11:56:37.865011+01:00 Yoga NetworkManager[2163]: <trace> [1764845797.8649] settings: [timestamps-keyfile]: write keyfile: "/var/lib/NetworkManager/timestamps"
2025-12-04T11:56:37.865085+01:00 Yoga NetworkManager[2163]: <debug> [1764845797.8649] dispatcher: (14) succeeded (after 0.031 sec, 0 scripts invoked)
2025-12-04T11:56:37.904770+01:00 Yoga sh[6248]: Configuring interface:
2025-12-04T11:56:37.904956+01:00 Yoga sh[6404]: Warning: Executing wildcard deletion to stay compatible with old scripts.
2025-12-04T11:56:37.905003+01:00 Yoga sh[6404]: Explicitly specify the prefix length (10.9.0.58/32) to avoid this warning.
2025-12-04T11:56:37.905035+01:00 Yoga sh[6404]: This special behaviour is likely to disappear in further releases,
2025-12-04T11:56:37.905064+01:00 Yoga sh[6404]: fix your scripts!
2025-12-04T11:56:37.905114+01:00 Yoga NetworkManager[2163]: <trace> [1764845797.9046] platform-linux: event-notification: RTM_DELADDR, flags 0, seq 1764845798: 6: 10.9.0.58/32,10.9.0.57
2025-12-04T11:56:37.905192+01:00 Yoga NetworkManager[2163]: <debug> [1764845797.9047] platform: (tun1) signal: address 4 removed: 10.9.0.58/32 brd 0.0.0.0 lft forever pref forever lifetime 1288-0[4294967295,4294967295] ptp 10.9.0.57 dev 6 flags permanent src kernel
2025-12-04T11:56:37.905256+01:00 Yoga NetworkManager[2163]: <trace> [1764845797.9047] l3cfg[ac529313dcf0010b,ifindex=6]: emit signal (platform-change, obj-type=ip4-address, change=removed, obj=10.9.0.58/32 brd 0.0.0.0 lft forever pref forever lifetime 1288-0[4294967295,4294967295] ptp 10.9.0.57 dev 6 flags permanent src kernel)
2025-12-04T11:56:37.905321+01:00 Yoga NetworkManager[2163]: <trace> [1764845797.9047] platform-linux: event-notification: RTM_DELROUTE, flags 0, seq 0: type unicast 10.9.0.57/32 dev 6 metric 0 mss 0 rt-src rt-kernel scope link pref-src 10.9.0.58
2025-12-04T11:56:37.905372+01:00 Yoga NetworkManager[2163]: <debug> [1764845797.9047] platform: (tun1) signal: route 4 removed: type unicast 10.9.0.57/32 dev 6 metric 0 mss 0 rt-src rt-kernel scope link pref-src 10.9.0.58
2025-12-04T11:56:37.905416+01:00 Yoga NetworkManager[2163]: <trace> [1764845797.9047] l3cfg[ac529313dcf0010b,ifindex=6]: emit signal (platform-change, obj-type=ip4-route, change=removed, obj=type unicast 10.9.0.57/32 dev 6 metric 0 mss 0 rt-src rt-kernel scope link pref-src 10.9.0.58)
2025-12-04T11:56:37.905502+01:00 Yoga NetworkManager[2163]: <trace> [1764845797.9047] platform-linux: event-notification: RTM_DELROUTE, flags 0, seq 0: type local table 255 10.9.0.58/32 dev 6 metric 0 mss 0 rt-src rt-kernel scope host pref-src 10.9.0.58
2025-12-04T11:56:37.905552+01:00 Yoga NetworkManager[2163]: <debug>
tun1 is ready at 2025-12-04T11:56:37.865085+01 and right after that I get a warning from the ip-command which obviously got the task to delete an IP address.The next entries show how tun1 is deactivated.
I have a second notebook with the same Xubuntu and the same openVPN installation, which works perfectly. On this machine new addresses and routes are added after tun1 is established.
What else could I do in order to find out why OpenVPN has this strange behaviour?