OpenVPN on Teltonika RUT240 Probs

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.
Locked
AcidSubway
OpenVpn Newbie
Posts: 6
Joined: Mon Jun 18, 2018 12:05 pm

OpenVPN on Teltonika RUT240 Probs

Post by AcidSubway » Mon Jun 18, 2018 12:25 pm

Hi all,

i run a RUT240 Teltonika with OpenVPN server.
My Client is a Windows PC.
I have probs with connect, pls help me cant fint the bug.


Log Widows Client

Code: Select all

Log from WinClient

Mon Jun 18 13:54:57 2018 us=446126 disabling NCP mode (--ncp-disable) because not in P2MP client or server mode
Mon Jun 18 13:54:57 2018 us=446126 Current Parameter Settings:
Mon Jun 18 13:54:57 2018 us=446126   config = 'openvp.conf'
Mon Jun 18 13:54:57 2018 us=446126   mode = 0
Mon Jun 18 13:54:57 2018 us=446126   show_ciphers = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   show_digests = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   show_engines = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   genkey = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   key_pass_file = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   show_tls_ciphers = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   connect_retry_max = 0
Mon Jun 18 13:54:57 2018 us=446126 Connection profiles [0]:
Mon Jun 18 13:54:57 2018 us=446126   proto = udp
Mon Jun 18 13:54:57 2018 us=446126   local = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   local_port = '62000'
Mon Jun 18 13:54:57 2018 us=446126   remote = 'x.x.x.x'
Mon Jun 18 13:54:57 2018 us=446126   remote_port = '62000'
Mon Jun 18 13:54:57 2018 us=446126   remote_float = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   bind_defined = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   bind_local = ENABLED
Mon Jun 18 13:54:57 2018 us=446126   bind_ipv6_only = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   connect_retry_seconds = 5
Mon Jun 18 13:54:57 2018 us=446126   connect_timeout = 120
Mon Jun 18 13:54:57 2018 us=446126   socks_proxy_server = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   socks_proxy_port = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   tun_mtu = 1500
Mon Jun 18 13:54:57 2018 us=446126   tun_mtu_defined = ENABLED
Mon Jun 18 13:54:57 2018 us=446126   link_mtu = 1500
Mon Jun 18 13:54:57 2018 us=446126   link_mtu_defined = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   tun_mtu_extra = 0
Mon Jun 18 13:54:57 2018 us=446126   tun_mtu_extra_defined = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   mtu_discover_type = -1
Mon Jun 18 13:54:57 2018 us=446126   fragment = 0
Mon Jun 18 13:54:57 2018 us=446126   mssfix = 1450
Mon Jun 18 13:54:57 2018 us=446126   explicit_exit_notification = 0
Mon Jun 18 13:54:57 2018 us=446126 Connection profiles END
Mon Jun 18 13:54:57 2018 us=446126   remote_random = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   ipchange = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   dev = 'tun'
Mon Jun 18 13:54:57 2018 us=446126   dev_type = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   dev_node = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   lladdr = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   topology = 1
Mon Jun 18 13:54:57 2018 us=446126   ifconfig_local = '172.16.0.1'
Mon Jun 18 13:54:57 2018 us=446126   ifconfig_remote_netmask = '172.16.0.2'
Mon Jun 18 13:54:57 2018 us=446126   ifconfig_noexec = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   ifconfig_nowarn = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   ifconfig_ipv6_local = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   ifconfig_ipv6_netbits = 0
Mon Jun 18 13:54:57 2018 us=446126   ifconfig_ipv6_remote = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   shaper = 0
Mon Jun 18 13:54:57 2018 us=446126   mtu_test = 0
Mon Jun 18 13:54:57 2018 us=446126   mlock = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   keepalive_ping = 0
Mon Jun 18 13:54:57 2018 us=446126   keepalive_timeout = 0
Mon Jun 18 13:54:57 2018 us=446126   inactivity_timeout = 0
Mon Jun 18 13:54:57 2018 us=446126   ping_send_timeout = 0
Mon Jun 18 13:54:57 2018 us=446126   ping_rec_timeout = 0
Mon Jun 18 13:54:57 2018 us=446126   ping_rec_timeout_action = 0
Mon Jun 18 13:54:57 2018 us=446126   ping_timer_remote = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   remap_sigusr1 = 0
Mon Jun 18 13:54:57 2018 us=446126   persist_tun = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   persist_local_ip = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   persist_remote_ip = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   persist_key = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   passtos = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   resolve_retry_seconds = 1000000000
Mon Jun 18 13:54:57 2018 us=446126   resolve_in_advance = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   username = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   groupname = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   chroot_dir = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   cd_dir = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   writepid = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   up_script = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   down_script = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   down_pre = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   up_restart = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   up_delay = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   daemon = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   inetd = 0
Mon Jun 18 13:54:57 2018 us=446126   log = ENABLED
Mon Jun 18 13:54:57 2018 us=446126   suppress_timestamps = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   machine_readable_output = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   nice = 0
Mon Jun 18 13:54:57 2018 us=446126   verbosity = 7
Mon Jun 18 13:54:57 2018 us=446126   mute = 0
Mon Jun 18 13:54:57 2018 us=446126   gremlin = 0
Mon Jun 18 13:54:57 2018 us=446126   status_file = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   status_file_version = 1
Mon Jun 18 13:54:57 2018 us=446126   status_file_update_freq = 60
Mon Jun 18 13:54:57 2018 us=446126   occ = ENABLED
Mon Jun 18 13:54:57 2018 us=446126   rcvbuf = 0
Mon Jun 18 13:54:57 2018 us=446126   sndbuf = 0
Mon Jun 18 13:54:57 2018 us=446126   sockflags = 0
Mon Jun 18 13:54:57 2018 us=446126   fast_io = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   comp.alg = 2
Mon Jun 18 13:54:57 2018 us=446126   comp.flags = 1
Mon Jun 18 13:54:57 2018 us=446126   route_script = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   route_default_gateway = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   route_default_metric = 0
Mon Jun 18 13:54:57 2018 us=446126   route_noexec = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   route_delay = 5
Mon Jun 18 13:54:57 2018 us=446126   route_delay_window = 30
Mon Jun 18 13:54:57 2018 us=446126   route_delay_defined = ENABLED
Mon Jun 18 13:54:57 2018 us=446126   route_nopull = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   route_gateway_via_dhcp = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   allow_pull_fqdn = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   management_addr = '127.0.0.1'
Mon Jun 18 13:54:57 2018 us=446126   management_port = '25340'
Mon Jun 18 13:54:57 2018 us=446126   management_user_pass = 'stdin'
Mon Jun 18 13:54:57 2018 us=446126   management_log_history_cache = 250
Mon Jun 18 13:54:57 2018 us=446126   management_echo_buffer_size = 100
Mon Jun 18 13:54:57 2018 us=446126   management_write_peer_info_file = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   management_client_user = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   management_client_group = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   management_flags = 4102
Mon Jun 18 13:54:57 2018 us=446126   shared_secret_file = 'static.key'
Mon Jun 18 13:54:57 2018 us=446126   key_direction = not set
Mon Jun 18 13:54:57 2018 us=446126   ciphername = 'AES-256-CBC'
Mon Jun 18 13:54:57 2018 us=446126   ncp_enabled = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   ncp_ciphers = 'AES-256-GCM:AES-128-GCM'
Mon Jun 18 13:54:57 2018 us=446126   authname = 'SHA1'
Mon Jun 18 13:54:57 2018 us=446126   prng_hash = 'SHA1'
Mon Jun 18 13:54:57 2018 us=446126   prng_nonce_secret_len = 16
Mon Jun 18 13:54:57 2018 us=446126   keysize = 0
Mon Jun 18 13:54:57 2018 us=446126   engine = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   replay = ENABLED
Mon Jun 18 13:54:57 2018 us=446126   mute_replay_warnings = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   replay_window = 64
Mon Jun 18 13:54:57 2018 us=446126   replay_time = 15
Mon Jun 18 13:54:57 2018 us=446126   packet_id_file = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   use_iv = ENABLED
Mon Jun 18 13:54:57 2018 us=446126   test_crypto = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   tls_server = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   tls_client = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   key_method = 2
Mon Jun 18 13:54:57 2018 us=446126   ca_file = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   ca_path = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   dh_file = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   cert_file = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   extra_certs_file = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   priv_key_file = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   pkcs12_file = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   cryptoapi_cert = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   cipher_list = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   tls_cert_profile = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   tls_verify = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   tls_export_cert = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   verify_x509_type = 0
Mon Jun 18 13:54:57 2018 us=446126   verify_x509_name = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   crl_file = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   ns_cert_type = 0
Mon Jun 18 13:54:57 2018 us=446126   remote_cert_ku[i] = 0
Mon Jun 18 13:54:57 2018 us=446126   remote_cert_ku[i] = 0
Mon Jun 18 13:54:57 2018 us=446126   remote_cert_ku[i] = 0
Mon Jun 18 13:54:57 2018 us=446126   remote_cert_ku[i] = 0
Mon Jun 18 13:54:57 2018 us=446126   remote_cert_ku[i] = 0
Mon Jun 18 13:54:57 2018 us=446126   remote_cert_ku[i] = 0
Mon Jun 18 13:54:57 2018 us=446126   remote_cert_ku[i] = 0
Mon Jun 18 13:54:57 2018 us=446126   remote_cert_ku[i] = 0
Mon Jun 18 13:54:57 2018 us=446126   remote_cert_ku[i] = 0
Mon Jun 18 13:54:57 2018 us=446126   remote_cert_ku[i] = 0
Mon Jun 18 13:54:57 2018 us=446126   remote_cert_ku[i] = 0
Mon Jun 18 13:54:57 2018 us=446126   remote_cert_ku[i] = 0
Mon Jun 18 13:54:57 2018 us=446126   remote_cert_ku[i] = 0
Mon Jun 18 13:54:57 2018 us=446126   remote_cert_ku[i] = 0
Mon Jun 18 13:54:57 2018 us=446126   remote_cert_ku[i] = 0
Mon Jun 18 13:54:57 2018 us=446126   remote_cert_ku[i] = 0
Mon Jun 18 13:54:57 2018 us=446126   remote_cert_eku = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   ssl_flags = 0
Mon Jun 18 13:54:57 2018 us=446126   tls_timeout = 2
Mon Jun 18 13:54:57 2018 us=446126   renegotiate_bytes = -1
Mon Jun 18 13:54:57 2018 us=446126   renegotiate_packets = 0
Mon Jun 18 13:54:57 2018 us=446126   renegotiate_seconds = 3600
Mon Jun 18 13:54:57 2018 us=446126   handshake_window = 60
Mon Jun 18 13:54:57 2018 us=446126   transition_window = 3600
Mon Jun 18 13:54:57 2018 us=446126   single_session = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   push_peer_info = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   tls_exit = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   tls_auth_file = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   tls_crypt_file = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_protected_authentication = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_protected_authentication = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_protected_authentication = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_protected_authentication = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_protected_authentication = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_protected_authentication = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_protected_authentication = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_protected_authentication = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_protected_authentication = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_protected_authentication = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_protected_authentication = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_protected_authentication = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_protected_authentication = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_protected_authentication = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_protected_authentication = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_protected_authentication = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_private_mode = 00000000
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_private_mode = 00000000
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_private_mode = 00000000
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_private_mode = 00000000
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_private_mode = 00000000
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_private_mode = 00000000
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_private_mode = 00000000
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_private_mode = 00000000
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_private_mode = 00000000
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_private_mode = 00000000
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_private_mode = 00000000
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_private_mode = 00000000
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_private_mode = 00000000
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_private_mode = 00000000
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_private_mode = 00000000
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_private_mode = 00000000
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_cert_private = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_cert_private = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_cert_private = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_cert_private = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_cert_private = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_cert_private = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_cert_private = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_cert_private = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_cert_private = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_cert_private = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_cert_private = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_cert_private = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_cert_private = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_cert_private = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_cert_private = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_cert_private = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_pin_cache_period = -1
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_id = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   pkcs11_id_management = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   server_network = 0.0.0.0
Mon Jun 18 13:54:57 2018 us=446126   server_netmask = 0.0.0.0
Mon Jun 18 13:54:57 2018 us=446126   server_network_ipv6 = ::
Mon Jun 18 13:54:57 2018 us=446126   server_netbits_ipv6 = 0
Mon Jun 18 13:54:57 2018 us=446126   server_bridge_ip = 0.0.0.0
Mon Jun 18 13:54:57 2018 us=446126   server_bridge_netmask = 0.0.0.0
Mon Jun 18 13:54:57 2018 us=446126   server_bridge_pool_start = 0.0.0.0
Mon Jun 18 13:54:57 2018 us=446126   server_bridge_pool_end = 0.0.0.0
Mon Jun 18 13:54:57 2018 us=446126   ifconfig_pool_defined = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   ifconfig_pool_start = 0.0.0.0
Mon Jun 18 13:54:57 2018 us=446126   ifconfig_pool_end = 0.0.0.0
Mon Jun 18 13:54:57 2018 us=446126   ifconfig_pool_netmask = 0.0.0.0
Mon Jun 18 13:54:57 2018 us=446126   ifconfig_pool_persist_filename = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   ifconfig_pool_persist_refresh_freq = 600
Mon Jun 18 13:54:57 2018 us=446126   ifconfig_ipv6_pool_defined = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   ifconfig_ipv6_pool_base = ::
Mon Jun 18 13:54:57 2018 us=446126   ifconfig_ipv6_pool_netbits = 0
Mon Jun 18 13:54:57 2018 us=446126   n_bcast_buf = 256
Mon Jun 18 13:54:57 2018 us=446126   tcp_queue_limit = 64
Mon Jun 18 13:54:57 2018 us=446126   real_hash_size = 256
Mon Jun 18 13:54:57 2018 us=446126   virtual_hash_size = 256
Mon Jun 18 13:54:57 2018 us=446126   client_connect_script = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   learn_address_script = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   client_disconnect_script = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   client_config_dir = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   ccd_exclusive = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   tmp_dir = 'C:\Users\Zmaj\AppData\Local\Temp\'
Mon Jun 18 13:54:57 2018 us=446126   push_ifconfig_defined = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   push_ifconfig_local = 0.0.0.0
Mon Jun 18 13:54:57 2018 us=446126   push_ifconfig_remote_netmask = 0.0.0.0
Mon Jun 18 13:54:57 2018 us=446126   push_ifconfig_ipv6_defined = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   push_ifconfig_ipv6_local = ::/0
Mon Jun 18 13:54:57 2018 us=446126   push_ifconfig_ipv6_remote = ::
Mon Jun 18 13:54:57 2018 us=446126   enable_c2c = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   duplicate_cn = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   cf_max = 0
Mon Jun 18 13:54:57 2018 us=446126   cf_per = 0
Mon Jun 18 13:54:57 2018 us=446126   max_clients = 1024
Mon Jun 18 13:54:57 2018 us=446126   max_routes_per_client = 256
Mon Jun 18 13:54:57 2018 us=446126   auth_user_pass_verify_script = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   auth_user_pass_verify_script_via_file = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   auth_token_generate = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   auth_token_lifetime = 0
Mon Jun 18 13:54:57 2018 us=446126   client = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   pull = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   auth_user_pass_file = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   show_net_up = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   route_method = 3
Mon Jun 18 13:54:57 2018 us=446126   block_outside_dns = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   ip_win32_defined = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   ip_win32_type = 3
Mon Jun 18 13:54:57 2018 us=446126   dhcp_masq_offset = 0
Mon Jun 18 13:54:57 2018 us=446126   dhcp_lease_time = 31536000
Mon Jun 18 13:54:57 2018 us=446126   tap_sleep = 0
Mon Jun 18 13:54:57 2018 us=446126   dhcp_options = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   dhcp_renew = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   dhcp_pre_release = DISABLED
Mon Jun 18 13:54:57 2018 us=446126   domain = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   netbios_scope = '[UNDEF]'
Mon Jun 18 13:54:57 2018 us=446126   netbios_node_type = 0
Mon Jun 18 13:54:57 2018 us=446126   disable_nbt = DISABLED
Mon Jun 18 13:54:57 2018 us=446126 OpenVPN 2.4.6 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Apr 26 2018
Mon Jun 18 13:54:57 2018 us=446126 Windows version 6.1 (Windows 7) 64bit
Mon Jun 18 13:54:57 2018 us=446126 library versions: OpenSSL 1.1.0h  27 Mar 2018, LZO 2.10
Enter Management Password:
Mon Jun 18 13:54:57 2018 us=446126 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340
Mon Jun 18 13:54:57 2018 us=446126 Need hold release from management interface, waiting...
Mon Jun 18 13:54:57 2018 us=914127 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340
Mon Jun 18 13:54:58 2018 us=23327 MANAGEMENT: CMD 'state on'
Mon Jun 18 13:54:58 2018 us=23327 MANAGEMENT: CMD 'log all on'
Mon Jun 18 13:54:58 2018 us=163727 MANAGEMENT: CMD 'echo all on'
Mon Jun 18 13:54:58 2018 us=163727 MANAGEMENT: CMD 'bytecount 5'
Mon Jun 18 13:54:58 2018 us=163727 MANAGEMENT: CMD 'hold off'
Mon Jun 18 13:54:58 2018 us=163727 MANAGEMENT: CMD 'hold release'
Mon Jun 18 13:54:58 2018 us=163727 MANAGEMENT: CMD 'proxy SOCKS  x.x.x.x 62000'
Mon Jun 18 13:54:59 2018 us=177729 PID packet_id_init seq_backtrack=64 time_backtrack=15
Mon Jun 18 13:54:59 2018 us=177729 CRYPTO INFO: n_DES_cblocks=0
Mon Jun 18 13:54:59 2018 us=177729 CRYPTO INFO: n_DES_cblocks=0
Mon Jun 18 13:54:59 2018 us=177729 CRYPTO INFO: n_DES_cblocks=0
Mon Jun 18 13:54:59 2018 us=177729 CRYPTO INFO: n_DES_cblocks=0
Mon Jun 18 13:54:59 2018 us=177729 Outgoing Static Key Encryption: Cipher 'AES-256-CBC' initialized with 256 bit key
Mon Jun 18 13:54:59 2018 us=177729 Outgoing Static Key Encryption: CIPHER KEY: 77e736b8 c3635e6a 9e7d6470 e5559b08 6703b191 fef1be33 b9233522 ed00cad7
Mon Jun 18 13:54:59 2018 us=177729 Outgoing Static Key Encryption: CIPHER block_size=16 iv_size=16
Mon Jun 18 13:54:59 2018 us=177729 Outgoing Static Key Encryption: Using 160 bit message hash 'SHA1' for HMAC authentication
Mon Jun 18 13:54:59 2018 us=177729 Outgoing Static Key Encryption: HMAC KEY: da2f3d3f 93b3ee24 15e1ec82 1fd5f7dd ceb30a90
Mon Jun 18 13:54:59 2018 us=177729 Outgoing Static Key Encryption: HMAC size=20 block_size=20
Mon Jun 18 13:54:59 2018 us=177729 Incoming Static Key Encryption: Cipher 'AES-256-CBC' initialized with 256 bit key
Mon Jun 18 13:54:59 2018 us=177729 Incoming Static Key Encryption: CIPHER KEY: 77e736b8 c3635e6a 9e7d6470 e5559b08 6703b191 fef1be33 b9233522 ed00cad7
Mon Jun 18 13:54:59 2018 us=177729 Incoming Static Key Encryption: CIPHER block_size=16 iv_size=16
Mon Jun 18 13:54:59 2018 us=177729 Incoming Static Key Encryption: Using 160 bit message hash 'SHA1' for HMAC authentication
Mon Jun 18 13:54:59 2018 us=177729 Incoming Static Key Encryption: HMAC KEY: da2f3d3f 93b3ee24 15e1ec82 1fd5f7dd ceb30a90
Mon Jun 18 13:54:59 2018 us=177729 Incoming Static Key Encryption: HMAC size=20 block_size=20
Mon Jun 18 13:54:59 2018 us=177729 crypto_adjust_frame_parameters: Adjusting frame parameters for crypto by 60 bytes
Mon Jun 18 13:54:59 2018 us=177729 LZO compression initializing
Mon Jun 18 13:54:59 2018 us=177729 MTU DYNAMIC mtu=1450, flags=2, 1561 -> 1450
Mon Jun 18 13:54:59 2018 us=177729 MANAGEMENT: >STATE:1529322899,RESOLVE,,,,,,
Mon Jun 18 13:54:59 2018 us=177729 GETADDRINFO flags=0x0901 ai_family=0 ai_socktype=2
Mon Jun 18 13:54:59 2018 us=333729 RESOLVE_REMOTE flags=0x0901 phase=1 rrs=0 sig=-1 status=0
Mon Jun 18 13:54:59 2018 us=333729 interactive service msg_channel=412
Mon Jun 18 13:54:59 2018 us=333729 open_tun
Mon Jun 18 13:54:59 2018 us=333729 TAP-WIN32 device [LAN-Verbindung 5] opened: \\.\Global\{95709076-66F4-442F-8286-36DAF4C69755}.tap
Mon Jun 18 13:54:59 2018 us=333729 TAP-Windows Driver Version 9.21 
Mon Jun 18 13:54:59 2018 us=333729 TAP-Windows MTU=1500
Mon Jun 18 13:54:59 2018 us=349329 Notified TAP-Windows driver to set a DHCP IP/netmask of 172.16.0.1/255.255.255.252 on interface {95709076-66F4-442F-8286-36DAF4C69755} [DHCP-serv: 172.16.0.2, lease-time: 31536000]
Mon Jun 18 13:54:59 2018 us=349329 Successful ARP Flush on interface [22] {95709076-66F4-442F-8286-36DAF4C69755}
Mon Jun 18 13:54:59 2018 us=364929 do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Mon Jun 18 13:54:59 2018 us=364929 MANAGEMENT: >STATE:1529322899,ASSIGN_IP,,172.16.0.1,,,,
Mon Jun 18 13:54:59 2018 us=364929 MTU DYNAMIC mtu=1500, flags=3, 1450 -> 1450
Mon Jun 18 13:54:59 2018 us=364929 Data Channel MTU parms [ L:1561 D:1450 EF:61 EB:396 ET:0 EL:13 ]
Mon Jun 18 13:54:59 2018 us=364929 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1561,tun-mtu 1500,proto UDPv4,ifconfig 172.16.0.2 172.16.0.1,comp-lzo,cipher AES-256-CBC,auth SHA1,keysize 256,secret'
Mon Jun 18 13:54:59 2018 us=364929 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1561,tun-mtu 1500,proto UDPv4,ifconfig 172.16.0.1 172.16.0.2,comp-lzo,cipher AES-256-CBC,auth SHA1,keysize 256,secret'
Mon Jun 18 13:54:59 2018 us=364929 TCP/UDP: Preserving recently used remote address: [AF_INET]x.x.x.x:62000
Mon Jun 18 13:54:59 2018 us=364929 Socket Buffers: R=[8192->8192] S=[8192->8192]
Mon Jun 18 13:54:59 2018 us=380529 Attempting to establish TCP connection with [AF_INET]x.x.x.x:62000 [nonblock]
Mon Jun 18 13:54:59 2018 us=380529 MANAGEMENT: >STATE:1529322899,TCP_CONNECT,,,,,,
Mon Jun 18 13:55:01 2018 us=382333 TCP connection established with [AF_INET]x.x.x.x:62000
Mon Jun 18 13:55:06 2018 us=394942 socks_handshake: TCP port read timeout expired
Mon Jun 18 13:55:06 2018 us=394942 TCP/UDP: Closing socket
Mon Jun 18 13:55:06 2018 us=394942 Closing TUN/TAP interface
Mon Jun 18 13:55:06 2018 us=441742 TAP: DHCP address released
Mon Jun 18 13:55:06 2018 us=441742 Attempting CancelIO on TAP-Windows adapter
Mon Jun 18 13:55:06 2018 us=441742 Attempting close of overlapped read event on TAP-Windows adapter
Mon Jun 18 13:55:06 2018 us=441742 Attempting close of overlapped write event on TAP-Windows adapter
Mon Jun 18 13:55:06 2018 us=441742 Attempting CloseHandle on TAP-Windows adapter
Mon Jun 18 13:55:06 2018 us=441742 PID packet_id_free
Mon Jun 18 13:55:06 2018 us=441742 SIGUSR1[soft,init_instance] received, process restarting
Mon Jun 18 13:55:06 2018 us=441742 MANAGEMENT: >STATE:1529322906,RECONNECTING,init_instance,,,,,
Mon Jun 18 13:55:06 2018 us=441742 Restart pause, 5 second(s)
Mon Jun 18 13:55:11 2018 us=476352 MANAGEMENT: CMD 'proxy SOCKS  hola.de 62000'
Mon Jun 18 13:55:12 2018 us=491354 PID packet_id_init seq_backtrack=64 time_backtrack=15
Mon Jun 18 13:55:12 2018 us=491354 CRYPTO INFO: n_DES_cblocks=0
Mon Jun 18 13:55:12 2018 us=491354 CRYPTO INFO: n_DES_cblocks=0
Mon Jun 18 13:55:12 2018 us=491354 CRYPTO INFO: n_DES_cblocks=0
Mon Jun 18 13:55:12 2018 us=491354 CRYPTO INFO: n_DES_cblocks=0
Mon Jun 18 13:55:12 2018 us=491354 Outgoing Static Key Encryption: Cipher 'AES-256-CBC' initialized with 256 bit key
Mon Jun 18 13:55:12 2018 us=491354 Outgoing Static Key Encryption: CIPHER KEY: 77e736b8 c3635e6a 9e7d6470 e5559b08 6703b191 fef1be33 b9233522 ed00cad7
Mon Jun 18 13:55:12 2018 us=491354 Outgoing Static Key Encryption: CIPHER block_size=16 iv_size=16
Mon Jun 18 13:55:12 2018 us=491354 Outgoing Static Key Encryption: Using 160 bit message hash 'SHA1' for HMAC authentication
Mon Jun 18 13:55:12 2018 us=491354 Outgoing Static Key Encryption: HMAC KEY: da2f3d3f 93b3ee24 15e1ec82 1fd5f7dd ceb30a90
Mon Jun 18 13:55:12 2018 us=491354 Outgoing Static Key Encryption: HMAC size=20 block_size=20
Mon Jun 18 13:55:12 2018 us=491354 Incoming Static Key Encryption: Cipher 'AES-256-CBC' initialized with 256 bit key
Mon Jun 18 13:55:12 2018 us=491354 Incoming Static Key Encryption: CIPHER KEY: 77e736b8 c3635e6a 9e7d6470 e5559b08 6703b191 fef1be33 b9233522 ed00cad7
Mon Jun 18 13:55:12 2018 us=491354 Incoming Static Key Encryption: CIPHER block_size=16 iv_size=16
Mon Jun 18 13:55:12 2018 us=491354 Incoming Static Key Encryption: Using 160 bit message hash 'SHA1' for HMAC authentication
Mon Jun 18 13:55:12 2018 us=491354 Incoming Static Key Encryption: HMAC KEY: da2f3d3f 93b3ee24 15e1ec82 1fd5f7dd ceb30a90
Mon Jun 18 13:55:12 2018 us=491354 Incoming Static Key Encryption: HMAC size=20 block_size=20
Mon Jun 18 13:55:12 2018 us=491354 crypto_adjust_frame_parameters: Adjusting frame parameters for crypto by 60 bytes
Mon Jun 18 13:55:12 2018 us=491354 LZO compression initializing
Mon Jun 18 13:55:12 2018 us=491354 MTU DYNAMIC mtu=1450, flags=2, 1561 -> 1450
Mon Jun 18 13:55:12 2018 us=491354 MANAGEMENT: >STATE:1544322342,RESOLVE,,,,,,
Mon Jun 18 13:55:12 2018 us=491354 GETADDRINFO flags=0x0901 ai_family=0 ai_socktype=2
Mon Jun 18 13:55:12 2018 us=569354 RESOLVE_REMOTE flags=0x0901 phase=1 rrs=0 sig=-1 status=0
Mon Jun 18 13:55:12 2018 us=569354 interactive service msg_channel=412
Mon Jun 18 13:55:12 2018 us=569354 open_tun
Mon Jun 18 13:55:12 2018 us=569354 TAP-WIN32 device [LAN-Verbindung 5] opened: \\.\Global\{95709076-66F4-442F-8286-36DAF4C69755}.tap
Mon Jun 18 13:55:12 2018 us=584954 TAP-Windows Driver Version 9.21 
Mon Jun 18 13:55:12 2018 us=584954 TAP-Windows MTU=1500
Mon Jun 18 13:55:12 2018 us=584954 Notified TAP-Windows driver to set a DHCP IP/netmask of 172.16.0.1/255.255.255.252 on interface {95709076-66F4-442F-8286-36DAF4C69755} [DHCP-serv: 172.16.0.2, lease-time: 31536000]
Mon Jun 18 13:55:12 2018 us=584954 Successful ARP Flush on interface [22] {95709076-66F4-442F-8286-36DAF4C69755}
Mon Jun 18 13:55:12 2018 us=600554 do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Mon Jun 18 13:55:12 2018 us=600554 MANAGEMENT: >STATE:1544322342,ASSIGN_IP,,172.16.0.1,,,,
Mon Jun 18 13:55:12 2018 us=600554 MTU DYNAMIC mtu=1500, flags=3, 1450 -> 1450
Mon Jun 18 13:55:12 2018 us=600554 Data Channel MTU parms [ L:1561 D:1450 EF:61 EB:396 ET:0 EL:13 ]
Mon Jun 18 13:55:12 2018 us=600554 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1561,tun-mtu 1500,proto UDPv4,ifconfig 172.16.0.2 172.16.0.1,comp-lzo,cipher AES-256-CBC,auth SHA1,keysize 256,secret'
Mon Jun 18 13:55:12 2018 us=600554 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1561,tun-mtu 1500,proto UDPv4,ifconfig 172.16.0.1 172.16.0.2,comp-lzo,cipher AES-256-CBC,auth SHA1,keysize 256,secret'
Mon Jun 18 13:55:12 2018 us=600554 TCP/UDP: Preserving recently used remote address: [AF_INET]x.x.x.x:62000
Mon Jun 18 13:55:12 2018 us=600554 Socket Buffers: R=[8192->8192] S=[8192->8192]
Mon Jun 18 13:55:12 2018 us=616154 Attempting to establish TCP connection with [AF_INET]x.x.x.x:62000 [nonblock]
Mon Jun 18 13:55:12 2018 us=616154 MANAGEMENT: >STATE:1544322342,TCP_CONNECT,,,,,,
Mon Jun 18 13:55:42 2018 us=876410 TCP/UDP: Closing socket
Mon Jun 18 13:55:42 2018 us=876410 Closing TUN/TAP interface
Mon Jun 18 13:55:42 2018 us=923210 TAP: DHCP address released
Mon Jun 18 13:55:42 2018 us=938810 Attempting CancelIO on TAP-Windows adapter
Mon Jun 18 13:55:42 2018 us=938810 Attempting close of overlapped read event on TAP-Windows adapter
Mon Jun 18 13:55:42 2018 us=938810 Attempting close of overlapped write event on TAP-Windows adapter
Mon Jun 18 13:55:42 2018 us=938810 Attempting CloseHandle on TAP-Windows adapter
Mon Jun 18 13:55:42 2018 us=938810 PID packet_id_free
Mon Jun 18 13:55:42 2018 us=938810 SIGTERM[hard,init_instance] received, process exiting
Mon Jun 18 13:55:42 2018 us=938810 MANAGEMENT: >STATE:1529322942,EXITING,init_instance,,,,,
Mon Jun 18 13:55:42 2018 us=938810 PKCS#11: Terminating openssl
Mon Jun 18 13:55:42 2018 us=938810 PKCS#11: Removing providers
Mon Jun 18 13:55:42 2018 us=938810 PKCS#11: Releasing sessions
Mon Jun 18 13:55:42 2018 us=938810 PKCS#11: Terminating slotevent
Mon Jun 18 13:55:42 2018 us=938810 PKCS#11: Marking as uninitialized

