New installation OVPN server Win 10

This forum is for admins who are looking to build or expand their OpenVPN setup.
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
Firello
OpenVpn Newbie
Posts: 4
Joined: Mon Jan 17, 2022 10:57 am

New installation OVPN server Win 10

Post by Firello » Mon Jan 17, 2022 11:58 am

Hello,

please help me anyone. I didn't find anything helpful online.

I followed this installation guide from community.openvpn.net.
I want to create simple vpn server + 1 client.

Problem: OpenVPNService is running but openvpn-status.log is empty, server.log is empty. There is no vpn address in ipconfig (TAP is installed)

Version: 2.4.9
server.ovpn:

Code: Select all

port 1194
proto udp
dev tun
ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\config\\server.crt"
key "C:\\Program Files\\OpenVPN\\config\\server.key" 
dh "C:\\Program Files\\OpenVPN\\config\\dh2048.pem"
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
keepalive 10 120
tls-auth ta.key 0
cipher AES-256-CBC
persist-key
persist-tun
status openvpn-status.log
verb 3
explicit-exit-notify 1
keys and certificates, everything was created without problems via guide. I don'tknow what am I missing.

Thanks in advance.
Last edited by Firello on Tue Jan 18, 2022 7:33 am, edited 3 times in total.

User avatar
TinCanTech
Forum Team
Posts: 10711
Joined: Fri Jun 03, 2016 1:17 pm

Re: New installation OVPN server Win 10

Post by TinCanTech » Mon Jan 17, 2022 3:11 pm

Firello wrote:
Mon Jan 17, 2022 11:58 am
I don'tknow what am I missing
Firello wrote:
Mon Jan 17, 2022 11:58 am
# By default, log messages will go to the syslog (or
# on Windows, if running as a service, they will go to
# the "\Program Files\OpenVPN\log" directory
).
# Use log or log-append to override this default.
# "log" will truncate the log file on OpenVPN startup,
# while "log-append" will append to it. Use one
# or the other (but not both).
Logs.

viewtopic.php?f=30&t=22603#p68963

Firello
OpenVpn Newbie
Posts: 4
Joined: Mon Jan 17, 2022 10:57 am

Re: New installation OVPN server Win 10

Post by Firello » Tue Jan 18, 2022 7:46 am

Hi,

thank you for a respond. Yes I see missing logs. Tried verbose 4, even 9 - restart the service and It's same. 0 size of the logs (server.log and openvpn-status.log). openvpn-status.log even tries to write something I guess (updates every 10 sec). Tried to give service a root login with admin rights (no difference).

Firello
OpenVpn Newbie
Posts: 4
Joined: Mon Jan 17, 2022 10:57 am

Re: New installation OVPN server Win 10

Post by Firello » Tue Jan 18, 2022 1:40 pm

Update. Logs fill after service is stopped (new to me).

server.log:

Code: Select all

