Server connection fails with "Could not determine IPv4/IPv6 protocol. Using AF_INET6"

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
man1ck
OpenVpn Newbie
Posts: 3
Joined: Tue Apr 06, 2021 7:44 pm

Server connection fails with "Could not determine IPv4/IPv6 protocol. Using AF_INET6"

Post by man1ck » Tue Apr 06, 2021 8:30 pm

Here is the full log with verb 5 set:

Code: Select all

2021-04-06 16:27:09 us=151318 WARNING: --topology net30 support for server configs with IPv4 pools will be removed in a future release. Please migrate to --topology subnet as soon as possible.
2021-04-06 16:27:09 us=151318 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.
2021-04-06 16:27:09 us=152315 --pull-filter ignored for --mode server
2021-04-06 16:27:09 us=152315 Current Parameter Settings:
2021-04-06 16:27:09 us=152315   config = 'server.ovpn'
2021-04-06 16:27:09 us=152315   mode = 1
2021-04-06 16:27:09 us=152315   show_ciphers = DISABLED
2021-04-06 16:27:09 us=152315   show_digests = DISABLED
2021-04-06 16:27:09 us=152315   show_engines = DISABLED
2021-04-06 16:27:09 us=152315   genkey = DISABLED
2021-04-06 16:27:09 us=152315   genkey_filename = '[UNDEF]'
2021-04-06 16:27:09 us=152315   key_pass_file = '[UNDEF]'
2021-04-06 16:27:09 us=152315   show_tls_ciphers = DISABLED
2021-04-06 16:27:09 us=152315   connect_retry_max = 0
2021-04-06 16:27:09 us=152315 Connection profiles [0]:
2021-04-06 16:27:09 us=152315   proto = udp
2021-04-06 16:27:09 us=152315   local = '[UNDEF]'
2021-04-06 16:27:09 us=152315   local_port = '1194'
2021-04-06 16:27:09 us=152315   remote = '[UNDEF]'
2021-04-06 16:27:09 us=152315   remote_port = '1194'
2021-04-06 16:27:09 us=152315   remote_float = DISABLED
2021-04-06 16:27:09 us=152315   bind_defined = DISABLED
2021-04-06 16:27:09 us=152315   bind_local = ENABLED
2021-04-06 16:27:09 us=152315   bind_ipv6_only = DISABLED
2021-04-06 16:27:09 us=152315   connect_retry_seconds = 5
2021-04-06 16:27:09 us=152315   connect_timeout = 120
2021-04-06 16:27:09 us=152315   socks_proxy_server = '[UNDEF]'
2021-04-06 16:27:09 us=152315   socks_proxy_port = '[UNDEF]'
2021-04-06 16:27:09 us=152315   tun_mtu = 1500
2021-04-06 16:27:09 us=152315   tun_mtu_defined = ENABLED
2021-04-06 16:27:09 us=152315   link_mtu = 1500
2021-04-06 16:27:09 us=152315   link_mtu_defined = DISABLED
2021-04-06 16:27:09 us=152315   tun_mtu_extra = 0
2021-04-06 16:27:09 us=152315   tun_mtu_extra_defined = DISABLED
2021-04-06 16:27:09 us=152315   mtu_discover_type = -1
2021-04-06 16:27:09 us=152315   fragment = 0
2021-04-06 16:27:09 us=152315   mssfix = 1450
2021-04-06 16:27:09 us=152315   explicit_exit_notification = 1
2021-04-06 16:27:09 us=152315   tls_auth_file = '[INLINE]'
2021-04-06 16:27:09 us=152315   key_direction = 0
2021-04-06 16:27:09 us=152315   tls_crypt_file = '[UNDEF]'
2021-04-06 16:27:09 us=152315   tls_crypt_v2_file = '[UNDEF]'
2021-04-06 16:27:09 us=152315 Connection profiles END
2021-04-06 16:27:09 us=152315   remote_random = DISABLED
2021-04-06 16:27:09 us=152315   ipchange = '[UNDEF]'
2021-04-06 16:27:09 us=152315   dev = 'tun'
2021-04-06 16:27:09 us=153312   dev_type = '[UNDEF]'
2021-04-06 16:27:09 us=153312   dev_node = '[UNDEF]'
2021-04-06 16:27:09 us=153312   lladdr = '[UNDEF]'
2021-04-06 16:27:09 us=153312   topology = 1
2021-04-06 16:27:09 us=153312   ifconfig_local = '10.8.0.1'
2021-04-06 16:27:09 us=153312   ifconfig_remote_netmask = '10.8.0.2'
2021-04-06 16:27:09 us=153312   ifconfig_noexec = DISABLED
2021-04-06 16:27:09 us=153312   ifconfig_nowarn = DISABLED
2021-04-06 16:27:09 us=153312   ifconfig_ipv6_local = '[UNDEF]'
2021-04-06 16:27:09 us=153312   ifconfig_ipv6_netbits = 0
2021-04-06 16:27:09 us=153312   ifconfig_ipv6_remote = '[UNDEF]'
2021-04-06 16:27:09 us=153312   shaper = 0
2021-04-06 16:27:09 us=153312   mtu_test = 0
2021-04-06 16:27:09 us=153312   mlock = DISABLED
2021-04-06 16:27:09 us=153312   keepalive_ping = 10
2021-04-06 16:27:09 us=153312   keepalive_timeout = 120
2021-04-06 16:27:09 us=153312   inactivity_timeout = 0
2021-04-06 16:27:09 us=153312   ping_send_timeout = 10
2021-04-06 16:27:09 us=153312   ping_rec_timeout = 240
2021-04-06 16:27:09 us=153312   ping_rec_timeout_action = 2
2021-04-06 16:27:09 us=153312   ping_timer_remote = DISABLED
2021-04-06 16:27:09 us=153312   remap_sigusr1 = 0
2021-04-06 16:27:09 us=153312   persist_tun = ENABLED
2021-04-06 16:27:09 us=153312   persist_local_ip = DISABLED
2021-04-06 16:27:09 us=153312   persist_remote_ip = DISABLED
2021-04-06 16:27:09 us=153312   persist_key = ENABLED
2021-04-06 16:27:09 us=153312   passtos = DISABLED
2021-04-06 16:27:09 us=153312   resolve_retry_seconds = 1000000000
2021-04-06 16:27:09 us=153312   resolve_in_advance = DISABLED
2021-04-06 16:27:09 us=153312   username = '[UNDEF]'
2021-04-06 16:27:09 us=153312   groupname = '[UNDEF]'
2021-04-06 16:27:09 us=153312   chroot_dir = '[UNDEF]'
2021-04-06 16:27:09 us=153312   cd_dir = '[UNDEF]'
2021-04-06 16:27:09 us=153312   writepid = '[UNDEF]'
2021-04-06 16:27:09 us=153312   up_script = '[UNDEF]'
2021-04-06 16:27:09 us=153312   down_script = '[UNDEF]'
2021-04-06 16:27:09 us=153312   down_pre = DISABLED
2021-04-06 16:27:09 us=153312   up_restart = DISABLED
2021-04-06 16:27:09 us=153312   up_delay = DISABLED
2021-04-06 16:27:09 us=153312   daemon = DISABLED
2021-04-06 16:27:09 us=153312   inetd = 0
2021-04-06 16:27:09 us=153312   log = ENABLED
2021-04-06 16:27:09 us=153312   suppress_timestamps = DISABLED
2021-04-06 16:27:09 us=153312   machine_readable_output = DISABLED
2021-04-06 16:27:09 us=153312   nice = 0
2021-04-06 16:27:09 us=153312   verbosity = 5
2021-04-06 16:27:09 us=153312   mute = 0
2021-04-06 16:27:09 us=153312   gremlin = 0
2021-04-06 16:27:09 us=153312   status_file = 'openvpn-status.log'
2021-04-06 16:27:09 us=153312   status_file_version = 1
2021-04-06 16:27:09 us=153312   status_file_update_freq = 60
2021-04-06 16:27:09 us=153312   occ = ENABLED
2021-04-06 16:27:09 us=153312   rcvbuf = 0
2021-04-06 16:27:09 us=153312   sndbuf = 0
2021-04-06 16:27:09 us=153312   sockflags = 0
2021-04-06 16:27:09 us=153312   fast_io = DISABLED
2021-04-06 16:27:09 us=153312   comp.alg = 0
2021-04-06 16:27:09 us=153312   comp.flags = 0
2021-04-06 16:27:09 us=153312   route_script = '[UNDEF]'
2021-04-06 16:27:09 us=153312   route_default_gateway = '[UNDEF]'
2021-04-06 16:27:09 us=153312   route_default_metric = 0
2021-04-06 16:27:09 us=153312   route_noexec = DISABLED
2021-04-06 16:27:09 us=153312   route_delay = 0
2021-04-06 16:27:09 us=153312   route_delay_window = 30
2021-04-06 16:27:09 us=153312   route_delay_defined = DISABLED
2021-04-06 16:27:09 us=153312   route_nopull = DISABLED
2021-04-06 16:27:09 us=153312   route_gateway_via_dhcp = DISABLED
2021-04-06 16:27:09 us=153312   allow_pull_fqdn = DISABLED
2021-04-06 16:27:09 us=153312   Pull filters:
2021-04-06 16:27:09 us=153312     ignore "route-method"
2021-04-06 16:27:09 us=153312   route 10.8.0.0/255.255.255.0/default (not set)/default (not set)
2021-04-06 16:27:09 us=153312   route 10.64.0.0/default (not set)/default (not set)/default (not set)
2021-04-06 16:27:09 us=153312   route 10.12.0.0/255.255.255.0/default (not set)/default (not set)
2021-04-06 16:27:09 us=153312   route 10.66.1.0/255.255.255.0/default (not set)/default (not set)
2021-04-06 16:27:09 us=153312   management_addr = '127.0.0.1'
2021-04-06 16:27:09 us=153312   management_port = '25343'
2021-04-06 16:27:09 us=153312   management_user_pass = 'stdin'
2021-04-06 16:27:09 us=153312   management_log_history_cache = 250
2021-04-06 16:27:09 us=153312   management_echo_buffer_size = 100
2021-04-06 16:27:09 us=153312   management_write_peer_info_file = '[UNDEF]'
2021-04-06 16:27:09 us=153312   management_client_user = '[UNDEF]'
2021-04-06 16:27:09 us=153312   management_client_group = '[UNDEF]'
2021-04-06 16:27:09 us=153312   management_flags = 6
2021-04-06 16:27:09 us=153312   shared_secret_file = '[UNDEF]'
2021-04-06 16:27:09 us=153312   key_direction = 0
2021-04-06 16:27:09 us=153312   ciphername = 'AES-256-CBC'
2021-04-06 16:27:09 us=153312   ncp_enabled = ENABLED
2021-04-06 16:27:09 us=153312   ncp_ciphers = 'AES-256-GCM:AES-128-GCM:AES-256-CBC'
2021-04-06 16:27:09 us=153312   authname = 'SHA1'
2021-04-06 16:27:09 us=153312   prng_hash = 'SHA1'
2021-04-06 16:27:09 us=153312   prng_nonce_secret_len = 16
2021-04-06 16:27:09 us=153312   keysize = 0
2021-04-06 16:27:09 us=153312   engine = DISABLED
2021-04-06 16:27:09 us=153312   replay = ENABLED
2021-04-06 16:27:09 us=153312   mute_replay_warnings = DISABLED
2021-04-06 16:27:09 us=153312   replay_window = 64
2021-04-06 16:27:09 us=153312   replay_time = 15
2021-04-06 16:27:09 us=153312   packet_id_file = '[UNDEF]'
2021-04-06 16:27:09 us=153312   test_crypto = DISABLED
2021-04-06 16:27:09 us=153312   tls_server = ENABLED
2021-04-06 16:27:09 us=153312   tls_client = DISABLED
2021-04-06 16:27:09 us=153312   ca_file = 'C:\Program Files\OpenVPN\easy-rsa\keys\ca.crt'
2021-04-06 16:27:09 us=153312   ca_path = '[UNDEF]'
2021-04-06 16:27:09 us=153312   dh_file = 'C:\Program Files\OpenVPN\easy-rsa\keys\dh2048.pem'
2021-04-06 16:27:09 us=153312   cert_file = 'C:\Program Files\OpenVPN\easy-rsa\keys\server.crt'
2021-04-06 16:27:09 us=153312   extra_certs_file = '[UNDEF]'
2021-04-06 16:27:09 us=153312   priv_key_file = 'C:\Program Files\OpenVPN\easy-rsa\keys\server.key'
2021-04-06 16:27:09 us=153312   pkcs12_file = '[UNDEF]'
2021-04-06 16:27:09 us=153312   cryptoapi_cert = '[UNDEF]'
2021-04-06 16:27:09 us=153312   cipher_list = '[UNDEF]'
2021-04-06 16:27:09 us=153312   cipher_list_tls13 = '[UNDEF]'
2021-04-06 16:27:09 us=153312   tls_cert_profile = '[UNDEF]'
2021-04-06 16:27:09 us=153312   tls_verify = '[UNDEF]'
2021-04-06 16:27:09 us=153312   tls_export_cert = '[UNDEF]'
2021-04-06 16:27:09 us=153312   verify_x509_type = 0
2021-04-06 16:27:09 us=153312   verify_x509_name = '[UNDEF]'
2021-04-06 16:27:09 us=153312   crl_file = '[UNDEF]'
2021-04-06 16:27:09 us=153312   ns_cert_type = 0
2021-04-06 16:27:09 us=153312   remote_cert_ku[i] = 0
2021-04-06 16:27:09 us=153312   remote_cert_ku[i] = 0
2021-04-06 16:27:09 us=153312   remote_cert_ku[i] = 0
2021-04-06 16:27:09 us=153312   remote_cert_ku[i] = 0
2021-04-06 16:27:09 us=153312   remote_cert_ku[i] = 0
2021-04-06 16:27:09 us=153312   remote_cert_ku[i] = 0
2021-04-06 16:27:09 us=153312   remote_cert_ku[i] = 0
2021-04-06 16:27:09 us=153312   remote_cert_ku[i] = 0
2021-04-06 16:27:09 us=153312   remote_cert_ku[i] = 0
2021-04-06 16:27:09 us=153312   remote_cert_ku[i] = 0
2021-04-06 16:27:09 us=153312   remote_cert_ku[i] = 0
2021-04-06 16:27:09 us=153312   remote_cert_ku[i] = 0
2021-04-06 16:27:09 us=153312   remote_cert_ku[i] = 0
2021-04-06 16:27:09 us=153312   remote_cert_ku[i] = 0
2021-04-06 16:27:09 us=153312   remote_cert_ku[i] = 0
2021-04-06 16:27:09 us=153312   remote_cert_ku[i] = 0
2021-04-06 16:27:09 us=153312   remote_cert_eku = '[UNDEF]'
2021-04-06 16:27:09 us=153312   ssl_flags = 0
2021-04-06 16:27:09 us=153312   tls_timeout = 2
2021-04-06 16:27:09 us=153312   renegotiate_bytes = -1
2021-04-06 16:27:09 us=153312   renegotiate_packets = 0
2021-04-06 16:27:09 us=153312   renegotiate_seconds = 3600
2021-04-06 16:27:09 us=153312   handshake_window = 60
2021-04-06 16:27:09 us=153312   transition_window = 3600
2021-04-06 16:27:09 us=153312   single_session = DISABLED
2021-04-06 16:27:09 us=153312   push_peer_info = DISABLED
2021-04-06 16:27:09 us=153312   tls_exit = DISABLED
2021-04-06 16:27:09 us=153312   tls_crypt_v2_metadata = '[UNDEF]'
2021-04-06 16:27:09 us=154309   pkcs11_protected_authentication = DISABLED
2021-04-06 16:27:09 us=154309   pkcs11_protected_authentication = DISABLED
2021-04-06 16:27:09 us=154309   pkcs11_protected_authentication = DISABLED
2021-04-06 16:27:09 us=154309   pkcs11_protected_authentication = DISABLED
2021-04-06 16:27:09 us=154309   pkcs11_protected_authentication = DISABLED
2021-04-06 16:27:09 us=154309   pkcs11_protected_authentication = DISABLED
2021-04-06 16:27:09 us=154309   pkcs11_protected_authentication = DISABLED
2021-04-06 16:27:09 us=154309   pkcs11_protected_authentication = DISABLED
2021-04-06 16:27:09 us=154309   pkcs11_protected_authentication = DISABLED
2021-04-06 16:27:09 us=154309   pkcs11_protected_authentication = DISABLED
2021-04-06 16:27:09 us=154309   pkcs11_protected_authentication = DISABLED
2021-04-06 16:27:09 us=154309   pkcs11_protected_authentication = DISABLED
2021-04-06 16:27:09 us=154309   pkcs11_protected_authentication = DISABLED
2021-04-06 16:27:09 us=154309   pkcs11_protected_authentication = DISABLED
2021-04-06 16:27:09 us=154309   pkcs11_protected_authentication = DISABLED
2021-04-06 16:27:09 us=154309   pkcs11_protected_authentication = DISABLED
2021-04-06 16:27:09 us=154309   pkcs11_private_mode = 00000000
2021-04-06 16:27:09 us=154309   pkcs11_private_mode = 00000000
2021-04-06 16:27:09 us=154309   pkcs11_private_mode = 00000000
2021-04-06 16:27:09 us=154309   pkcs11_private_mode = 00000000
2021-04-06 16:27:09 us=154309   pkcs11_private_mode = 00000000
2021-04-06 16:27:09 us=154309   pkcs11_private_mode = 00000000
2021-04-06 16:27:09 us=154309   pkcs11_private_mode = 00000000
2021-04-06 16:27:09 us=154309   pkcs11_private_mode = 00000000
2021-04-06 16:27:09 us=154309   pkcs11_private_mode = 00000000
2021-04-06 16:27:09 us=154309   pkcs11_private_mode = 00000000
2021-04-06 16:27:09 us=154309   pkcs11_private_mode = 00000000
2021-04-06 16:27:09 us=154309   pkcs11_private_mode = 00000000
2021-04-06 16:27:09 us=154309   pkcs11_private_mode = 00000000
2021-04-06 16:27:09 us=154309   pkcs11_private_mode = 00000000
2021-04-06 16:27:09 us=154309   pkcs11_private_mode = 00000000
2021-04-06 16:27:09 us=154309   pkcs11_private_mode = 00000000
2021-04-06 16:27:09 us=154309   pkcs11_cert_private = DISABLED
2021-04-06 16:27:09 us=154309   pkcs11_cert_private = DISABLED
2021-04-06 16:27:09 us=154309   pkcs11_cert_private = DISABLED
2021-04-06 16:27:09 us=154309   pkcs11_cert_private = DISABLED
2021-04-06 16:27:09 us=154309   pkcs11_cert_private = DISABLED
2021-04-06 16:27:09 us=154309   pkcs11_cert_private = DISABLED
2021-04-06 16:27:09 us=154309   pkcs11_cert_private = DISABLED
2021-04-06 16:27:09 us=154309   pkcs11_cert_private = DISABLED
2021-04-06 16:27:09 us=154309   pkcs11_cert_private = DISABLED
2021-04-06 16:27:09 us=154309   pkcs11_cert_private = DISABLED
2021-04-06 16:27:09 us=154309   pkcs11_cert_private = DISABLED
2021-04-06 16:27:09 us=154309   pkcs11_cert_private = DISABLED
2021-04-06 16:27:09 us=154309   pkcs11_cert_private = DISABLED
2021-04-06 16:27:09 us=154309   pkcs11_cert_private = DISABLED
2021-04-06 16:27:09 us=154309   pkcs11_cert_private = DISABLED
2021-04-06 16:27:09 us=154309   pkcs11_cert_private = DISABLED
2021-04-06 16:27:09 us=154309   pkcs11_pin_cache_period = -1
2021-04-06 16:27:09 us=154309   pkcs11_id = '[UNDEF]'
2021-04-06 16:27:09 us=154309   pkcs11_id_management = DISABLED
2021-04-06 16:27:09 us=154309   server_network = 10.8.0.0
2021-04-06 16:27:09 us=154309   server_netmask = 255.255.255.0
2021-04-06 16:27:09 us=154309   server_network_ipv6 = ::
2021-04-06 16:27:09 us=154309   server_netbits_ipv6 = 0
2021-04-06 16:27:09 us=154309   server_bridge_ip = 0.0.0.0
2021-04-06 16:27:09 us=154309   server_bridge_netmask = 0.0.0.0
2021-04-06 16:27:09 us=154309   server_bridge_pool_start = 0.0.0.0
2021-04-06 16:27:09 us=154309   server_bridge_pool_end = 0.0.0.0
2021-04-06 16:27:09 us=154309   push_entry = 'route 10.64.0.0 255.255.255.0'
2021-04-06 16:27:09 us=154309   push_entry = 'route 10.12.0.0 255.255.255.0'
2021-04-06 16:27:09 us=154309   push_entry = 'route 10.8.0.1'
2021-04-06 16:27:09 us=154309   push_entry = 'topology net30'
2021-04-06 16:27:09 us=154309   push_entry = 'ping 10'
2021-04-06 16:27:09 us=154309   push_entry = 'ping-restart 120'
2021-04-06 16:27:09 us=154309   ifconfig_pool_defined = ENABLED
2021-04-06 16:27:09 us=154309   ifconfig_pool_start = 10.8.0.4
2021-04-06 16:27:09 us=154309   ifconfig_pool_end = 10.8.0.251
2021-04-06 16:27:09 us=154309   ifconfig_pool_netmask = 0.0.0.0
2021-04-06 16:27:09 us=154309   ifconfig_pool_persist_filename = 'ipp.txt'
2021-04-06 16:27:09 us=154309   ifconfig_pool_persist_refresh_freq = 600
2021-04-06 16:27:09 us=154309   ifconfig_ipv6_pool_defined = DISABLED
2021-04-06 16:27:09 us=154309   ifconfig_ipv6_pool_base = ::
2021-04-06 16:27:09 us=154309   ifconfig_ipv6_pool_netbits = 0
2021-04-06 16:27:09 us=154309   n_bcast_buf = 256
2021-04-06 16:27:09 us=154309   tcp_queue_limit = 64
2021-04-06 16:27:09 us=154309   real_hash_size = 256
2021-04-06 16:27:09 us=154309   virtual_hash_size = 256
2021-04-06 16:27:09 us=154309   client_connect_script = '[UNDEF]'
2021-04-06 16:27:09 us=154309   learn_address_script = '[UNDEF]'
2021-04-06 16:27:09 us=154309   client_disconnect_script = '[UNDEF]'
2021-04-06 16:27:09 us=154309   client_config_dir = '[UNDEF]'
2021-04-06 16:27:09 us=154309   ccd_exclusive = DISABLED
2021-04-06 16:27:09 us=154309   tmp_dir = 'C:\Users\Nick\AppData\Local\Temp\'
2021-04-06 16:27:09 us=154309   push_ifconfig_defined = DISABLED
2021-04-06 16:27:09 us=154309   push_ifconfig_local = 0.0.0.0
2021-04-06 16:27:09 us=154309   push_ifconfig_remote_netmask = 0.0.0.0
2021-04-06 16:27:09 us=154309   push_ifconfig_ipv6_defined = DISABLED
2021-04-06 16:27:09 us=154309   push_ifconfig_ipv6_local = ::/0
2021-04-06 16:27:09 us=154309   push_ifconfig_ipv6_remote = ::
2021-04-06 16:27:09 us=154309   enable_c2c = DISABLED
2021-04-06 16:27:09 us=154309   duplicate_cn = DISABLED
2021-04-06 16:27:09 us=154309   cf_max = 0
2021-04-06 16:27:09 us=154309   cf_per = 0
2021-04-06 16:27:09 us=154309   max_clients = 1024
2021-04-06 16:27:09 us=154309   max_routes_per_client = 256
2021-04-06 16:27:09 us=154309   auth_user_pass_verify_script = '[UNDEF]'
2021-04-06 16:27:09 us=154309   auth_user_pass_verify_script_via_file = DISABLED
2021-04-06 16:27:09 us=154309   auth_token_generate = DISABLED
2021-04-06 16:27:09 us=154309   auth_token_lifetime = 0
2021-04-06 16:27:09 us=154309   auth_token_secret_file = '[UNDEF]'
2021-04-06 16:27:09 us=154309   vlan_tagging = DISABLED
2021-04-06 16:27:09 us=154309   vlan_accept = all
2021-04-06 16:27:09 us=154309   vlan_pvid = 1
2021-04-06 16:27:09 us=154309   client = DISABLED
2021-04-06 16:27:09 us=154309   pull = DISABLED
2021-04-06 16:27:09 us=154309   auth_user_pass_file = '[UNDEF]'
2021-04-06 16:27:09 us=154309   show_net_up = DISABLED
2021-04-06 16:27:09 us=154309   route_method = 3
2021-04-06 16:27:09 us=154309   block_outside_dns = DISABLED
2021-04-06 16:27:09 us=154309   ip_win32_defined = DISABLED
2021-04-06 16:27:09 us=154309   ip_win32_type = 3
2021-04-06 16:27:09 us=154309   dhcp_masq_offset = 0
2021-04-06 16:27:09 us=154309   dhcp_lease_time = 31536000
2021-04-06 16:27:09 us=154309   tap_sleep = 10
2021-04-06 16:27:09 us=154309   dhcp_options = DISABLED
2021-04-06 16:27:09 us=154309   dhcp_renew = ENABLED
2021-04-06 16:27:09 us=154309   dhcp_pre_release = DISABLED
2021-04-06 16:27:09 us=154309   domain = '[UNDEF]'
2021-04-06 16:27:09 us=154309   netbios_scope = '[UNDEF]'
2021-04-06 16:27:09 us=154309   netbios_node_type = 0
2021-04-06 16:27:09 us=154309   disable_nbt = DISABLED
2021-04-06 16:27:09 us=154309 OpenVPN 2.5.1 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Feb 24 2021
2021-04-06 16:27:09 us=154309 Windows version 10.0 (Windows 10 or greater) 64bit
2021-04-06 16:27:09 us=154309 library versions: OpenSSL 1.1.1j  16 Feb 2021, LZO 2.10
Enter Management Password:
2021-04-06 16:27:09 us=155307 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25343
2021-04-06 16:27:09 us=155307 Need hold release from management interface, waiting...
2021-04-06 16:27:09 us=657356 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25343
2021-04-06 16:27:09 us=768333 MANAGEMENT: CMD 'state on'
2021-04-06 16:27:09 us=768333 MANAGEMENT: CMD 'log all on'
2021-04-06 16:27:09 us=902970 MANAGEMENT: CMD 'echo all on'
2021-04-06 16:27:09 us=903967 MANAGEMENT: CMD 'bytecount 5'
2021-04-06 16:27:09 us=905962 MANAGEMENT: CMD 'hold off'
2021-04-06 16:27:09 us=906959 MANAGEMENT: CMD 'hold release'
2021-04-06 16:27:09 us=910948 NOTE: your local LAN uses the extremely common subnet address 192.168.0.x or 192.168.1.x.  Be aware that this might create routing conflicts if you connect to the VPN server from public locations such as internet cafes that use the same subnet.
2021-04-06 16:27:09 us=910948 Note: cannot open openvpn-status.log for WRITE
2021-04-06 16:27:09 us=910948 Note: cannot open ipp.txt for READ/WRITE
2021-04-06 16:27:09 us=911946 Diffie-Hellman initialized with 2048 bit key
2021-04-06 16:27:09 us=912943 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
2021-04-06 16:27:09 us=912943 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
2021-04-06 16:27:09 us=912943 TLS-Auth MTU parms [ L:1621 D:1184 EF:66 EB:0 ET:0 EL:3 ]
2021-04-06 16:27:09 us=912943 interactive service msg_channel=588
2021-04-06 16:27:09 us=915935 ROUTE_GATEWAY 192.168.1.1/255.255.255.0 I=2 HWADDR=70:85:c2:3f:0a:0d
2021-04-06 16:27:09 us=915935 open_tun
2021-04-06 16:27:09 us=919924 CreateFile failed on tap-windows6 device: \\.\Global\{5A37DA72-ADB4-4225-952D-FC7B6A15338B}.tap
2021-04-06 16:27:09 us=919924 CreateFile failed on tap-windows6 device: \\.\Global\{F901F7B0-C44D-4991-A6EF-29A0D253A035}.tap
2021-04-06 16:27:09 us=919924 tap-windows6 device [Local Area Connection 2] opened
2021-04-06 16:27:09 us=919924 TAP-Windows Driver Version 9.24 
2021-04-06 16:27:09 us=919924 TAP-Windows MTU=1500
2021-04-06 16:27:09 us=922917 Notified TAP-Windows driver to set a DHCP IP/netmask of 10.8.0.1/255.255.255.252 on interface {EBEC8D67-7A72-432B-BC81-900853AAA3CC} [DHCP-serv: 10.8.0.2, lease-time: 31536000]
2021-04-06 16:27:09 us=922917 Sleeping for 10 seconds...
2021-04-06 16:27:20 us=3403 Successful ARP Flush on interface [29] {EBEC8D67-7A72-432B-BC81-900853AAA3CC}
2021-04-06 16:27:24 us=38401 TAP: DHCP address renewal succeeded
2021-04-06 16:27:24 us=38401 do_ifconfig, ipv4=1, ipv6=0
2021-04-06 16:27:24 us=38401 MANAGEMENT: >STATE:1617740844,ASSIGN_IP,,10.8.0.1,,,,
2021-04-06 16:27:24 us=38401 IPv4 MTU set to 1500 on interface 29 using service
2021-04-06 16:27:24 us=38401 MANAGEMENT: >STATE:1617740844,ADD_ROUTES,,,,,,
2021-04-06 16:27:24 us=38401 C:\WINDOWS\system32\route.exe ADD 10.66.1.0 MASK 255.255.255.0 10.8.0.2
2021-04-06 16:27:24 us=41391 Route addition via service succeeded
2021-04-06 16:27:24 us=41391 C:\WINDOWS\system32\route.exe ADD 10.12.0.0 MASK 255.255.255.0 10.8.0.2
2021-04-06 16:27:24 us=43386 Route addition via service succeeded
2021-04-06 16:27:24 us=43386 C:\WINDOWS\system32\route.exe ADD 10.64.0.0 MASK 255.255.255.255 10.8.0.2
2021-04-06 16:27:24 us=46378 Route addition via service succeeded
2021-04-06 16:27:24 us=46378 C:\WINDOWS\system32\route.exe ADD 10.8.0.0 MASK 255.255.255.0 10.8.0.2
2021-04-06 16:27:24 us=49370 Route addition via service succeeded
2021-04-06 16:27:24 us=49370 Data Channel MTU parms [ L:1621 D:1450 EF:121 EB:406 ET:0 EL:3 ]
2021-04-06 16:27:24 us=49370 Could not determine IPv4/IPv6 protocol. Using AF_INET6
2021-04-06 16:27:24 us=49370 Socket Buffers: R=[65536->65536] S=[65536->65536]
2021-04-06 16:27:24 us=49370 setsockopt(IPV6_V6ONLY=0)
2021-04-06 16:27:24 us=49370 MANAGEMENT: Client disconnected
2021-04-06 16:27:24 us=49370 TCP/UDP: Socket bind failed on local address [AF_INET6][undef]:1194
2021-04-06 16:27:24 us=49370 Exiting due to fatal error
2021-04-06 16:27:24 us=49370 C:\WINDOWS\system32\route.exe DELETE 10.66.1.0 MASK 255.255.255.0 10.8.0.2
2021-04-06 16:27:24 us=51365 Route deletion via service succeeded
2021-04-06 16:27:24 us=51365 C:\WINDOWS\system32\route.exe DELETE 10.12.0.0 MASK 255.255.255.0 10.8.0.2
2021-04-06 16:27:24 us=54356 Route deletion via service succeeded
2021-04-06 16:27:24 us=54356 C:\WINDOWS\system32\route.exe DELETE 10.64.0.0 MASK 255.255.255.255 10.8.0.2
2021-04-06 16:27:24 us=56350 Route deletion via service succeeded
2021-04-06 16:27:24 us=56350 C:\WINDOWS\system32\route.exe DELETE 10.8.0.0 MASK 255.255.255.0 10.8.0.2
2021-04-06 16:27:24 us=59343 Route deletion via service succeeded
2021-04-06 16:27:24 us=59343 Closing TUN/TAP interface
2021-04-06 16:27:24 us=95246 TAP: DHCP address released
Ran netstat to see if anything is running on 1194 and there isn't

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 9028
Joined: Fri Jun 03, 2016 1:17 pm