Server on Teltonika RUT240

server
config openvpn 'XXXXXXXXXX'

option dev 'tun_s_Server'

option proto 'udp'

option persist_key '1'

option persist_tun '1'

option name_is_hexed '1'

option verb '5'

option keepalive '10 120'

option status '/tmp/openvpn-status_XXXXXXXXXX.log'

option port '62000'

option comp_lzo 'yes'

option cipher 'BF-CBC'

option _auth 'skey'

option ifconfig '172.16.0.1 172.16.0.2'

option secret '/lib/uci/upload/cbid.openvpn.XXXXXXXXXX.secret'

option enable '1'


Windows Client

client
cipher AES-256-CBC
dev tun
proto udp
verb 7
port 62000
remote x.x.x.x
comp-lzo
ifconfig 172.16.0.1 172.16.0.2
secret static.key

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

Re: OpenVPN on Teltonika RUT240 Probs

Post by TinCanTech » Mon Jun 18, 2018 1:17 pm

AcidSubway wrote:
Mon Jun 18, 2018 12:25 pm
Windows Client
<snip>
ifconfig 172.16.0.1 172.16.0.2
You have to reverse these parameters on the client.

See:
https://openvpn.net/index.php/open-sour ... howto.html

AcidSubway
OpenVpn Newbie
Posts: 6
Joined: Mon Jun 18, 2018 12:05 pm