Tue Jan 18 14:32:53 2022 us=2261 Current Parameter Settings:
Tue Jan 18 14:32:53 2022 us=2261   config = 'C:\Program Files\OpenVPN\config\server.ovpn'
Tue Jan 18 14:32:53 2022 us=2261   mode = 1
Tue Jan 18 14:32:53 2022 us=2261   show_ciphers = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   show_digests = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   show_engines = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   genkey = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   key_pass_file = '[UNDEF]'
Tue Jan 18 14:32:53 2022 us=2261   show_tls_ciphers = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   connect_retry_max = 0
Tue Jan 18 14:32:53 2022 us=2261 Connection profiles [0]:
Tue Jan 18 14:32:53 2022 us=2261   proto = udp
Tue Jan 18 14:32:53 2022 us=2261   local = '[UNDEF]'
Tue Jan 18 14:32:53 2022 us=2261   local_port = '1194'
Tue Jan 18 14:32:53 2022 us=2261   remote = '[UNDEF]'
Tue Jan 18 14:32:53 2022 us=2261   remote_port = '1194'
Tue Jan 18 14:32:53 2022 us=2261   remote_float = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   bind_defined = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   bind_local = ENABLED
Tue Jan 18 14:32:53 2022 us=2261   bind_ipv6_only = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   connect_retry_seconds = 5
Tue Jan 18 14:32:53 2022 us=2261   connect_timeout = 120
Tue Jan 18 14:32:53 2022 us=2261   socks_proxy_server = '[UNDEF]'
Tue Jan 18 14:32:53 2022 us=2261   socks_proxy_port = '[UNDEF]'
Tue Jan 18 14:32:53 2022 us=2261   tun_mtu = 1500
Tue Jan 18 14:32:53 2022 us=2261   tun_mtu_defined = ENABLED
Tue Jan 18 14:32:53 2022 us=2261   link_mtu = 1500
Tue Jan 18 14:32:53 2022 us=2261   link_mtu_defined = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   tun_mtu_extra = 0
Tue Jan 18 14:32:53 2022 us=2261   tun_mtu_extra_defined = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   mtu_discover_type = -1
Tue Jan 18 14:32:53 2022 us=2261   fragment = 0
Tue Jan 18 14:32:53 2022 us=2261   mssfix = 1450
Tue Jan 18 14:32:53 2022 us=2261   explicit_exit_notification = 1
Tue Jan 18 14:32:53 2022 us=2261 Connection profiles END
Tue Jan 18 14:32:53 2022 us=2261   remote_random = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   ipchange = '[UNDEF]'
Tue Jan 18 14:32:53 2022 us=2261   dev = 'tun'
Tue Jan 18 14:32:53 2022 us=2261   dev_type = '[UNDEF]'
Tue Jan 18 14:32:53 2022 us=2261   dev_node = '[UNDEF]'
Tue Jan 18 14:32:53 2022 us=2261   lladdr = '[UNDEF]'
Tue Jan 18 14:32:53 2022 us=2261   topology = 1
Tue Jan 18 14:32:53 2022 us=2261   ifconfig_local = '10.8.0.1'
Tue Jan 18 14:32:53 2022 us=2261   ifconfig_remote_netmask = '10.8.0.2'
Tue Jan 18 14:32:53 2022 us=2261   ifconfig_noexec = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   ifconfig_nowarn = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   ifconfig_ipv6_local = '[UNDEF]'
Tue Jan 18 14:32:53 2022 us=2261   ifconfig_ipv6_netbits = 0
Tue Jan 18 14:32:53 2022 us=2261   ifconfig_ipv6_remote = '[UNDEF]'
Tue Jan 18 14:32:53 2022 us=2261   shaper = 0
Tue Jan 18 14:32:53 2022 us=2261   mtu_test = 0
Tue Jan 18 14:32:53 2022 us=2261   mlock = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   keepalive_ping = 10
Tue Jan 18 14:32:53 2022 us=2261   keepalive_timeout = 120
Tue Jan 18 14:32:53 2022 us=2261   inactivity_timeout = 0
Tue Jan 18 14:32:53 2022 us=2261   ping_send_timeout = 10
Tue Jan 18 14:32:53 2022 us=2261   ping_rec_timeout = 240
Tue Jan 18 14:32:53 2022 us=2261   ping_rec_timeout_action = 2
Tue Jan 18 14:32:53 2022 us=2261   ping_timer_remote = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   remap_sigusr1 = 0
Tue Jan 18 14:32:53 2022 us=2261   persist_tun = ENABLED
Tue Jan 18 14:32:53 2022 us=2261   persist_local_ip = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   persist_remote_ip = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   persist_key = ENABLED
Tue Jan 18 14:32:53 2022 us=2261   passtos = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   resolve_retry_seconds = 1000000000
Tue Jan 18 14:32:53 2022 us=2261   resolve_in_advance = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   username = '[UNDEF]'
Tue Jan 18 14:32:53 2022 us=2261   groupname = '[UNDEF]'
Tue Jan 18 14:32:53 2022 us=2261   chroot_dir = '[UNDEF]'
Tue Jan 18 14:32:53 2022 us=2261   cd_dir = '[UNDEF]'
Tue Jan 18 14:32:53 2022 us=2261   writepid = '[UNDEF]'
Tue Jan 18 14:32:53 2022 us=2261   up_script = '[UNDEF]'
Tue Jan 18 14:32:53 2022 us=2261   down_script = '[UNDEF]'
Tue Jan 18 14:32:53 2022 us=2261   down_pre = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   up_restart = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   up_delay = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   daemon = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   inetd = 0
Tue Jan 18 14:32:53 2022 us=2261   log = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   suppress_timestamps = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   machine_readable_output = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   nice = 0
Tue Jan 18 14:32:53 2022 us=2261   verbosity = 4
Tue Jan 18 14:32:53 2022 us=2261   mute = 0
Tue Jan 18 14:32:53 2022 us=2261   gremlin = 0
Tue Jan 18 14:32:53 2022 us=2261   status_file = 'openvpn-status.log'
Tue Jan 18 14:32:53 2022 us=2261   status_file_version = 1
Tue Jan 18 14:32:53 2022 us=2261   status_file_update_freq = 60
Tue Jan 18 14:32:53 2022 us=2261   occ = ENABLED
Tue Jan 18 14:32:53 2022 us=2261   rcvbuf = 0
Tue Jan 18 14:32:53 2022 us=2261   sndbuf = 0
Tue Jan 18 14:32:53 2022 us=2261   sockflags = 0
Tue Jan 18 14:32:53 2022 us=2261   fast_io = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   comp.alg = 0
Tue Jan 18 14:32:53 2022 us=2261   comp.flags = 0
Tue Jan 18 14:32:53 2022 us=2261   route_script = '[UNDEF]'
Tue Jan 18 14:32:53 2022 us=2261   route_default_gateway = '[UNDEF]'
Tue Jan 18 14:32:53 2022 us=2261   route_default_metric = 0
Tue Jan 18 14:32:53 2022 us=2261   route_noexec = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   route_delay = 0
Tue Jan 18 14:32:53 2022 us=2261   route_delay_window = 30
Tue Jan 18 14:32:53 2022 us=2261   route_delay_defined = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   route_nopull = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   route_gateway_via_dhcp = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   allow_pull_fqdn = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   route 10.8.0.0/255.255.255.0/default (not set)/default (not set)
Tue Jan 18 14:32:53 2022 us=2261   management_addr = '[UNDEF]'
Tue Jan 18 14:32:53 2022 us=2261   management_port = '[UNDEF]'
Tue Jan 18 14:32:53 2022 us=2261   management_user_pass = '[UNDEF]'
Tue Jan 18 14:32:53 2022 us=2261   management_log_history_cache = 250
Tue Jan 18 14:32:53 2022 us=2261   management_echo_buffer_size = 100
Tue Jan 18 14:32:53 2022 us=2261   management_write_peer_info_file = '[UNDEF]'
Tue Jan 18 14:32:53 2022 us=2261   management_client_user = '[UNDEF]'
Tue Jan 18 14:32:53 2022 us=2261   management_client_group = '[UNDEF]'
Tue Jan 18 14:32:53 2022 us=2261   management_flags = 0
Tue Jan 18 14:32:53 2022 us=2261   shared_secret_file = '[UNDEF]'
Tue Jan 18 14:32:53 2022 us=2261   key_direction = 0
Tue Jan 18 14:32:53 2022 us=2261   ciphername = 'AES-256-CBC'
Tue Jan 18 14:32:53 2022 us=2261   ncp_enabled = ENABLED
Tue Jan 18 14:32:53 2022 us=2261   ncp_ciphers = 'AES-256-GCM:AES-128-GCM'
Tue Jan 18 14:32:53 2022 us=2261   authname = 'SHA1'
Tue Jan 18 14:32:53 2022 us=2261   prng_hash = 'SHA1'
Tue Jan 18 14:32:53 2022 us=2261   prng_nonce_secret_len = 16
Tue Jan 18 14:32:53 2022 us=2261   keysize = 0
Tue Jan 18 14:32:53 2022 us=2261   engine = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   replay = ENABLED
Tue Jan 18 14:32:53 2022 us=2261   mute_replay_warnings = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   replay_window = 64
Tue Jan 18 14:32:53 2022 us=2261   replay_time = 15
Tue Jan 18 14:32:53 2022 us=2261   packet_id_file = '[UNDEF]'
Tue Jan 18 14:32:53 2022 us=2261   use_iv = ENABLED
Tue Jan 18 14:32:53 2022 us=2261   test_crypto = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   tls_server = ENABLED
Tue Jan 18 14:32:53 2022 us=2261   tls_client = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   key_method = 2
Tue Jan 18 14:32:53 2022 us=2261   ca_file = 'C:\Program Files\OpenVPN\config\ca.crt'
Tue Jan 18 14:32:53 2022 us=2261   ca_path = '[UNDEF]'
Tue Jan 18 14:32:53 2022 us=2261   dh_file = 'C:\Program Files\OpenVPN\config\dh2048.pem'
Tue Jan 18 14:32:53 2022 us=2261   cert_file = 'C:\Program Files\OpenVPN\config\server.crt'
Tue Jan 18 14:32:53 2022 us=2261   extra_certs_file = '[UNDEF]'
Tue Jan 18 14:32:53 2022 us=2261   priv_key_file = 'C:\Program Files\OpenVPN\config\server.key'
Tue Jan 18 14:32:53 2022 us=2261   pkcs12_file = '[UNDEF]'
Tue Jan 18 14:32:53 2022 us=2261   cryptoapi_cert = '[UNDEF]'
Tue Jan 18 14:32:53 2022 us=2261   cipher_list = '[UNDEF]'
Tue Jan 18 14:32:53 2022 us=2261   cipher_list_tls13 = '[UNDEF]'
Tue Jan 18 14:32:53 2022 us=2261   tls_cert_profile = '[UNDEF]'
Tue Jan 18 14:32:53 2022 us=2261   tls_verify = '[UNDEF]'
Tue Jan 18 14:32:53 2022 us=2261   tls_export_cert = '[UNDEF]'
Tue Jan 18 14:32:53 2022 us=2261   verify_x509_type = 0
Tue Jan 18 14:32:53 2022 us=2261   verify_x509_name = '[UNDEF]'
Tue Jan 18 14:32:53 2022 us=2261   crl_file = '[UNDEF]'
Tue Jan 18 14:32:53 2022 us=2261   ns_cert_type = 0
Tue Jan 18 14:32:53 2022 us=2261   remote_cert_ku[i] = 0
Tue Jan 18 14:32:53 2022 us=2261   remote_cert_ku[i] = 0
Tue Jan 18 14:32:53 2022 us=2261   remote_cert_ku[i] = 0
Tue Jan 18 14:32:53 2022 us=2261   remote_cert_ku[i] = 0
Tue Jan 18 14:32:53 2022 us=2261   remote_cert_ku[i] = 0
Tue Jan 18 14:32:53 2022 us=2261   remote_cert_ku[i] = 0
Tue Jan 18 14:32:53 2022 us=2261   remote_cert_ku[i] = 0
Tue Jan 18 14:32:53 2022 us=2261   remote_cert_ku[i] = 0
Tue Jan 18 14:32:53 2022 us=2261   remote_cert_ku[i] = 0
Tue Jan 18 14:32:53 2022 us=2261   remote_cert_ku[i] = 0
Tue Jan 18 14:32:53 2022 us=2261   remote_cert_ku[i] = 0
Tue Jan 18 14:32:53 2022 us=2261   remote_cert_ku[i] = 0
Tue Jan 18 14:32:53 2022 us=2261   remote_cert_ku[i] = 0
Tue Jan 18 14:32:53 2022 us=2261   remote_cert_ku[i] = 0
Tue Jan 18 14:32:53 2022 us=2261   remote_cert_ku[i] = 0
Tue Jan 18 14:32:53 2022 us=2261   remote_cert_ku[i] = 0
Tue Jan 18 14:32:53 2022 us=2261   remote_cert_eku = '[UNDEF]'
Tue Jan 18 14:32:53 2022 us=2261   ssl_flags = 0
Tue Jan 18 14:32:53 2022 us=2261   tls_timeout = 2
Tue Jan 18 14:32:53 2022 us=2261   renegotiate_bytes = -1
Tue Jan 18 14:32:53 2022 us=2261   renegotiate_packets = 0
Tue Jan 18 14:32:53 2022 us=2261   renegotiate_seconds = 3600
Tue Jan 18 14:32:53 2022 us=2261   handshake_window = 60
Tue Jan 18 14:32:53 2022 us=2261   transition_window = 3600
Tue Jan 18 14:32:53 2022 us=2261   single_session = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   push_peer_info = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   tls_exit = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   tls_auth_file = 'ta.key'
Tue Jan 18 14:32:53 2022 us=2261   tls_crypt_file = '[UNDEF]'
Tue Jan 18 14:32:53 2022 us=2261   pkcs11_protected_authentication = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   pkcs11_protected_authentication = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   pkcs11_protected_authentication = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   pkcs11_protected_authentication = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   pkcs11_protected_authentication = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   pkcs11_protected_authentication = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   pkcs11_protected_authentication = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   pkcs11_protected_authentication = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   pkcs11_protected_authentication = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   pkcs11_protected_authentication = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   pkcs11_protected_authentication = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   pkcs11_protected_authentication = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   pkcs11_protected_authentication = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   pkcs11_protected_authentication = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   pkcs11_protected_authentication = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   pkcs11_protected_authentication = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   pkcs11_private_mode = 00000000
Tue Jan 18 14:32:53 2022 us=2261   pkcs11_private_mode = 00000000
Tue Jan 18 14:32:53 2022 us=2261   pkcs11_private_mode = 00000000
Tue Jan 18 14:32:53 2022 us=2261   pkcs11_private_mode = 00000000
Tue Jan 18 14:32:53 2022 us=2261   pkcs11_private_mode = 00000000
Tue Jan 18 14:32:53 2022 us=2261   pkcs11_private_mode = 00000000
Tue Jan 18 14:32:53 2022 us=2261   pkcs11_private_mode = 00000000
Tue Jan 18 14:32:53 2022 us=2261   pkcs11_private_mode = 00000000
Tue Jan 18 14:32:53 2022 us=2261   pkcs11_private_mode = 00000000
Tue Jan 18 14:32:53 2022 us=2261   pkcs11_private_mode = 00000000
Tue Jan 18 14:32:53 2022 us=2261   pkcs11_private_mode = 00000000
Tue Jan 18 14:32:53 2022 us=2261   pkcs11_private_mode = 00000000
Tue Jan 18 14:32:53 2022 us=2261   pkcs11_private_mode = 00000000
Tue Jan 18 14:32:53 2022 us=2261   pkcs11_private_mode = 00000000
Tue Jan 18 14:32:53 2022 us=2261   pkcs11_private_mode = 00000000
Tue Jan 18 14:32:53 2022 us=2261   pkcs11_private_mode = 00000000
Tue Jan 18 14:32:53 2022 us=2261   pkcs11_cert_private = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   pkcs11_cert_private = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   pkcs11_cert_private = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   pkcs11_cert_private = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   pkcs11_cert_private = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   pkcs11_cert_private = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   pkcs11_cert_private = DISABLED
Tue Jan 18 14:32:53 2022 us=2261   pkcs11_cert_private = DISABLED
Tue Jan 18 14:32:53 2022 us=3233   pkcs11_cert_private = DISABLED
Tue Jan 18 14:32:53 2022 us=3233   pkcs11_cert_private = DISABLED
Tue Jan 18 14:32:53 2022 us=3233   pkcs11_cert_private = DISABLED
Tue Jan 18 14:32:53 2022 us=3233   pkcs11_cert_private = DISABLED
Tue Jan 18 14:32:53 2022 us=3233   pkcs11_cert_private = DISABLED
Tue Jan 18 14:32:53 2022 us=3233   pkcs11_cert_private = DISABLED
Tue Jan 18 14:32:53 2022 us=3233   pkcs11_cert_private = DISABLED
Tue Jan 18 14:32:53 2022 us=3233   pkcs11_cert_private = DISABLED
Tue Jan 18 14:32:53 2022 us=3233   pkcs11_pin_cache_period = -1
Tue Jan 18 14:32:53 2022 us=3233   pkcs11_id = '[UNDEF]'
Tue Jan 18 14:32:53 2022 us=3233   pkcs11_id_management = DISABLED
Tue Jan 18 14:32:53 2022 us=3233   server_network = 10.8.0.0
Tue Jan 18 14:32:53 2022 us=3233   server_netmask = 255.255.255.0
Tue Jan 18 14:32:53 2022 us=3233   server_network_ipv6 = ::
Tue Jan 18 14:32:53 2022 us=3233   server_netbits_ipv6 = 0
Tue Jan 18 14:32:53 2022 us=3233   server_bridge_ip = 0.0.0.0
Tue Jan 18 14:32:53 2022 us=3233   server_bridge_netmask = 0.0.0.0
Tue Jan 18 14:32:53 2022 us=3233   server_bridge_pool_start = 0.0.0.0
Tue Jan 18 14:32:53 2022 us=3233   server_bridge_pool_end = 0.0.0.0
Tue Jan 18 14:32:53 2022 us=3233   push_entry = 'route 10.8.0.1'
Tue Jan 18 14:32:53 2022 us=3233   push_entry = 'topology net30'
Tue Jan 18 14:32:53 2022 us=3233   push_entry = 'ping 10'
Tue Jan 18 14:32:53 2022 us=3233   push_entry = 'ping-restart 120'
Tue Jan 18 14:32:53 2022 us=3233   ifconfig_pool_defined = ENABLED
Tue Jan 18 14:32:53 2022 us=3233   ifconfig_pool_start = 10.8.0.4
Tue Jan 18 14:32:53 2022 us=3233   ifconfig_pool_end = 10.8.0.251
Tue Jan 18 14:32:53 2022 us=3233   ifconfig_pool_netmask = 0.0.0.0
Tue Jan 18 14:32:53 2022 us=3233   ifconfig_pool_persist_filename = 'ipp.txt'
Tue Jan 18 14:32:53 2022 us=3233   ifconfig_pool_persist_refresh_freq = 600
Tue Jan 18 14:32:53 2022 us=3233   ifconfig_ipv6_pool_defined = DISABLED
Tue Jan 18 14:32:53 2022 us=3233   ifconfig_ipv6_pool_base = ::
Tue Jan 18 14:32:53 2022 us=3233   ifconfig_ipv6_pool_netbits = 0
Tue Jan 18 14:32:53 2022 us=3233   n_bcast_buf = 256
Tue Jan 18 14:32:53 2022 us=3233   tcp_queue_limit = 64
Tue Jan 18 14:32:53 2022 us=3233   real_hash_size = 256
Tue Jan 18 14:32:53 2022 us=3233   virtual_hash_size = 256
Tue Jan 18 14:32:53 2022 us=3233   client_connect_script = '[UNDEF]'
Tue Jan 18 14:32:53 2022 us=3233   learn_address_script = '[UNDEF]'
Tue Jan 18 14:32:53 2022 us=3233   client_disconnect_script = '[UNDEF]'
Tue Jan 18 14:32:53 2022 us=3233   client_config_dir = '[UNDEF]'
Tue Jan 18 14:32:53 2022 us=3233   ccd_exclusive = DISABLED
Tue Jan 18 14:32:53 2022 us=3233   tmp_dir = 'C:\Users\root\AppData\Local\Temp\'
Tue Jan 18 14:32:53 2022 us=3233   push_ifconfig_defined = DISABLED
Tue Jan 18 14:32:53 2022 us=3233   push_ifconfig_local = 0.0.0.0
Tue Jan 18 14:32:53 2022 us=3233   push_ifconfig_remote_netmask = 0.0.0.0
Tue Jan 18 14:32:53 2022 us=3233   push_ifconfig_ipv6_defined = DISABLED
Tue Jan 18 14:32:53 2022 us=3233   push_ifconfig_ipv6_local = ::/0
Tue Jan 18 14:32:53 2022 us=3233   push_ifconfig_ipv6_remote = ::
Tue Jan 18 14:32:53 2022 us=3233   enable_c2c = DISABLED
Tue Jan 18 14:32:53 2022 us=3233   duplicate_cn = DISABLED
Tue Jan 18 14:32:53 2022 us=3233   cf_max = 0
Tue Jan 18 14:32:53 2022 us=3233   cf_per = 0
Tue Jan 18 14:32:53 2022 us=3233   max_clients = 1024
Tue Jan 18 14:32:53 2022 us=3233   max_routes_per_client = 256
Tue Jan 18 14:32:53 2022 us=3233   auth_user_pass_verify_script = '[UNDEF]'
Tue Jan 18 14:32:53 2022 us=3233   auth_user_pass_verify_script_via_file = DISABLED
Tue Jan 18 14:32:53 2022 us=3233   auth_token_generate = DISABLED
Tue Jan 18 14:32:53 2022 us=3233   auth_token_lifetime = 0
Tue Jan 18 14:32:53 2022 us=3233   client = DISABLED
Tue Jan 18 14:32:53 2022 us=3233   pull = DISABLED
Tue Jan 18 14:32:53 2022 us=3233   auth_user_pass_file = '[UNDEF]'
Tue Jan 18 14:32:53 2022 us=3233   show_net_up = DISABLED
Tue Jan 18 14:32:53 2022 us=3233   route_method = 0
Tue Jan 18 14:32:53 2022 us=3233   block_outside_dns = DISABLED
Tue Jan 18 14:32:53 2022 us=3233   ip_win32_defined = DISABLED
Tue Jan 18 14:32:53 2022 us=3233   ip_win32_type = 3
Tue Jan 18 14:32:53 2022 us=3233   dhcp_masq_offset = 0
Tue Jan 18 14:32:53 2022 us=3233   dhcp_lease_time = 31536000
Tue Jan 18 14:32:53 2022 us=3233   tap_sleep = 10
Tue Jan 18 14:32:53 2022 us=3233   dhcp_options = DISABLED
Tue Jan 18 14:32:53 2022 us=3233   dhcp_renew = DISABLED
Tue Jan 18 14:32:53 2022 us=3233   dhcp_pre_release = DISABLED
Tue Jan 18 14:32:53 2022 us=3233   domain = '[UNDEF]'
Tue Jan 18 14:32:53 2022 us=3233   netbios_scope = '[UNDEF]'
Tue Jan 18 14:32:53 2022 us=3233   netbios_node_type = 0
Tue Jan 18 14:32:53 2022 us=3233   disable_nbt = DISABLED
Tue Jan 18 14:32:53 2022 us=3233 OpenVPN 2.4.9 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Apr 16 2020
Tue Jan 18 14:32:53 2022 us=3233 Windows version 6.2 (Windows 8 or greater) 64bit
Tue Jan 18 14:32:53 2022 us=3233 library versions: OpenSSL 1.1.1f  31 Mar 2020, LZO 2.10
Tue Jan 18 14:32:53 2022 us=7223 Diffie-Hellman initialized with 2048 bit key
Tue Jan 18 14:32:53 2022 us=8221 OpenSSL: error:25078067:DSO support routines:win32_load:could not load the shared library
Tue Jan 18 14:32:53 2022 us=8221 OpenSSL: error:25070067:DSO support routines:DSO_load:could not load the shared library
Tue Jan 18 14:32:53 2022 us=8221 OpenSSL: error:0E07506E:configuration file routines:module_load_dso:error loading dso
Tue Jan 18 14:32:53 2022 us=8221 OpenSSL: error:0E076071:configuration file routines:module_run:unknown module name
Tue Jan 18 14:32:53 2022 us=8221 OpenSSL: error:0909006C:PEM routines:get_name:no start line
Tue Jan 18 14:32:53 2022 us=8221 Error reading extra certificate
Tue Jan 18 14:32:53 2022 us=8221 Exiting due to fatal error
apparently i am missing some openssl libs? It's pretty much clean new windows install with updates.