Re: Server connection fails with "Could not determine IPv4/IPv6 protocol. Using AF_INET6"

Post by TinCanTech » Tue Apr 06, 2021 8:46 pm

Your user is probably not a member of the "OpenVPN Administrators" group.

Start here:
https://community.openvpn.net/openvpn/w ... PN-GUI-New

And next time read this:
viewtopic.php?f=30&t=22603

..Cover to Cover!

man1ck
OpenVpn Newbie
Posts: 3
Joined: Tue Apr 06, 2021 7:44 pm

Re: Server connection fails with "Could not determine IPv4/IPv6 protocol. Using AF_INET6"

Post by man1ck » Tue Apr 06, 2021 8:58 pm

I am logged in as a Windows Admin and thus, according to your linked documentation, I shouldn't have to be added to the OpenVPN Administration Group. Yet another thing the installer evidently SHOULD have done, and didn't. So maybe it isn't user error and my lack of documentation scouring... like you so often like to throw in people's face, but rather an issue with the way the program itself is installed.

The doc you linked doesn't even explain HOW to add someone to that administrator group. The popup warning me that I'm not part of that group has never appeared.

What next, documentation nazi?

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 9028
Joined: Fri Jun 03, 2016 1:17 pm

Re: Server connection fails with "Could not determine IPv4/IPv6 protocol. Using AF_INET6"