Re: OpenVPN on Teltonika RUT240 Probs

Post by AcidSubway » Mon Jun 18, 2018 1:29 pm

i chang
the client
ifconfig 10.8.0.2 10.8.0.1

server

ifconfig 10.8.0.1 10.8.0.2

but the same Prob

Code: Select all

Mon Jun 18 15:24:31 2018 us=894020 socks_handshake: TCP port read timeout expired
Mon Jun 18 15:24:31 2018 us=894020 TCP/UDP: Closing socket
Mon Jun 18 15:24:31 2018 us=894020 Closing TUN/TAP interface
Mon Jun 18 15:24:31 2018 us=925220 TAP: DHCP address released
Mon Jun 18 15:24:31 2018 us=925220 Attempting CancelIO on TAP-Windows adapter
Mon Jun 18 15:24:31 2018 us=925220 Attempting close of overlapped read event on TAP-Windows adapter
Mon Jun 18 15:24:31 2018 us=925220 Attempting close of overlapped write event on TAP-Windows adapter
Mon Jun 18 15:24:31 2018 us=925220 Attempting CloseHandle on TAP-Windows adapter
Mon Jun 18 15:24:31 2018 us=925220 PID packet_id_free
Mon Jun 18 15:24:31 2018 us=925220 SIGUSR1[soft,init_instance] received, process restarting
socks_handshake: TCP port read timeout expired

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

Re: OpenVPN on Teltonika RUT240 Probs

Post by TinCanTech » Mon Jun 18, 2018 1:43 pm

AcidSubway wrote:
Mon Jun 18, 2018 1:29 pm

Code: Select all

Mon Jun 18 13:54:58 2018 us=163727 MANAGEMENT: CMD 'proxy SOCKS  x.x.x.x 62000'
socks_handshake: TCP port read timeout expired
Maybe you configured a Proxy in the GUI ?

AcidSubway
OpenVpn Newbie
Posts: 6
Joined: Mon Jun 18, 2018 12:05 pm

Re: OpenVPN on Teltonika RUT240 Probs

Post by AcidSubway » Mon Jun 18, 2018 2:20 pm

yes, THX for HELP. now works :> :D

AcidSubway
OpenVpn Newbie
Posts: 6
Joined: Mon Jun 18, 2018 12:05 pm

Re: OpenVPN on Teltonika RUT240 Probs

Post by AcidSubway » Wed Jun 20, 2018 10:05 am

Moved to right section

Locked