User avatar
TinCanTech
Forum Team
Posts: 10711
Joined: Fri Jun 03, 2016 1:17 pm

Re: New installation OVPN server Win 10

Post by TinCanTech » Tue Jan 18, 2022 3:17 pm

Firello wrote:
Tue Jan 18, 2022 7:46 am
Tried to give service a root login with admin rights
Don't do that. Undo what ever change you made.

You must use the "Openvpn-Interactive-Service".

becm
OpenVpn Newbie
Posts: 19
Joined: Tue Sep 01, 2020 1:27 pm

Re: New installation OVPN server Win 10

Post by becm » Tue Jan 18, 2022 6:36 pm

My guess is that OpenSSL finds/uses an (invalid) configuration file (0E07506E, 0E076071).
May be placed in default location or set via environment variable.

The issue regarding PEM format (0909006C) may be related or another (independent) error.

Firello
OpenVpn Newbie
Posts: 4
Joined: Mon Jan 17, 2022 10:57 am

Re: New installation OVPN server Win 10

Post by Firello » Wed Jan 19, 2022 7:51 am

TinCanTech wrote:
Tue Jan 18, 2022 3:17 pm
Firello wrote:
Tue Jan 18, 2022 7:46 am
Tried to give service a root login with admin rights
Don't do that. Undo what ever change you made.