Post by TinCanTech » Tue Apr 06, 2021 9:18 pm

man1ck wrote:
Tue Apr 06, 2021 8:58 pm
What next, documentation nazi?
Learn how to use Windows.

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 9028
Joined: Fri Jun 03, 2016 1:17 pm

Re: Server connection fails with "Could not determine IPv4/IPv6 protocol. Using AF_INET6"

Post by TinCanTech » Tue Apr 06, 2021 9:21 pm

Looks like you changed the Subject of your post..

As far as I am concerned you are just here to moan about me.
In which case you can do what everybody else does and read the documentation or Fail.

Or you can hire me or somebody who does know what they are doing to help you..

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 9028
Joined: Fri Jun 03, 2016 1:17 pm

Re: Server connection fails with "Could not determine IPv4/IPv6 protocol. Using AF_INET6"

Post by TinCanTech » Tue Apr 06, 2021 9:25 pm

man1ck wrote:
Tue Apr 06, 2021 8:30 pm
2021-04-06 16:27:24 us=49370 TCP/UDP: Socket bind failed on local address [AF_INET6][undef]:1194
2021-04-06 16:27:24 us=49370 Exiting due to fatal error
man1ck wrote:
Tue Apr 06, 2021 8:30 pm
Ran netstat to see if anything is running on 1194 and there isn't
You must have done something wrong .. like run it on the wrong machine.

