Page 1 of 1

Problem connecting to Siemens CMR2020 module via OpenVPN

Posted: Sun Aug 30, 2020 9:31 am
by ajfdezg
Hi,

I am not able to establish a VPN connection between my Siemens CMR2020 module (server) and my Win 10 PC (client) with OpenVPN GUI. I was hoping someone here can help me find and solve the problem.

Here is the Siemens CMR2020 module manual -> https://cache.industry.siemens.com/dl/f ... 040_78.pdf

And here, the Siemens application guide that I have followed -> https://cache.industry.siemens.com/dl/f ... V10_en.pdf

These are the client config file, and the OpenVPN GUI log ->

Client config

dev tun0
disable-occ
remote 10.169.185.113 1194
ifconfig 10.8.0.1 10.8.0.2
nobind
keepalive 15 60
route 192.168.1.0 255.255.255.0
tun-mtu 1500
fragment 1371
mssfix 1282
persist-key
replay-window 512 15
cipher AES-128-CBC
auth SHA256
auth-nocache
comp-lzo
verb 4
key-direction 1
<secret>
#
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1-----
I removed the key here
-----END OpenVPN Static key V1-----
</secret>


OpenVPN GUI log:

Code: Select all

Sun Aug 30 00:02:09 2020 us=26467 disabling NCP mode (--ncp-disable) because not in P2MP client or server mode
Sun Aug 30 00:02:09 2020 us=27464 Current Parameter Settings:
Sun Aug 30 00:02:09 2020 us=27464   config = 'vpnpeer.ovpn'
Sun Aug 30 00:02:09 2020 us=27464   mode = 0
Sun Aug 30 00:02:09 2020 us=27464   show_ciphers = DISABLED
Sun Aug 30 00:02:09 2020 us=27464   show_digests = DISABLED
Sun Aug 30 00:02:09 2020 us=27464   show_engines = DISABLED
Sun Aug 30 00:02:09 2020 us=27464   genkey = DISABLED
Sun Aug 30 00:02:09 2020 us=27464   key_pass_file = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=27464   show_tls_ciphers = DISABLED
Sun Aug 30 00:02:09 2020 us=27464   connect_retry_max = 0
Sun Aug 30 00:02:09 2020 us=27464 Connection profiles [0]:
Sun Aug 30 00:02:09 2020 us=27464   proto = udp
Sun Aug 30 00:02:09 2020 us=27464   local = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=27464   local_port = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=27464   remote = '10.169.185.113'
Sun Aug 30 00:02:09 2020 us=27464   remote_port = '1194'
Sun Aug 30 00:02:09 2020 us=27464   remote_float = DISABLED
Sun Aug 30 00:02:09 2020 us=27464   bind_defined = DISABLED
Sun Aug 30 00:02:09 2020 us=27464   bind_local = DISABLED
Sun Aug 30 00:02:09 2020 us=27464   bind_ipv6_only = DISABLED
Sun Aug 30 00:02:09 2020 us=27464   connect_retry_seconds = 5
Sun Aug 30 00:02:09 2020 us=27464   connect_timeout = 120
Sun Aug 30 00:02:09 2020 us=27464   socks_proxy_server = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=27464   socks_proxy_port = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=27464   tun_mtu = 1500
Sun Aug 30 00:02:09 2020 us=27464   tun_mtu_defined = ENABLED
Sun Aug 30 00:02:09 2020 us=27464   link_mtu = 1500
Sun Aug 30 00:02:09 2020 us=27464   link_mtu_defined = DISABLED
Sun Aug 30 00:02:09 2020 us=27464   tun_mtu_extra = 0
Sun Aug 30 00:02:09 2020 us=27464   tun_mtu_extra_defined = DISABLED
Sun Aug 30 00:02:09 2020 us=27464   mtu_discover_type = -1
Sun Aug 30 00:02:09 2020 us=27464   fragment = 1371
Sun Aug 30 00:02:09 2020 us=27464   mssfix = 1282
Sun Aug 30 00:02:09 2020 us=27464   explicit_exit_notification = 0
Sun Aug 30 00:02:09 2020 us=27464 Connection profiles END
Sun Aug 30 00:02:09 2020 us=27464   remote_random = DISABLED
Sun Aug 30 00:02:09 2020 us=27464   ipchange = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=27464   dev = 'tun0'
Sun Aug 30 00:02:09 2020 us=27464   dev_type = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=27464   dev_node = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=27464   lladdr = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=27464   topology = 1
Sun Aug 30 00:02:09 2020 us=27464   ifconfig_local = '10.8.0.1'
Sun Aug 30 00:02:09 2020 us=27464   ifconfig_remote_netmask = '10.8.0.2'
Sun Aug 30 00:02:09 2020 us=27464   ifconfig_noexec = DISABLED
Sun Aug 30 00:02:09 2020 us=27464   ifconfig_nowarn = DISABLED
Sun Aug 30 00:02:09 2020 us=27464   ifconfig_ipv6_local = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=27464   ifconfig_ipv6_netbits = 0
Sun Aug 30 00:02:09 2020 us=27464   ifconfig_ipv6_remote = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=27464   shaper = 0
Sun Aug 30 00:02:09 2020 us=27464   mtu_test = 0
Sun Aug 30 00:02:09 2020 us=27464   mlock = DISABLED
Sun Aug 30 00:02:09 2020 us=27464   keepalive_ping = 15
Sun Aug 30 00:02:09 2020 us=27464   keepalive_timeout = 60
Sun Aug 30 00:02:09 2020 us=27464   inactivity_timeout = 0
Sun Aug 30 00:02:09 2020 us=27464   ping_send_timeout = 15
Sun Aug 30 00:02:09 2020 us=27464   ping_rec_timeout = 60
Sun Aug 30 00:02:09 2020 us=27464   ping_rec_timeout_action = 2
Sun Aug 30 00:02:09 2020 us=27464   ping_timer_remote = DISABLED
Sun Aug 30 00:02:09 2020 us=27464   remap_sigusr1 = 0
Sun Aug 30 00:02:09 2020 us=27464   persist_tun = DISABLED
Sun Aug 30 00:02:09 2020 us=27464   persist_local_ip = DISABLED
Sun Aug 30 00:02:09 2020 us=27464   persist_remote_ip = DISABLED
Sun Aug 30 00:02:09 2020 us=27464   persist_key = ENABLED
Sun Aug 30 00:02:09 2020 us=27464   passtos = DISABLED
Sun Aug 30 00:02:09 2020 us=27464   resolve_retry_seconds = 1000000000
Sun Aug 30 00:02:09 2020 us=27464   resolve_in_advance = DISABLED
Sun Aug 30 00:02:09 2020 us=27464   username = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=27464   groupname = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=27464   chroot_dir = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=27464   cd_dir = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=27464   writepid = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=27464   up_script = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=27464   down_script = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=27464   down_pre = DISABLED
Sun Aug 30 00:02:09 2020 us=27464   up_restart = DISABLED
Sun Aug 30 00:02:09 2020 us=27464   up_delay = DISABLED
Sun Aug 30 00:02:09 2020 us=27464   daemon = DISABLED
Sun Aug 30 00:02:09 2020 us=27464   inetd = 0
Sun Aug 30 00:02:09 2020 us=27464   log = ENABLED
Sun Aug 30 00:02:09 2020 us=27464   suppress_timestamps = DISABLED
Sun Aug 30 00:02:09 2020 us=27464   machine_readable_output = DISABLED
Sun Aug 30 00:02:09 2020 us=27464   nice = 0
Sun Aug 30 00:02:09 2020 us=27464   verbosity = 4
Sun Aug 30 00:02:09 2020 us=27464   mute = 0
Sun Aug 30 00:02:09 2020 us=27464   gremlin = 0
Sun Aug 30 00:02:09 2020 us=27464   status_file = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=27464   status_file_version = 1
Sun Aug 30 00:02:09 2020 us=27464   status_file_update_freq = 60
Sun Aug 30 00:02:09 2020 us=27464   occ = DISABLED
Sun Aug 30 00:02:09 2020 us=27464   rcvbuf = 0
Sun Aug 30 00:02:09 2020 us=27464   sndbuf = 0
Sun Aug 30 00:02:09 2020 us=28465   sockflags = 0
Sun Aug 30 00:02:09 2020 us=28465   fast_io = DISABLED
Sun Aug 30 00:02:09 2020 us=28465   comp.alg = 2
Sun Aug 30 00:02:09 2020 us=28465   comp.flags = 1
Sun Aug 30 00:02:09 2020 us=28465   route_script = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=28465   route_default_gateway = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=28465   route_default_metric = 0
Sun Aug 30 00:02:09 2020 us=28465   route_noexec = DISABLED
Sun Aug 30 00:02:09 2020 us=28465   route_delay = 5
Sun Aug 30 00:02:09 2020 us=28465   route_delay_window = 30
Sun Aug 30 00:02:09 2020 us=28465   route_delay_defined = ENABLED
Sun Aug 30 00:02:09 2020 us=28465   route_nopull = DISABLED
Sun Aug 30 00:02:09 2020 us=28465   route_gateway_via_dhcp = DISABLED
Sun Aug 30 00:02:09 2020 us=28465   allow_pull_fqdn = DISABLED
Sun Aug 30 00:02:09 2020 us=28465   route 192.168.1.0/255.255.255.0/default (not set)/default (not set)
Sun Aug 30 00:02:09 2020 us=28465   management_addr = '127.0.0.1'
Sun Aug 30 00:02:09 2020 us=28465   management_port = '25340'
Sun Aug 30 00:02:09 2020 us=28465   management_user_pass = 'stdin'
Sun Aug 30 00:02:09 2020 us=28465   management_log_history_cache = 250
Sun Aug 30 00:02:09 2020 us=28465   management_echo_buffer_size = 100
Sun Aug 30 00:02:09 2020 us=28465   management_write_peer_info_file = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=28465   management_client_user = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=28465   management_client_group = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=28465   management_flags = 6
Sun Aug 30 00:02:09 2020 us=28465   shared_secret_file = '[[INLINE]]'
Sun Aug 30 00:02:09 2020 us=28465   key_direction = 1
Sun Aug 30 00:02:09 2020 us=28465   ciphername = 'AES-128-CBC'
Sun Aug 30 00:02:09 2020 us=28465   ncp_enabled = DISABLED
Sun Aug 30 00:02:09 2020 us=28465   ncp_ciphers = 'AES-256-GCM:AES-128-GCM'
Sun Aug 30 00:02:09 2020 us=28465   authname = 'SHA256'
Sun Aug 30 00:02:09 2020 us=28465   prng_hash = 'SHA1'
Sun Aug 30 00:02:09 2020 us=28465   prng_nonce_secret_len = 16
Sun Aug 30 00:02:09 2020 us=28465   keysize = 0
Sun Aug 30 00:02:09 2020 us=28465   engine = DISABLED
Sun Aug 30 00:02:09 2020 us=28465   replay = ENABLED
Sun Aug 30 00:02:09 2020 us=28465   mute_replay_warnings = DISABLED
Sun Aug 30 00:02:09 2020 us=28465   replay_window = 512
Sun Aug 30 00:02:09 2020 us=28465   replay_time = 15
Sun Aug 30 00:02:09 2020 us=28465   packet_id_file = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=28465   use_iv = ENABLED
Sun Aug 30 00:02:09 2020 us=28465   test_crypto = DISABLED
Sun Aug 30 00:02:09 2020 us=28465   tls_server = DISABLED
Sun Aug 30 00:02:09 2020 us=28465   tls_client = DISABLED
Sun Aug 30 00:02:09 2020 us=28465   key_method = 2
Sun Aug 30 00:02:09 2020 us=28465   ca_file = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=28465   ca_path = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=28465   dh_file = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=28465   cert_file = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=28465   extra_certs_file = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=28465   priv_key_file = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=28465   pkcs12_file = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=28465   cryptoapi_cert = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=28465   cipher_list = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=28465   cipher_list_tls13 = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=28465   tls_cert_profile = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=28465   tls_verify = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=28465   tls_export_cert = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=28465   verify_x509_type = 0
Sun Aug 30 00:02:09 2020 us=28465   verify_x509_name = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=28465   crl_file = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=28465   ns_cert_type = 0
Sun Aug 30 00:02:09 2020 us=28465   remote_cert_ku[i] = 0
Sun Aug 30 00:02:09 2020 us=28465   remote_cert_ku[i] = 0
Sun Aug 30 00:02:09 2020 us=28465   remote_cert_ku[i] = 0
Sun Aug 30 00:02:09 2020 us=28465   remote_cert_ku[i] = 0
Sun Aug 30 00:02:09 2020 us=28465   remote_cert_ku[i] = 0
Sun Aug 30 00:02:09 2020 us=28465   remote_cert_ku[i] = 0
Sun Aug 30 00:02:09 2020 us=28465   remote_cert_ku[i] = 0
Sun Aug 30 00:02:09 2020 us=28465   remote_cert_ku[i] = 0
Sun Aug 30 00:02:09 2020 us=28465   remote_cert_ku[i] = 0
Sun Aug 30 00:02:09 2020 us=28465   remote_cert_ku[i] = 0
Sun Aug 30 00:02:09 2020 us=28465   remote_cert_ku[i] = 0
Sun Aug 30 00:02:09 2020 us=28465   remote_cert_ku[i] = 0
Sun Aug 30 00:02:09 2020 us=28465   remote_cert_ku[i] = 0
Sun Aug 30 00:02:09 2020 us=28465   remote_cert_ku[i] = 0
Sun Aug 30 00:02:09 2020 us=28465   remote_cert_ku[i] = 0
Sun Aug 30 00:02:09 2020 us=28465   remote_cert_ku[i] = 0
Sun Aug 30 00:02:09 2020 us=28465   remote_cert_eku = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=28465   ssl_flags = 0
Sun Aug 30 00:02:09 2020 us=28465   tls_timeout = 2
Sun Aug 30 00:02:09 2020 us=28465   renegotiate_bytes = -1
Sun Aug 30 00:02:09 2020 us=28465   renegotiate_packets = 0
Sun Aug 30 00:02:09 2020 us=28465   renegotiate_seconds = 3600
Sun Aug 30 00:02:09 2020 us=28465   handshake_window = 60
Sun Aug 30 00:02:09 2020 us=28465   transition_window = 3600
Sun Aug 30 00:02:09 2020 us=28465   single_session = DISABLED
Sun Aug 30 00:02:09 2020 us=28465   push_peer_info = DISABLED
Sun Aug 30 00:02:09 2020 us=28465   tls_exit = DISABLED
Sun Aug 30 00:02:09 2020 us=28465   tls_auth_file = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=28465   tls_crypt_file = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=28465   pkcs11_protected_authentication = DISABLED
Sun Aug 30 00:02:09 2020 us=28465   pkcs11_protected_authentication = DISABLED
Sun Aug 30 00:02:09 2020 us=28465   pkcs11_protected_authentication = DISABLED
Sun Aug 30 00:02:09 2020 us=28465   pkcs11_protected_authentication = DISABLED
Sun Aug 30 00:02:09 2020 us=29459   pkcs11_protected_authentication = DISABLED
Sun Aug 30 00:02:09 2020 us=29459   pkcs11_protected_authentication = DISABLED
Sun Aug 30 00:02:09 2020 us=29459   pkcs11_protected_authentication = DISABLED
Sun Aug 30 00:02:09 2020 us=29459   pkcs11_protected_authentication = DISABLED
Sun Aug 30 00:02:09 2020 us=29459   pkcs11_protected_authentication = DISABLED
Sun Aug 30 00:02:09 2020 us=29459   pkcs11_protected_authentication = DISABLED
Sun Aug 30 00:02:09 2020 us=29459   pkcs11_protected_authentication = DISABLED
Sun Aug 30 00:02:09 2020 us=29459   pkcs11_protected_authentication = DISABLED
Sun Aug 30 00:02:09 2020 us=29459   pkcs11_protected_authentication = DISABLED
Sun Aug 30 00:02:09 2020 us=29459   pkcs11_protected_authentication = DISABLED
Sun Aug 30 00:02:09 2020 us=29459   pkcs11_protected_authentication = DISABLED
Sun Aug 30 00:02:09 2020 us=29459   pkcs11_protected_authentication = DISABLED
Sun Aug 30 00:02:09 2020 us=29459   pkcs11_private_mode = 00000000
Sun Aug 30 00:02:09 2020 us=29459   pkcs11_private_mode = 00000000
Sun Aug 30 00:02:09 2020 us=29459   pkcs11_private_mode = 00000000
Sun Aug 30 00:02:09 2020 us=29459   pkcs11_private_mode = 00000000
Sun Aug 30 00:02:09 2020 us=29459   pkcs11_private_mode = 00000000
Sun Aug 30 00:02:09 2020 us=29459   pkcs11_private_mode = 00000000
Sun Aug 30 00:02:09 2020 us=29459   pkcs11_private_mode = 00000000
Sun Aug 30 00:02:09 2020 us=29459   pkcs11_private_mode = 00000000
Sun Aug 30 00:02:09 2020 us=29459   pkcs11_private_mode = 00000000
Sun Aug 30 00:02:09 2020 us=29459   pkcs11_private_mode = 00000000
Sun Aug 30 00:02:09 2020 us=29459   pkcs11_private_mode = 00000000
Sun Aug 30 00:02:09 2020 us=29459   pkcs11_private_mode = 00000000
Sun Aug 30 00:02:09 2020 us=29459   pkcs11_private_mode = 00000000
Sun Aug 30 00:02:09 2020 us=29459   pkcs11_private_mode = 00000000
Sun Aug 30 00:02:09 2020 us=29459   pkcs11_private_mode = 00000000
Sun Aug 30 00:02:09 2020 us=29459   pkcs11_private_mode = 00000000
Sun Aug 30 00:02:09 2020 us=29459   pkcs11_cert_private = DISABLED
Sun Aug 30 00:02:09 2020 us=29459   pkcs11_cert_private = DISABLED
Sun Aug 30 00:02:09 2020 us=29459   pkcs11_cert_private = DISABLED
Sun Aug 30 00:02:09 2020 us=29459   pkcs11_cert_private = DISABLED
Sun Aug 30 00:02:09 2020 us=29459   pkcs11_cert_private = DISABLED
Sun Aug 30 00:02:09 2020 us=29459   pkcs11_cert_private = DISABLED
Sun Aug 30 00:02:09 2020 us=29459   pkcs11_cert_private = DISABLED
Sun Aug 30 00:02:09 2020 us=29459   pkcs11_cert_private = DISABLED
Sun Aug 30 00:02:09 2020 us=29459   pkcs11_cert_private = DISABLED
Sun Aug 30 00:02:09 2020 us=29459   pkcs11_cert_private = DISABLED
Sun Aug 30 00:02:09 2020 us=29459   pkcs11_cert_private = DISABLED
Sun Aug 30 00:02:09 2020 us=29459   pkcs11_cert_private = DISABLED
Sun Aug 30 00:02:09 2020 us=29459   pkcs11_cert_private = DISABLED
Sun Aug 30 00:02:09 2020 us=29459   pkcs11_cert_private = DISABLED
Sun Aug 30 00:02:09 2020 us=29459   pkcs11_cert_private = DISABLED
Sun Aug 30 00:02:09 2020 us=29459   pkcs11_cert_private = DISABLED
Sun Aug 30 00:02:09 2020 us=29459   pkcs11_pin_cache_period = -1
Sun Aug 30 00:02:09 2020 us=29459   pkcs11_id = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=29459   pkcs11_id_management = DISABLED
Sun Aug 30 00:02:09 2020 us=29459   server_network = 0.0.0.0
Sun Aug 30 00:02:09 2020 us=29459   server_netmask = 0.0.0.0
Sun Aug 30 00:02:09 2020 us=29459   server_network_ipv6 = ::
Sun Aug 30 00:02:09 2020 us=29459   server_netbits_ipv6 = 0
Sun Aug 30 00:02:09 2020 us=29459   server_bridge_ip = 0.0.0.0
Sun Aug 30 00:02:09 2020 us=29459   server_bridge_netmask = 0.0.0.0
Sun Aug 30 00:02:09 2020 us=29459   server_bridge_pool_start = 0.0.0.0
Sun Aug 30 00:02:09 2020 us=29459   server_bridge_pool_end = 0.0.0.0
Sun Aug 30 00:02:09 2020 us=29459   ifconfig_pool_defined = DISABLED
Sun Aug 30 00:02:09 2020 us=29459   ifconfig_pool_start = 0.0.0.0
Sun Aug 30 00:02:09 2020 us=29459   ifconfig_pool_end = 0.0.0.0
Sun Aug 30 00:02:09 2020 us=29459   ifconfig_pool_netmask = 0.0.0.0
Sun Aug 30 00:02:09 2020 us=29459   ifconfig_pool_persist_filename = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=29459   ifconfig_pool_persist_refresh_freq = 600
Sun Aug 30 00:02:09 2020 us=29459   ifconfig_ipv6_pool_defined = DISABLED
Sun Aug 30 00:02:09 2020 us=29459   ifconfig_ipv6_pool_base = ::
Sun Aug 30 00:02:09 2020 us=29459   ifconfig_ipv6_pool_netbits = 0
Sun Aug 30 00:02:09 2020 us=29459   n_bcast_buf = 256
Sun Aug 30 00:02:09 2020 us=29459   tcp_queue_limit = 64
Sun Aug 30 00:02:09 2020 us=29459   real_hash_size = 256
Sun Aug 30 00:02:09 2020 us=29459   virtual_hash_size = 256
Sun Aug 30 00:02:09 2020 us=29459   client_connect_script = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=29459   learn_address_script = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=29459   client_disconnect_script = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=29459   client_config_dir = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=29459   ccd_exclusive = DISABLED
Sun Aug 30 00:02:09 2020 us=29459   tmp_dir = 'C:\Users\adria\AppData\Local\Temp\'
Sun Aug 30 00:02:09 2020 us=29459   push_ifconfig_defined = DISABLED
Sun Aug 30 00:02:09 2020 us=29459   push_ifconfig_local = 0.0.0.0
Sun Aug 30 00:02:09 2020 us=29459   push_ifconfig_remote_netmask = 0.0.0.0
Sun Aug 30 00:02:09 2020 us=29459   push_ifconfig_ipv6_defined = DISABLED
Sun Aug 30 00:02:09 2020 us=29459   push_ifconfig_ipv6_local = ::/0
Sun Aug 30 00:02:09 2020 us=29459   push_ifconfig_ipv6_remote = ::
Sun Aug 30 00:02:09 2020 us=29459   enable_c2c = DISABLED
Sun Aug 30 00:02:09 2020 us=29459   duplicate_cn = DISABLED
Sun Aug 30 00:02:09 2020 us=29459   cf_max = 0
Sun Aug 30 00:02:09 2020 us=29459   cf_per = 0
Sun Aug 30 00:02:09 2020 us=29459   max_clients = 1024
Sun Aug 30 00:02:09 2020 us=29459   max_routes_per_client = 256
Sun Aug 30 00:02:09 2020 us=29459   auth_user_pass_verify_script = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=29459   auth_user_pass_verify_script_via_file = DISABLED
Sun Aug 30 00:02:09 2020 us=29459   auth_token_generate = DISABLED
Sun Aug 30 00:02:09 2020 us=29459   auth_token_lifetime = 0
Sun Aug 30 00:02:09 2020 us=29459   client = DISABLED
Sun Aug 30 00:02:09 2020 us=29459   pull = DISABLED
Sun Aug 30 00:02:09 2020 us=29459   auth_user_pass_file = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=29459   show_net_up = DISABLED
Sun Aug 30 00:02:09 2020 us=29459   route_method = 0
Sun Aug 30 00:02:09 2020 us=29459   block_outside_dns = DISABLED
Sun Aug 30 00:02:09 2020 us=29459   ip_win32_defined = DISABLED
Sun Aug 30 00:02:09 2020 us=29459   ip_win32_type = 3
Sun Aug 30 00:02:09 2020 us=30457   dhcp_masq_offset = 0
Sun Aug 30 00:02:09 2020 us=30457   dhcp_lease_time = 31536000
Sun Aug 30 00:02:09 2020 us=30457   tap_sleep = 0
Sun Aug 30 00:02:09 2020 us=30457   dhcp_options = DISABLED
Sun Aug 30 00:02:09 2020 us=30457   dhcp_renew = DISABLED
Sun Aug 30 00:02:09 2020 us=30457   dhcp_pre_release = DISABLED
Sun Aug 30 00:02:09 2020 us=30457   domain = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=30457   netbios_scope = '[UNDEF]'
Sun Aug 30 00:02:09 2020 us=30457   netbios_node_type = 0
Sun Aug 30 00:02:09 2020 us=30457   disable_nbt = DISABLED
Sun Aug 30 00:02:09 2020 us=30457 OpenVPN 2.4.9 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Apr 16 2020
Sun Aug 30 00:02:09 2020 us=30457 Windows version 6.2 (Windows 8 or greater) 64bit
Sun Aug 30 00:02:09 2020 us=30457 library versions: OpenSSL 1.1.1f  31 Mar 2020, LZO 2.10
Enter Management Password:
Sun Aug 30 00:02:09 2020 us=30457 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340
Sun Aug 30 00:02:09 2020 us=30457 Need hold release from management interface, waiting...
Sun Aug 30 00:02:09 2020 us=511605 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340
Sun Aug 30 00:02:09 2020 us=612959 MANAGEMENT: CMD 'state on'
Sun Aug 30 00:02:09 2020 us=612959 MANAGEMENT: CMD 'log all on'
Sun Aug 30 00:02:09 2020 us=716631 MANAGEMENT: CMD 'echo all on'
Sun Aug 30 00:02:09 2020 us=717633 MANAGEMENT: CMD 'bytecount 5'
Sun Aug 30 00:02:09 2020 us=718629 MANAGEMENT: CMD 'hold off'
Sun Aug 30 00:02:09 2020 us=719626 MANAGEMENT: CMD 'hold release'
Sun Aug 30 00:02:09 2020 us=721622 Outgoing Static Key Encryption: Cipher 'AES-128-CBC' initialized with 128 bit key
Sun Aug 30 00:02:09 2020 us=721622 Outgoing Static Key Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication
Sun Aug 30 00:02:09 2020 us=721622 Incoming Static Key Encryption: Cipher 'AES-128-CBC' initialized with 128 bit key
Sun Aug 30 00:02:09 2020 us=721622 Incoming Static Key Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication
Sun Aug 30 00:02:09 2020 us=721622 LZO compression initializing
Sun Aug 30 00:02:09 2020 us=721622 interactive service msg_channel=0
Sun Aug 30 00:02:09 2020 us=724343 ROUTE_GATEWAY 192.168.1.1/255.255.255.0 I=17 HWADDR=60:f6:77:51:55:09
Sun Aug 30 00:02:09 2020 us=724343 open_tun
Sun Aug 30 00:02:09 2020 us=725340 TAP-WIN32 device [Conexión de área local] opened: \\.\Global\{9A0A0098-40D6-4367-B638-CDBB4EE9B71B}.tap
Sun Aug 30 00:02:09 2020 us=725340 TAP-Windows Driver Version 9.24
Sun Aug 30 00:02:09 2020 us=725340 TAP-Windows MTU=1500
Sun Aug 30 00:02:09 2020 us=726338 Notified TAP-Windows driver to set a DHCP IP/netmask of 10.8.0.1/255.255.255.252 on interface {9A0A0098-40D6-4367-B638-CDBB4EE9B71B} [DHCP-serv: 10.8.0.2, lease-time: 31536000]
Sun Aug 30 00:02:09 2020 us=726338 Successful ARP Flush on interface [13] {9A0A0098-40D6-4367-B638-CDBB4EE9B71B}
Sun Aug 30 00:02:09 2020 us=735315 do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Sun Aug 30 00:02:09 2020 us=735315 MANAGEMENT: >STATE:1598738529,ASSIGN_IP,,10.8.0.1,,,,
Sun Aug 30 00:02:09 2020 us=735315 Data Channel MTU parms [ L:1577 D:1282 EF:77 EB:398 ET:0 EL:3 ]
Sun Aug 30 00:02:09 2020 us=735315 Fragmentation MTU parms [ L:1577 D:1371 EF:76 EB:398 ET:1 EL:3 ]
Sun Aug 30 00:02:09 2020 us=735315 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1577,tun-mtu 1500,proto UDPv4,ifconfig 10.8.0.2 10.8.0.1,comp-lzo,mtu-dynamic,keydir 1,cipher AES-128-CBC,auth SHA256,keysize 128,secret'
Sun Aug 30 00:02:09 2020 us=735315 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1577,tun-mtu 1500,proto UDPv4,ifconfig 10.8.0.1 10.8.0.2,comp-lzo,mtu-dynamic,keydir 0,cipher AES-128-CBC,auth SHA256,keysize 128,secret'
Sun Aug 30 00:02:09 2020 us=736316 TCP/UDP: Preserving recently used remote address: [AF_INET]10.169.185.113:1194
Sun Aug 30 00:02:09 2020 us=736316 Socket Buffers: R=[65536->65536] S=[65536->65536]
Sun Aug 30 00:02:09 2020 us=736316 UDP link local: (not bound)
Sun Aug 30 00:02:09 2020 us=736316 UDP link remote: [AF_INET]10.169.185.113:1194
Thanks!

Re: Problem connecting to Siemens CMR2020 module via OpenVPN

Posted: Sun Aug 30, 2020 9:44 am
by TinCanTech
You need to check your server log.

Re: Problem connecting to Siemens CMR2020 module via OpenVPN

Posted: Fri Sep 04, 2020 8:10 pm
by ajfdezg
Hello TinCanTech,

Thanks for your reply. I cannot check the server log because it is embedded in a Siemens CMR2020 module. This is not a conventional PC but a PLC module that comes with an integrated OpenVPN server. A diagnostic report is the closest I can get to a server log. According to it, everything seems to work fine on the server: https://drive.google.com/file/d/1OItW4B ... sp=sharing.

Any other ideas?

Thanks

Re: Problem connecting to Siemens CMR2020 module via OpenVPN

Posted: Fri Sep 04, 2020 8:36 pm
by TinCanTech
I expect your device can still output a log file to an external syslog host.