You must use the "Openvpn-Interactive-Service".
Guide says:
Find the OpenVPN service, and set its Startup Type to "automatic."

I have these services: OpenVPN Interactive Service, OpenVPN Legacy Service and OpenVPNService.

Tried to run "OpenVPN Interactive Service". Nothing happend (no logs again). Logs will appear as soon as I turn "OpenVPNService" on and off.
becm wrote:
Tue Jan 18, 2022 6:36 pm
My guess is that OpenSSL finds/uses an (invalid) configuration file (0E07506E, 0E076071).
May be placed in default location or set via environment variable.

The issue regarding PEM format (0909006C) may be related or another (independent) error.
Not good .. I am going to uninstall and start over :/ I hope I am following right guide.

After fresh install, server is running. Something went sideways before..

Now i am trying to connect from client:

Code: Select all

Wed Jan 19 10:50:49 2022 us=967822 Current Parameter Settings:
Wed Jan 19 10:50:49 2022 us=967822   config = 'client.ovpn'
Wed Jan 19 10:50:49 2022 us=967822   mode = 0
Wed Jan 19 10:50:49 2022 us=967822   show_ciphers = DISABLED
Wed Jan 19 10:50:49 2022 us=967822   show_digests = DISABLED
Wed Jan 19 10:50:49 2022 us=967822   show_engines = DISABLED
Wed Jan 19 10:50:49 2022 us=967822   genkey = DISABLED
Wed Jan 19 10:50:49 2022 us=967822   key_pass_file = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=967822   show_tls_ciphers = DISABLED
Wed Jan 19 10:50:49 2022 us=967822   connect_retry_max = 0
Wed Jan 19 10:50:49 2022 us=967822 Connection profiles [0]:
Wed Jan 19 10:50:49 2022 us=967822   proto = tcp-client
Wed Jan 19 10:50:49 2022 us=967822   local = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=967822   local_port = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=967822   remote = 'a.b.c.d'
Wed Jan 19 10:50:49 2022 us=967822   remote_port = '1194'
Wed Jan 19 10:50:49 2022 us=967822   remote_float = DISABLED
Wed Jan 19 10:50:49 2022 us=967822   bind_defined = DISABLED
Wed Jan 19 10:50:49 2022 us=967822   bind_local = DISABLED
Wed Jan 19 10:50:49 2022 us=967822   bind_ipv6_only = DISABLED
Wed Jan 19 10:50:49 2022 us=967822   connect_retry_seconds = 5
Wed Jan 19 10:50:49 2022 us=967822   connect_timeout = 120
Wed Jan 19 10:50:49 2022 us=967822   socks_proxy_server = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=967822   socks_proxy_port = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=967822   tun_mtu = 1500
Wed Jan 19 10:50:49 2022 us=967822   tun_mtu_defined = ENABLED
Wed Jan 19 10:50:49 2022 us=967822   link_mtu = 1500
Wed Jan 19 10:50:49 2022 us=967822   link_mtu_defined = DISABLED
Wed Jan 19 10:50:49 2022 us=967822   tun_mtu_extra = 0
Wed Jan 19 10:50:49 2022 us=967822   tun_mtu_extra_defined = DISABLED
Wed Jan 19 10:50:49 2022 us=967822   mtu_discover_type = -1
Wed Jan 19 10:50:49 2022 us=967822   fragment = 0
Wed Jan 19 10:50:49 2022 us=967822   mssfix = 1450
Wed Jan 19 10:50:49 2022 us=967822   explicit_exit_notification = 0
Wed Jan 19 10:50:49 2022 us=967822 Connection profiles END
Wed Jan 19 10:50:49 2022 us=967822   remote_random = DISABLED
Wed Jan 19 10:50:49 2022 us=967822   ipchange = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=967822   dev = 'tun'
Wed Jan 19 10:50:49 2022 us=967822   dev_type = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=967822   dev_node = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=967822   lladdr = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=967822   topology = 1
Wed Jan 19 10:50:49 2022 us=967822   ifconfig_local = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=967822   ifconfig_remote_netmask = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=967822   ifconfig_noexec = DISABLED
Wed Jan 19 10:50:49 2022 us=967822   ifconfig_nowarn = DISABLED
Wed Jan 19 10:50:49 2022 us=967822   ifconfig_ipv6_local = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=967822   ifconfig_ipv6_netbits = 0
Wed Jan 19 10:50:49 2022 us=967822   ifconfig_ipv6_remote = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=967822   shaper = 0
Wed Jan 19 10:50:49 2022 us=967822   mtu_test = 0
Wed Jan 19 10:50:49 2022 us=968817   mlock = DISABLED
Wed Jan 19 10:50:49 2022 us=968817   keepalive_ping = 0
Wed Jan 19 10:50:49 2022 us=968817   keepalive_timeout = 0
Wed Jan 19 10:50:49 2022 us=968817   inactivity_timeout = 0
Wed Jan 19 10:50:49 2022 us=968817   ping_send_timeout = 0
Wed Jan 19 10:50:49 2022 us=968817   ping_rec_timeout = 0
Wed Jan 19 10:50:49 2022 us=968817   ping_rec_timeout_action = 0
Wed Jan 19 10:50:49 2022 us=968817   ping_timer_remote = DISABLED
Wed Jan 19 10:50:49 2022 us=968817   remap_sigusr1 = 0
Wed Jan 19 10:50:49 2022 us=968817   persist_tun = ENABLED
Wed Jan 19 10:50:49 2022 us=968817   persist_local_ip = DISABLED
Wed Jan 19 10:50:49 2022 us=968817   persist_remote_ip = DISABLED
Wed Jan 19 10:50:49 2022 us=968817   persist_key = ENABLED
Wed Jan 19 10:50:49 2022 us=968817   passtos = DISABLED
Wed Jan 19 10:50:49 2022 us=968817   resolve_retry_seconds = 1000000000
Wed Jan 19 10:50:49 2022 us=968817   resolve_in_advance = DISABLED
Wed Jan 19 10:50:49 2022 us=968817   username = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=968817   groupname = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=968817   chroot_dir = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=968817   cd_dir = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=968817   writepid = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=968817   up_script = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=968817   down_script = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=968817   down_pre = DISABLED
Wed Jan 19 10:50:49 2022 us=968817   up_restart = DISABLED
Wed Jan 19 10:50:49 2022 us=968817   up_delay = DISABLED
Wed Jan 19 10:50:49 2022 us=968817   daemon = DISABLED
Wed Jan 19 10:50:49 2022 us=968817   inetd = 0
Wed Jan 19 10:50:49 2022 us=968817   log = ENABLED
Wed Jan 19 10:50:49 2022 us=968817   suppress_timestamps = DISABLED
Wed Jan 19 10:50:49 2022 us=968817   machine_readable_output = DISABLED
Wed Jan 19 10:50:49 2022 us=968817   nice = 0
Wed Jan 19 10:50:49 2022 us=968817   verbosity = 4
Wed Jan 19 10:50:49 2022 us=968817   mute = 0
Wed Jan 19 10:50:49 2022 us=968817   gremlin = 0
Wed Jan 19 10:50:49 2022 us=968817   status_file = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=968817   status_file_version = 1
Wed Jan 19 10:50:49 2022 us=968817   status_file_update_freq = 60
Wed Jan 19 10:50:49 2022 us=968817   occ = ENABLED
Wed Jan 19 10:50:49 2022 us=968817   rcvbuf = 0
Wed Jan 19 10:50:49 2022 us=968817   sndbuf = 0
Wed Jan 19 10:50:49 2022 us=968817   sockflags = 0
Wed Jan 19 10:50:49 2022 us=968817   fast_io = DISABLED
Wed Jan 19 10:50:49 2022 us=968817   comp.alg = 0
Wed Jan 19 10:50:49 2022 us=968817   comp.flags = 0
Wed Jan 19 10:50:49 2022 us=968817   route_script = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=968817   route_default_gateway = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=968817   route_default_metric = 0
Wed Jan 19 10:50:49 2022 us=968817   route_noexec = DISABLED
Wed Jan 19 10:50:49 2022 us=968817   route_delay = 5
Wed Jan 19 10:50:49 2022 us=968817   route_delay_window = 30
Wed Jan 19 10:50:49 2022 us=968817   route_delay_defined = ENABLED
Wed Jan 19 10:50:49 2022 us=968817   route_nopull = DISABLED
Wed Jan 19 10:50:49 2022 us=968817   route_gateway_via_dhcp = DISABLED
Wed Jan 19 10:50:49 2022 us=968817   allow_pull_fqdn = DISABLED
Wed Jan 19 10:50:49 2022 us=968817   Pull filters:
Wed Jan 19 10:50:49 2022 us=968817     ignore "route-method"
Wed Jan 19 10:50:49 2022 us=968817   management_addr = '127.0.0.1'
Wed Jan 19 10:50:49 2022 us=968817   management_port = '25344'
Wed Jan 19 10:50:49 2022 us=968817   management_user_pass = 'stdin'
Wed Jan 19 10:50:49 2022 us=968817   management_log_history_cache = 250
Wed Jan 19 10:50:49 2022 us=968817   management_echo_buffer_size = 100
Wed Jan 19 10:50:49 2022 us=968817   management_write_peer_info_file = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=968817   management_client_user = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=968817   management_client_group = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=968817   management_flags = 6
Wed Jan 19 10:50:49 2022 us=968817   shared_secret_file = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=968817   key_direction = 1
Wed Jan 19 10:50:49 2022 us=968817   ciphername = 'BF-CBC'
Wed Jan 19 10:50:49 2022 us=968817   ncp_enabled = ENABLED
Wed Jan 19 10:50:49 2022 us=968817   ncp_ciphers = 'AES-256-GCM:AES-128-GCM'
Wed Jan 19 10:50:49 2022 us=968817   authname = 'SHA1'
Wed Jan 19 10:50:49 2022 us=968817   prng_hash = 'SHA1'
Wed Jan 19 10:50:49 2022 us=968817   prng_nonce_secret_len = 16
Wed Jan 19 10:50:49 2022 us=968817   keysize = 0
Wed Jan 19 10:50:49 2022 us=968817   engine = DISABLED
Wed Jan 19 10:50:49 2022 us=968817   replay = ENABLED
Wed Jan 19 10:50:49 2022 us=968817   mute_replay_warnings = DISABLED
Wed Jan 19 10:50:49 2022 us=968817   replay_window = 64
Wed Jan 19 10:50:49 2022 us=968817   replay_time = 15
Wed Jan 19 10:50:49 2022 us=968817   packet_id_file = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=968817   use_iv = ENABLED
Wed Jan 19 10:50:49 2022 us=968817   test_crypto = DISABLED
Wed Jan 19 10:50:49 2022 us=968817   tls_server = DISABLED
Wed Jan 19 10:50:49 2022 us=968817   tls_client = ENABLED
Wed Jan 19 10:50:49 2022 us=968817   key_method = 2
Wed Jan 19 10:50:49 2022 us=968817   ca_file = 'ca.crt'
Wed Jan 19 10:50:49 2022 us=968817   ca_path = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=968817   dh_file = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=968817   cert_file = 'laptop1.crt'
Wed Jan 19 10:50:49 2022 us=968817   extra_certs_file = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=968817   priv_key_file = 'laptop1.key'
Wed Jan 19 10:50:49 2022 us=968817   pkcs12_file = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=968817   cryptoapi_cert = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=968817   cipher_list = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=968817   cipher_list_tls13 = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=968817   tls_cert_profile = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=968817   tls_verify = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=968817   tls_export_cert = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=968817   verify_x509_type = 0
Wed Jan 19 10:50:49 2022 us=968817   verify_x509_name = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=968817   crl_file = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=968817   ns_cert_type = 0
Wed Jan 19 10:50:49 2022 us=968817   remote_cert_ku[i] = 65535
Wed Jan 19 10:50:49 2022 us=968817   remote_cert_ku[i] = 0
Wed Jan 19 10:50:49 2022 us=968817   remote_cert_ku[i] = 0
Wed Jan 19 10:50:49 2022 us=968817   remote_cert_ku[i] = 0
Wed Jan 19 10:50:49 2022 us=968817   remote_cert_ku[i] = 0
Wed Jan 19 10:50:49 2022 us=968817   remote_cert_ku[i] = 0
Wed Jan 19 10:50:49 2022 us=968817   remote_cert_ku[i] = 0
Wed Jan 19 10:50:49 2022 us=968817   remote_cert_ku[i] = 0
Wed Jan 19 10:50:49 2022 us=968817   remote_cert_ku[i] = 0
Wed Jan 19 10:50:49 2022 us=968817   remote_cert_ku[i] = 0
Wed Jan 19 10:50:49 2022 us=968817   remote_cert_ku[i] = 0
Wed Jan 19 10:50:49 2022 us=968817   remote_cert_ku[i] = 0
Wed Jan 19 10:50:49 2022 us=968817   remote_cert_ku[i] = 0
Wed Jan 19 10:50:49 2022 us=968817   remote_cert_ku[i] = 0
Wed Jan 19 10:50:49 2022 us=968817   remote_cert_ku[i] = 0
Wed Jan 19 10:50:49 2022 us=968817   remote_cert_ku[i] = 0
Wed Jan 19 10:50:49 2022 us=968817   remote_cert_eku = 'TLS Web Server Authentication'
Wed Jan 19 10:50:49 2022 us=968817   ssl_flags = 0
Wed Jan 19 10:50:49 2022 us=968817   tls_timeout = 2
Wed Jan 19 10:50:49 2022 us=968817   renegotiate_bytes = -1
Wed Jan 19 10:50:49 2022 us=968817   renegotiate_packets = 0
Wed Jan 19 10:50:49 2022 us=968817   renegotiate_seconds = 3600
Wed Jan 19 10:50:49 2022 us=968817   handshake_window = 60
Wed Jan 19 10:50:49 2022 us=968817   transition_window = 3600
Wed Jan 19 10:50:49 2022 us=968817   single_session = DISABLED
Wed Jan 19 10:50:49 2022 us=968817   push_peer_info = DISABLED
Wed Jan 19 10:50:49 2022 us=968817   tls_exit = DISABLED
Wed Jan 19 10:50:49 2022 us=968817   tls_auth_file = 'ta.key'
Wed Jan 19 10:50:49 2022 us=968817   tls_crypt_file = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=968817   pkcs11_protected_authentication = DISABLED
Wed Jan 19 10:50:49 2022 us=968817   pkcs11_protected_authentication = DISABLED
Wed Jan 19 10:50:49 2022 us=968817   pkcs11_protected_authentication = DISABLED
Wed Jan 19 10:50:49 2022 us=968817   pkcs11_protected_authentication = DISABLED
Wed Jan 19 10:50:49 2022 us=968817   pkcs11_protected_authentication = DISABLED
Wed Jan 19 10:50:49 2022 us=968817   pkcs11_protected_authentication = DISABLED
Wed Jan 19 10:50:49 2022 us=968817   pkcs11_protected_authentication = DISABLED
Wed Jan 19 10:50:49 2022 us=968817   pkcs11_protected_authentication = DISABLED
Wed Jan 19 10:50:49 2022 us=969815   pkcs11_protected_authentication = DISABLED
Wed Jan 19 10:50:49 2022 us=969815   pkcs11_protected_authentication = DISABLED
Wed Jan 19 10:50:49 2022 us=969815   pkcs11_protected_authentication = DISABLED
Wed Jan 19 10:50:49 2022 us=969815   pkcs11_protected_authentication = DISABLED
Wed Jan 19 10:50:49 2022 us=969815   pkcs11_protected_authentication = DISABLED
Wed Jan 19 10:50:49 2022 us=969815   pkcs11_protected_authentication = DISABLED
Wed Jan 19 10:50:49 2022 us=969815   pkcs11_protected_authentication = DISABLED
Wed Jan 19 10:50:49 2022 us=969815   pkcs11_protected_authentication = DISABLED
Wed Jan 19 10:50:49 2022 us=969815   pkcs11_private_mode = 00000000
Wed Jan 19 10:50:49 2022 us=969815   pkcs11_private_mode = 00000000
Wed Jan 19 10:50:49 2022 us=969815   pkcs11_private_mode = 00000000
Wed Jan 19 10:50:49 2022 us=969815   pkcs11_private_mode = 00000000
Wed Jan 19 10:50:49 2022 us=969815   pkcs11_private_mode = 00000000
Wed Jan 19 10:50:49 2022 us=969815   pkcs11_private_mode = 00000000
Wed Jan 19 10:50:49 2022 us=969815   pkcs11_private_mode = 00000000
Wed Jan 19 10:50:49 2022 us=969815   pkcs11_private_mode = 00000000
Wed Jan 19 10:50:49 2022 us=969815   pkcs11_private_mode = 00000000
Wed Jan 19 10:50:49 2022 us=969815   pkcs11_private_mode = 00000000
Wed Jan 19 10:50:49 2022 us=969815   pkcs11_private_mode = 00000000
Wed Jan 19 10:50:49 2022 us=969815   pkcs11_private_mode = 00000000
Wed Jan 19 10:50:49 2022 us=969815   pkcs11_private_mode = 00000000
Wed Jan 19 10:50:49 2022 us=969815   pkcs11_private_mode = 00000000
Wed Jan 19 10:50:49 2022 us=969815   pkcs11_private_mode = 00000000
Wed Jan 19 10:50:49 2022 us=969815   pkcs11_private_mode = 00000000
Wed Jan 19 10:50:49 2022 us=969815   pkcs11_cert_private = DISABLED
Wed Jan 19 10:50:49 2022 us=969815   pkcs11_cert_private = DISABLED
Wed Jan 19 10:50:49 2022 us=969815   pkcs11_cert_private = DISABLED
Wed Jan 19 10:50:49 2022 us=969815   pkcs11_cert_private = DISABLED
Wed Jan 19 10:50:49 2022 us=969815   pkcs11_cert_private = DISABLED
Wed Jan 19 10:50:49 2022 us=969815   pkcs11_cert_private = DISABLED
Wed Jan 19 10:50:49 2022 us=969815   pkcs11_cert_private = DISABLED
Wed Jan 19 10:50:49 2022 us=969815   pkcs11_cert_private = DISABLED
Wed Jan 19 10:50:49 2022 us=969815   pkcs11_cert_private = DISABLED
Wed Jan 19 10:50:49 2022 us=969815   pkcs11_cert_private = DISABLED
Wed Jan 19 10:50:49 2022 us=969815   pkcs11_cert_private = DISABLED
Wed Jan 19 10:50:49 2022 us=969815   pkcs11_cert_private = DISABLED
Wed Jan 19 10:50:49 2022 us=969815   pkcs11_cert_private = DISABLED
Wed Jan 19 10:50:49 2022 us=969815   pkcs11_cert_private = DISABLED
Wed Jan 19 10:50:49 2022 us=969815   pkcs11_cert_private = DISABLED
Wed Jan 19 10:50:49 2022 us=969815   pkcs11_cert_private = DISABLED
Wed Jan 19 10:50:49 2022 us=969815   pkcs11_pin_cache_period = -1
Wed Jan 19 10:50:49 2022 us=969815   pkcs11_id = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=969815   pkcs11_id_management = DISABLED
Wed Jan 19 10:50:49 2022 us=969815   server_network = 0.0.0.0
Wed Jan 19 10:50:49 2022 us=969815   server_netmask = 0.0.0.0
Wed Jan 19 10:50:49 2022 us=969815   server_network_ipv6 = ::
Wed Jan 19 10:50:49 2022 us=969815   server_netbits_ipv6 = 0
Wed Jan 19 10:50:49 2022 us=969815   server_bridge_ip = 0.0.0.0
Wed Jan 19 10:50:49 2022 us=969815   server_bridge_netmask = 0.0.0.0
Wed Jan 19 10:50:49 2022 us=969815   server_bridge_pool_start = 0.0.0.0
Wed Jan 19 10:50:49 2022 us=969815   server_bridge_pool_end = 0.0.0.0
Wed Jan 19 10:50:49 2022 us=969815   ifconfig_pool_defined = DISABLED
Wed Jan 19 10:50:49 2022 us=969815   ifconfig_pool_start = 0.0.0.0
Wed Jan 19 10:50:49 2022 us=969815   ifconfig_pool_end = 0.0.0.0
Wed Jan 19 10:50:49 2022 us=969815   ifconfig_pool_netmask = 0.0.0.0
Wed Jan 19 10:50:49 2022 us=969815   ifconfig_pool_persist_filename = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=969815   ifconfig_pool_persist_refresh_freq = 600
Wed Jan 19 10:50:49 2022 us=969815   ifconfig_ipv6_pool_defined = DISABLED
Wed Jan 19 10:50:49 2022 us=969815   ifconfig_ipv6_pool_base = ::
Wed Jan 19 10:50:49 2022 us=969815   ifconfig_ipv6_pool_netbits = 0
Wed Jan 19 10:50:49 2022 us=969815   n_bcast_buf = 256
Wed Jan 19 10:50:49 2022 us=969815   tcp_queue_limit = 64
Wed Jan 19 10:50:49 2022 us=969815   real_hash_size = 256
Wed Jan 19 10:50:49 2022 us=969815   virtual_hash_size = 256
Wed Jan 19 10:50:49 2022 us=969815   client_connect_script = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=969815   learn_address_script = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=969815   client_disconnect_script = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=969815   client_config_dir = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=969815   ccd_exclusive = DISABLED
Wed Jan 19 10:50:49 2022 us=969815   tmp_dir = 'C:\Users\TOM~1\AppData\Local\Temp\'
Wed Jan 19 10:50:49 2022 us=969815   push_ifconfig_defined = DISABLED
Wed Jan 19 10:50:49 2022 us=969815   push_ifconfig_local = 0.0.0.0
Wed Jan 19 10:50:49 2022 us=969815   push_ifconfig_remote_netmask = 0.0.0.0
Wed Jan 19 10:50:49 2022 us=969815   push_ifconfig_ipv6_defined = DISABLED
Wed Jan 19 10:50:49 2022 us=969815   push_ifconfig_ipv6_local = ::/0
Wed Jan 19 10:50:49 2022 us=969815   push_ifconfig_ipv6_remote = ::
Wed Jan 19 10:50:49 2022 us=969815   enable_c2c = DISABLED
Wed Jan 19 10:50:49 2022 us=969815   duplicate_cn = DISABLED
Wed Jan 19 10:50:49 2022 us=969815   cf_max = 0
Wed Jan 19 10:50:49 2022 us=969815   cf_per = 0
Wed Jan 19 10:50:49 2022 us=969815   max_clients = 1024
Wed Jan 19 10:50:49 2022 us=969815   max_routes_per_client = 256
Wed Jan 19 10:50:49 2022 us=969815   auth_user_pass_verify_script = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=969815   auth_user_pass_verify_script_via_file = DISABLED
Wed Jan 19 10:50:49 2022 us=969815   auth_token_generate = DISABLED
Wed Jan 19 10:50:49 2022 us=969815   auth_token_lifetime = 0
Wed Jan 19 10:50:49 2022 us=969815   client = ENABLED
Wed Jan 19 10:50:49 2022 us=969815   pull = ENABLED
Wed Jan 19 10:50:49 2022 us=969815   auth_user_pass_file = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=969815   show_net_up = DISABLED
Wed Jan 19 10:50:49 2022 us=969815   route_method = 3
Wed Jan 19 10:50:49 2022 us=969815   block_outside_dns = DISABLED
Wed Jan 19 10:50:49 2022 us=969815   ip_win32_defined = DISABLED
Wed Jan 19 10:50:49 2022 us=969815   ip_win32_type = 3
Wed Jan 19 10:50:49 2022 us=969815   dhcp_masq_offset = 0
Wed Jan 19 10:50:49 2022 us=969815   dhcp_lease_time = 31536000
Wed Jan 19 10:50:49 2022 us=969815   tap_sleep = 0
Wed Jan 19 10:50:49 2022 us=969815   dhcp_options = DISABLED
Wed Jan 19 10:50:49 2022 us=969815   dhcp_renew = DISABLED
Wed Jan 19 10:50:49 2022 us=969815   dhcp_pre_release = DISABLED
Wed Jan 19 10:50:49 2022 us=969815   domain = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=969815   netbios_scope = '[UNDEF]'
Wed Jan 19 10:50:49 2022 us=969815   netbios_node_type = 0
Wed Jan 19 10:50:49 2022 us=969815   disable_nbt = DISABLED
Wed Jan 19 10:50:49 2022 us=969815 OpenVPN 2.4.9 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Apr 16 2020
Wed Jan 19 10:50:49 2022 us=969815 Windows version 6.2 (Windows 8 or greater) 64bit
Wed Jan 19 10:50:49 2022 us=969815 library versions: OpenSSL 1.1.1f  31 Mar 2020, LZO 2.10
Enter Management Password:
Wed Jan 19 10:50:49 2022 us=971815 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25344
Wed Jan 19 10:50:49 2022 us=971815 Need hold release from management interface, waiting...
Wed Jan 19 10:50:50 2022 us=452499 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25344
Wed Jan 19 10:50:50 2022 us=560827 MANAGEMENT: CMD 'state on'
Wed Jan 19 10:50:50 2022 us=561831 MANAGEMENT: CMD 'log all on'
Wed Jan 19 10:50:50 2022 us=899310 MANAGEMENT: CMD 'echo all on'
Wed Jan 19 10:50:50 2022 us=903299 MANAGEMENT: CMD 'bytecount 5'
Wed Jan 19 10:50:50 2022 us=906291 MANAGEMENT: CMD 'hold off'
Wed Jan 19 10:50:50 2022 us=911049 MANAGEMENT: CMD 'hold release'
Wed Jan 19 10:50:50 2022 us=916035 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed Jan 19 10:50:50 2022 us=916035 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed Jan 19 10:50:50 2022 us=916035 Control Channel MTU parms [ L:1623 D:1182 EF:68 EB:0 ET:0 EL:3 ]
Wed Jan 19 10:50:50 2022 us=916035 Data Channel MTU parms [ L:1623 D:1450 EF:123 EB:406 ET:0 EL:3 ]
Wed Jan 19 10:50:50 2022 us=916035 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1543,tun-mtu 1500,proto TCPv4_CLIENT,keydir 1,cipher BF-CBC,auth SHA1,keysize 128,tls-auth,key-method 2,tls-client'
Wed Jan 19 10:50:50 2022 us=916035 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1543,tun-mtu 1500,proto TCPv4_SERVER,keydir 0,cipher BF-CBC,auth SHA1,keysize 128,tls-auth,key-method 2,tls-server'
Wed Jan 19 10:50:50 2022 us=916035 TCP/UDP: Preserving recently used remote address: [AF_INET]a.b.c.d:1194
Wed Jan 19 10:50:50 2022 us=916035 Socket Buffers: R=[65536->65536] S=[64512->64512]
Wed Jan 19 10:50:50 2022 us=916035 Attempting to establish TCP connection with [AF_INET]a.b.c.d:1194 [nonblock]
Wed Jan 19 10:50:50 2022 us=916035 MANAGEMENT: >STATE:1642585850,TCP_CONNECT,,,,,,
Client config (changed server to tcp too):

Code: Select all

client
dev tun
proto tcp
remote a.b.c.d 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert laptop1.crt
key laptop1.key
tls-auth ta.key 1
verb 4
UPDATE: and client is working aswell ... (I didn't set NAT port forward on the server).

Thank you for directing me a little bit :)

Post Reply