man1ck
OpenVpn Newbie
Posts: 3
Joined: Tue Apr 06, 2021 7:44 pm

Re: Server connection fails with "Could not determine IPv4/IPv6 protocol. Using AF_INET6"

Post by man1ck » Tue Apr 06, 2021 10:03 pm

TinCanTech wrote:
Tue Apr 06, 2021 9:25 pm
man1ck wrote:
Tue Apr 06, 2021 8:30 pm
2021-04-06 16:27:24 us=49370 TCP/UDP: Socket bind failed on local address [AF_INET6][undef]:1194
2021-04-06 16:27:24 us=49370 Exiting due to fatal error
man1ck wrote:
Tue Apr 06, 2021 8:30 pm
Ran netstat to see if anything is running on 1194 and there isn't
You must have done something wrong .. like run it on the wrong machine.
Thanks genius, that's why I'm here on the forums.

Your help is "Learn how to use windows" and you don't see how you're being an unhelpful pretentious prick? Man you must be a really closeted person.

I have already spent 8+ hours attempting to get this setup, and I'd rather not spend another 20+ reading every other scrap of docs I havent already read, when I should be able to ask questions here to figure out the issue from someone more experienced than me... you know the ENTIRE PURPOSE OF A   FORUM.

Assholes like you that literally respond to every post with "read the docs idiot" or "pay me or someone smarter than you to do it" are complete garbage and cant even understand the purpose of a forum in the first place.

  off, I'd rather shoot myself in the face then receive any kind of "help" from you

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 9028
Joined: Fri Jun 03, 2016 1:17 pm

Re: Server connection fails with "Could not determine IPv4/IPv6 protocol. Using AF_INET6"

Post by TinCanTech » Tue Apr 06, 2021 10:11 pm

If you had posted your problem without all your bad-mouthing me
then, perhaps, I would have helped a little more..


But as you are such a complete wanker then I don't see any reason to help you at all.

Hope you get on with the rest of your pathetic existence without ever needing help again
because you sure don't know what manners are...

Ciao ..

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 9028
Joined: Fri Jun 03, 2016 1:17 pm

Re: Server connection fails with "Could not determine IPv4/IPv6 protocol. Using AF_INET6"

Post by TinCanTech » Tue Apr 06, 2021 10:15 pm

An de ting dat is real funny to me is dat yo gimp is so easy to fix ... :lol:

Welcome to the real world.

I prolly get banned fo dis .. truth hurts .. das why so many lies get told.

300000
OpenVPN Expert
Posts: 510
Joined: Tue May 01, 2012 9:30 pm

Re: Server connection fails with "Could not determine IPv4/IPv6 protocol. Using AF_INET6"

Post by 300000 » Tue Apr 06, 2021 10:40 pm

TCP/UDP: Socket bind failed on local address [AF_INET6][undef]:1194

it mean some thing run on that port so openvpn cant start on . maybe old openvpn run than so there is no two openvpn run on the same port. check it again and check windows service to see if anything on openvpn service running .


Post Reply