Page 1 of 1
Client error
Posted: Tue Oct 12, 2010 6:27 am
by planethax
Options error: Unrecognized option or missing parameter(s) in client.ovpn:42:
http://205.237.111.105 (2.0.9)
I believe it is this section
# The hostname/IP and port of the server.
# You can have multiple remote entries
# to load balance between the servers.
205.237.111.105 1194
;205.237.111.105 1194
I have tried with http:// before the ip and uncommented the second line as well.
What am I doing wrong here?
thank you
Re: Client error
Posted: Tue Oct 12, 2010 6:43 am
by planethax
OK, on line 42 I put in remote.
But now I get
read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Re: Client error
Posted: Tue Oct 12, 2010 6:48 am
by planethax
Sorry, to ad; I have no firewall running at this time
Re: Client error
Posted: Tue Oct 12, 2010 7:03 am
by krzee
none of that really means anything...
post both the server/client configs, with no comments
Re: Client error
Posted: Tue Oct 12, 2010 7:24 am
by planethax
Code: Select all
Tue Oct 12 13:22:06 2010 OpenVPN 2.0.9 Win32-MinGW [SSL] [LZO] built on Oct 1 2006
Tue Oct 12 13:22:06 2010 IMPORTANT: OpenVPN's default port number is now 1194, based on an official port number assignment by IANA. OpenVPN 2.0-beta16 and earlier used 5000 as the default port.
Tue Oct 12 13:22:06 2010 LZO compression initialized
Tue Oct 12 13:22:06 2010 Control Channel MTU parms [ L:1542 D:138 EF:38 EB:0 ET:0 EL:0 ]
Tue Oct 12 13:22:06 2010 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Tue Oct 12 13:22:06 2010 Local Options hash (VER=V4): '41690919'
Tue Oct 12 13:22:06 2010 Expected Remote Options hash (VER=V4): '530fdded'
Tue Oct 12 13:22:06 2010 UDPv4 link local: [undef]
Tue Oct 12 13:22:06 2010 UDPv4 link remote: 205.237.111.105:1194
Tue Oct 12 13:22:06 2010 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Tue Oct 12 13:22:08 2010 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Tue Oct 12 13:22:10 2010 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Tue Oct 12 13:22:10 2010 TCP/UDP: Closing socket
Tue Oct 12 13:22:10 2010 SIGTERM[hard,] received, process exiting
server
Code: Select all
Tue Oct 12 13:06:33 2010 OpenVPN 2.0.9 Win32-MinGW [SSL] [LZO] built on Oct 1 2006
Tue Oct 12 13:06:33 2010 Diffie-Hellman initialized with 1024 bit key
Tue Oct 12 13:06:33 2010 TLS-Auth MTU parms [ L:1542 D:138 EF:38 EB:0 ET:0 EL:0 ]
Tue Oct 12 13:06:33 2010 TAP-WIN32 device [Local Area Connection 4] opened: \\.\Global\{1C347EB4-C8B3-41D8-8AF5-58E6CCFC6845}.tap
Tue Oct 12 13:06:33 2010 TAP-Win32 Driver Version 8.4
Tue Oct 12 13:06:33 2010 TAP-Win32 MTU=1500
Tue Oct 12 13:06:33 2010 Notified TAP-Win32 driver to set a DHCP IP/netmask of 10.8.0.1/255.255.255.252 on interface {1C347EB4-C8B3-41D8-8AF5-58E6CCFC6845} [DHCP-serv: 10.8.0.2, lease-time: 31536000]
Tue Oct 12 13:06:33 2010 Sleeping for 10 seconds...
Tue Oct 12 13:06:43 2010 Successful ARP Flush on interface [3] {1C347EB4-C8B3-41D8-8AF5-58E6CCFC6845}
Tue Oct 12 13:06:43 2010 route ADD 10.8.0.0 MASK 255.255.255.0 10.8.0.2
Tue Oct 12 13:06:43 2010 Route addition via IPAPI succeeded
Tue Oct 12 13:06:43 2010 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Tue Oct 12 13:06:43 2010 UDPv4 link local (bound): [undef]:1194
Tue Oct 12 13:06:43 2010 UDPv4 link remote: [undef]
Tue Oct 12 13:06:43 2010 MULTI: multi_init called, r=256 v=256
Tue Oct 12 13:06:43 2010 IFCONFIG POOL: base=10.8.0.4 size=62
Tue Oct 12 13:06:43 2010 IFCONFIG POOL LIST
Tue Oct 12 13:06:43 2010 Initialization Sequence Completed
Re: Client error
Posted: Tue Oct 12, 2010 7:26 am
by planethax
sorry that was logs, will get configs now
Code: Select all
port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key # This file should be kept secret
dh dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
client
Code: Select all
client
dev tun
proto udp
remote 205.237.111.105 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client.crt
key client.key
ns-cert-type server
comp-lzo
verb 3
float
Re: Client error
Posted: Tue Oct 12, 2010 7:29 am
by krzee
i wont be reading those configs with all the comments
edit your post and remove the comments if you want me to look at it
Re: Client error
Posted: Tue Oct 12, 2010 7:34 am
by planethax
krzee wrote:i wont be reading those configs with all the comments
edit your post and remove the comments if you want me to look at it
Done, sorry I didnt realize wshat you meant at first about comments until I clicked submit
Re: Client error
Posted: Tue Oct 12, 2010 10:12 am
by planethax
log with verb6
client
Code: Select all
Tue Oct 12 16:05:20 2010 us=155874 Current Parameter Settings:
Tue Oct 12 16:05:20 2010 us=155926 config = 'client.ovpn'
Tue Oct 12 16:05:20 2010 us=155940 mode = 0
Tue Oct 12 16:05:20 2010 us=155953 show_ciphers = DISABLED
Tue Oct 12 16:05:20 2010 us=155966 show_digests = DISABLED
Tue Oct 12 16:05:20 2010 us=155979 show_engines = DISABLED
Tue Oct 12 16:05:20 2010 us=155992 genkey = DISABLED
Tue Oct 12 16:05:20 2010 us=156004 key_pass_file = '[UNDEF]'
Tue Oct 12 16:05:20 2010 us=156016 show_tls_ciphers = DISABLED
Tue Oct 12 16:05:20 2010 us=156028 proto = 0
Tue Oct 12 16:05:20 2010 us=156039 local = '[UNDEF]'
Tue Oct 12 16:05:20 2010 us=156052 remote_list[0] = {'205.237.111.105', 1194}
Tue Oct 12 16:05:20 2010 us=156064 remote_random = DISABLED
Tue Oct 12 16:05:20 2010 us=156077 local_port = 1194
Tue Oct 12 16:05:20 2010 us=156089 remote_port = 1194
Tue Oct 12 16:05:20 2010 us=156101 remote_float = ENABLED
Tue Oct 12 16:05:20 2010 us=156112 ipchange = '[UNDEF]'
Tue Oct 12 16:05:20 2010 us=156124 bind_local = DISABLED
Tue Oct 12 16:05:20 2010 us=156135 dev = 'tun'
Tue Oct 12 16:05:20 2010 us=156147 dev_type = '[UNDEF]'
Tue Oct 12 16:05:20 2010 us=156158 dev_node = '[UNDEF]'
Tue Oct 12 16:05:20 2010 us=156169 tun_ipv6 = DISABLED
Tue Oct 12 16:05:20 2010 us=156181 ifconfig_local = '[UNDEF]'
Tue Oct 12 16:05:20 2010 us=156193 ifconfig_remote_netmask = '[UNDEF]'
Tue Oct 12 16:05:20 2010 us=156204 ifconfig_noexec = DISABLED
Tue Oct 12 16:05:20 2010 us=156216 ifconfig_nowarn = DISABLED
Tue Oct 12 16:05:20 2010 us=156228 shaper = 0
Tue Oct 12 16:05:20 2010 us=156239 tun_mtu = 1500
Tue Oct 12 16:05:20 2010 us=156251 tun_mtu_defined = ENABLED
Tue Oct 12 16:05:20 2010 us=156262 link_mtu = 1500
Tue Oct 12 16:05:20 2010 us=156275 link_mtu_defined = DISABLED
Tue Oct 12 16:05:20 2010 us=156286 tun_mtu_extra = 0
Tue Oct 12 16:05:20 2010 us=156299 tun_mtu_extra_defined = DISABLED
Tue Oct 12 16:05:20 2010 us=156310 fragment = 0
Tue Oct 12 16:05:20 2010 us=156322 mtu_discover_type = -1
Tue Oct 12 16:05:20 2010 us=156334 mtu_test = 0
Tue Oct 12 16:05:20 2010 us=156344 mlock = DISABLED
Tue Oct 12 16:05:20 2010 us=156356 keepalive_ping = 0
Tue Oct 12 16:05:20 2010 us=156368 keepalive_timeout = 0
Tue Oct 12 16:05:20 2010 us=156380 inactivity_timeout = 0
Tue Oct 12 16:05:20 2010 us=156392 ping_send_timeout = 0
Tue Oct 12 16:05:20 2010 us=156405 ping_rec_timeout = 120
Tue Oct 12 16:05:20 2010 us=156417 ping_rec_timeout_action = 2
Tue Oct 12 16:05:20 2010 us=156428 ping_timer_remote = DISABLED
Tue Oct 12 16:05:20 2010 us=156440 remap_sigusr1 = 0
Tue Oct 12 16:05:20 2010 us=156452 explicit_exit_notification = 0
Tue Oct 12 16:05:20 2010 us=156465 persist_tun = ENABLED
Tue Oct 12 16:05:20 2010 us=156478 persist_local_ip = DISABLED
Tue Oct 12 16:05:20 2010 us=156490 persist_remote_ip = DISABLED
Tue Oct 12 16:05:20 2010 us=156501 persist_key = ENABLED
Tue Oct 12 16:05:20 2010 us=156514 mssfix = 1450
Tue Oct 12 16:05:20 2010 us=156527 resolve_retry_seconds = 1000000000
Tue Oct 12 16:05:20 2010 us=156539 connect_retry_seconds = 5
Tue Oct 12 16:05:20 2010 us=156551 username = '[UNDEF]'
Tue Oct 12 16:05:20 2010 us=156563 groupname = '[UNDEF]'
Tue Oct 12 16:05:20 2010 us=156575 chroot_dir = '[UNDEF]'
Tue Oct 12 16:05:20 2010 us=156586 cd_dir = '[UNDEF]'
Tue Oct 12 16:05:20 2010 us=156598 writepid = '[UNDEF]'
Tue Oct 12 16:05:20 2010 us=156610 up_script = '[UNDEF]'
Tue Oct 12 16:05:20 2010 us=156622 down_script = '[UNDEF]'
Tue Oct 12 16:05:20 2010 us=156634 down_pre = DISABLED
Tue Oct 12 16:05:20 2010 us=156651 up_restart = DISABLED
Tue Oct 12 16:05:20 2010 us=156665 up_delay = DISABLED
Tue Oct 12 16:05:20 2010 us=156677 daemon = DISABLED
Tue Oct 12 16:05:20 2010 us=156689 inetd = 0
Tue Oct 12 16:05:20 2010 us=156700 log = DISABLED
Tue Oct 12 16:05:20 2010 us=156712 suppress_timestamps = DISABLED
Tue Oct 12 16:05:20 2010 us=156724 nice = 0
Tue Oct 12 16:05:20 2010 us=156735 verbosity = 6
Tue Oct 12 16:05:20 2010 us=253274 mute = 0
Tue Oct 12 16:05:20 2010 us=253303 gremlin = 0
Tue Oct 12 16:05:20 2010 us=253323 status_file = '[UNDEF]'
Tue Oct 12 16:05:20 2010 us=253343 status_file_version = 1
Tue Oct 12 16:05:20 2010 us=253363 status_file_update_freq = 60
Tue Oct 12 16:05:20 2010 us=253383 occ = ENABLED
Tue Oct 12 16:05:20 2010 us=253402 rcvbuf = 0
Tue Oct 12 16:05:20 2010 us=253419 sndbuf = 0
Tue Oct 12 16:05:20 2010 us=253439 socks_proxy_server = '[UNDEF]'
Tue Oct 12 16:05:20 2010 us=253476 socks_proxy_port = 0
Tue Oct 12 16:05:20 2010 us=253495 socks_proxy_retry = DISABLED
Tue Oct 12 16:05:20 2010 us=253517 fast_io = DISABLED
Tue Oct 12 16:05:20 2010 us=253536 comp_lzo = ENABLED
Tue Oct 12 16:05:20 2010 us=253555 comp_lzo_adaptive = ENABLED
Tue Oct 12 16:05:20 2010 us=253577 route_script = '[UNDEF]'
Tue Oct 12 16:05:20 2010 us=253597 route_default_gateway = '[UNDEF]'
Tue Oct 12 16:05:20 2010 us=253616 route_noexec = DISABLED
Tue Oct 12 16:05:20 2010 us=290863 route_delay = 0
Tue Oct 12 16:05:20 2010 us=290905 route_delay_window = 30
Tue Oct 12 16:05:20 2010 us=290928 route_delay_defined = ENABLED
Tue Oct 12 16:05:20 2010 us=290949 management_addr = '[UNDEF]'
Tue Oct 12 16:05:20 2010 us=290969 management_port = 0
Tue Oct 12 16:05:20 2010 us=290989 management_user_pass = '[UNDEF]'
Tue Oct 12 16:05:20 2010 us=291010 management_log_history_cache = 250
Tue Oct 12 16:05:20 2010 us=291029 management_echo_buffer_size = 100
Tue Oct 12 16:05:20 2010 us=291049 management_query_passwords = DISABLED
Tue Oct 12 16:05:20 2010 us=291072 management_hold = DISABLED
Tue Oct 12 16:05:20 2010 us=291092 shared_secret_file = '[UNDEF]'
Tue Oct 12 16:05:20 2010 us=291115 key_direction = 0
Tue Oct 12 16:05:20 2010 us=291134 ciphername_defined = ENABLED
Tue Oct 12 16:05:20 2010 us=291154 ciphername = 'BF-CBC'
Tue Oct 12 16:05:20 2010 us=291174 authname_defined = ENABLED
Tue Oct 12 16:05:20 2010 us=308584 authname = 'SHA1'
Tue Oct 12 16:05:20 2010 us=308619 keysize = 0
Tue Oct 12 16:05:20 2010 us=308642 engine = DISABLED
Tue Oct 12 16:05:20 2010 us=308663 replay = ENABLED
Tue Oct 12 16:05:20 2010 us=308684 mute_replay_warnings = DISABLED
Tue Oct 12 16:05:20 2010 us=308727 replay_window = 64
Tue Oct 12 16:05:20 2010 us=308749 replay_time = 15
Tue Oct 12 16:05:20 2010 us=308770 packet_id_file = '[UNDEF]'
Tue Oct 12 16:05:20 2010 us=308790 use_iv = ENABLED
Tue Oct 12 16:05:20 2010 us=308810 test_crypto = DISABLED
Tue Oct 12 16:05:20 2010 us=308829 tls_server = DISABLED
Tue Oct 12 16:05:20 2010 us=308849 tls_client = ENABLED
Tue Oct 12 16:05:20 2010 us=308868 key_method = 2
Tue Oct 12 16:05:20 2010 us=308887 ca_file = 'ca.crt'
Tue Oct 12 16:05:20 2010 us=308906 dh_file = '[UNDEF]'
Tue Oct 12 16:05:20 2010 us=308925 cert_file = 'client.crt'
Tue Oct 12 16:05:20 2010 us=324625 priv_key_file = 'client.key'
Tue Oct 12 16:05:20 2010 us=324660 pkcs12_file = '[UNDEF]'
Tue Oct 12 16:05:20 2010 us=324684 cryptoapi_cert = '[UNDEF]'
Tue Oct 12 16:05:20 2010 us=324705 cipher_list = '[UNDEF]'
Tue Oct 12 16:05:20 2010 us=324726 tls_verify = '[UNDEF]'
Tue Oct 12 16:05:20 2010 us=324772 tls_remote = '[UNDEF]'
Tue Oct 12 16:05:20 2010 us=324792 crl_file = '[UNDEF]'
Tue Oct 12 16:05:20 2010 us=324813 ns_cert_type = 64
Tue Oct 12 16:05:20 2010 us=324833 tls_timeout = 2
Tue Oct 12 16:05:20 2010 us=324852 renegotiate_bytes = 0
Tue Oct 12 16:05:20 2010 us=324872 renegotiate_packets = 0
Tue Oct 12 16:05:20 2010 us=324892 renegotiate_seconds = 3600
Tue Oct 12 16:05:20 2010 us=324912 handshake_window = 60
Tue Oct 12 16:05:20 2010 us=324931 transition_window = 3600
Tue Oct 12 16:05:20 2010 us=324951 single_session = DISABLED
Tue Oct 12 16:05:20 2010 us=324970 tls_exit = DISABLED
Tue Oct 12 16:05:20 2010 us=341679 tls_auth_file = '[UNDEF]'
Tue Oct 12 16:05:20 2010 us=341735 server_network = 0.0.0.0
Tue Oct 12 16:05:20 2010 us=341760 server_netmask = 0.0.0.0
Tue Oct 12 16:05:20 2010 us=341784 server_bridge_ip = 0.0.0.0
Tue Oct 12 16:05:20 2010 us=341830 server_bridge_netmask = 0.0.0.0
Tue Oct 12 16:05:20 2010 us=341855 server_bridge_pool_start = 0.0.0.0
Tue Oct 12 16:05:20 2010 us=341879 server_bridge_pool_end = 0.0.0.0
Tue Oct 12 16:05:20 2010 us=341901 ifconfig_pool_defined = DISABLED
Tue Oct 12 16:05:20 2010 us=341924 ifconfig_pool_start = 0.0.0.0
Tue Oct 12 16:05:20 2010 us=341947 ifconfig_pool_end = 0.0.0.0
Tue Oct 12 16:05:20 2010 us=341971 ifconfig_pool_netmask = 0.0.0.0
Tue Oct 12 16:05:20 2010 us=341992 ifconfig_pool_persist_filename = '[UNDEF]'
Tue Oct 12 16:05:20 2010 us=342015 ifconfig_pool_persist_refresh_freq = 600
Tue Oct 12 16:05:20 2010 us=342035 ifconfig_pool_linear = DISABLED
Tue Oct 12 16:05:20 2010 us=342056 n_bcast_buf = 256
Tue Oct 12 16:05:20 2010 us=360775 tcp_queue_limit = 64
Tue Oct 12 16:05:20 2010 us=360808 real_hash_size = 256
Tue Oct 12 16:05:20 2010 us=360829 virtual_hash_size = 256
Tue Oct 12 16:05:20 2010 us=360850 client_connect_script = '[UNDEF]'
Tue Oct 12 16:05:20 2010 us=360871 learn_address_script = '[UNDEF]'
Tue Oct 12 16:05:20 2010 us=360891 client_disconnect_script = '[UNDEF]'
Tue Oct 12 16:05:20 2010 us=360933 client_config_dir = '[UNDEF]'
Tue Oct 12 16:05:20 2010 us=360954 ccd_exclusive = DISABLED
Tue Oct 12 16:05:20 2010 us=360974 tmp_dir = '[UNDEF]'
Tue Oct 12 16:05:20 2010 us=360995 push_ifconfig_defined = DISABLED
Tue Oct 12 16:05:20 2010 us=361020 push_ifconfig_local = 0.0.0.0
Tue Oct 12 16:05:20 2010 us=361043 push_ifconfig_remote_netmask = 0.0.0.0
Tue Oct 12 16:05:20 2010 us=361065 enable_c2c = DISABLED
Tue Oct 12 16:05:20 2010 us=361084 duplicate_cn = DISABLED
Tue Oct 12 16:05:20 2010 us=361104 cf_max = 0
Tue Oct 12 16:05:20 2010 us=378241 cf_per = 0
Tue Oct 12 16:05:20 2010 us=378278 max_clients = 1024
Tue Oct 12 16:05:20 2010 us=378301 max_routes_per_client = 256
Tue Oct 12 16:05:20 2010 us=378321 client_cert_not_required = DISABLED
Tue Oct 12 16:05:20 2010 us=378343 username_as_common_name = DISABLED
Tue Oct 12 16:05:20 2010 us=378388 auth_user_pass_verify_script = '[UNDEF]'
Tue Oct 12 16:05:20 2010 us=378413 auth_user_pass_verify_script_via_file = DISABLED
Tue Oct 12 16:05:20 2010 us=378435 client = ENABLED
Tue Oct 12 16:05:20 2010 us=378454 pull = ENABLED
Tue Oct 12 16:05:20 2010 us=378475 auth_user_pass_file = '[UNDEF]'
Tue Oct 12 16:05:20 2010 us=378501 show_net_up = DISABLED
Tue Oct 12 16:05:20 2010 us=378521 route_method = 0
Tue Oct 12 16:05:20 2010 us=378541 ip_win32_defined = DISABLED
Tue Oct 12 16:05:20 2010 us=378561 ip_win32_type = 3
Tue Oct 12 16:05:20 2010 us=378581 dhcp_masq_offset = 0
Tue Oct 12 16:05:20 2010 us=409842 dhcp_lease_time = 31536000
Tue Oct 12 16:05:20 2010 us=409872 tap_sleep = 0
Tue Oct 12 16:05:20 2010 us=409892 dhcp_options = DISABLED
Tue Oct 12 16:05:20 2010 us=409912 dhcp_renew = DISABLED
Tue Oct 12 16:05:20 2010 us=409932 dhcp_pre_release = DISABLED
Tue Oct 12 16:05:20 2010 us=409952 dhcp_release = DISABLED
Tue Oct 12 16:05:20 2010 us=409972 domain = '[UNDEF]'
Tue Oct 12 16:05:20 2010 us=410003 netbios_scope = '[UNDEF]'
Tue Oct 12 16:05:20 2010 us=410024 netbios_node_type = 0
Tue Oct 12 16:05:20 2010 us=410044 disable_nbt = DISABLED
Tue Oct 12 16:05:20 2010 us=410076 OpenVPN 2.0.9 Win32-MinGW [SSL] [LZO] built on Oct 1 2006
Tue Oct 12 16:05:20 2010 us=410270 IMPORTANT: OpenVPN's default port number is now 1194, based on an official port number assignment by IANA. OpenVPN 2.0-beta16 and earlier used 5000 as the default port.
Tue Oct 12 16:05:20 2010 us=412650 LZO compression initialized
Tue Oct 12 16:05:20 2010 us=412848 Control Channel MTU parms [ L:1542 D:138 EF:38 EB:0 ET:0 EL:0 ]
Tue Oct 12 16:05:20 2010 us=441490 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Tue Oct 12 16:05:20 2010 us=441569 Local Options String: 'V4,dev-type tun,link-mtu 1542,tun-mtu 1500,proto UDPv4,comp-lzo,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-client'
Tue Oct 12 16:05:20 2010 us=441593 Expected Remote Options String: 'V4,dev-type tun,link-mtu 1542,tun-mtu 1500,proto UDPv4,comp-lzo,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-server'
Tue Oct 12 16:05:20 2010 us=459023 Local Options hash (VER=V4): '41690919'
Tue Oct 12 16:05:20 2010 us=459080 Expected Remote Options hash (VER=V4): '530fdded'
Tue Oct 12 16:05:20 2010 us=459152 Socket Buffers: R=[8192->8192] S=[8192->8192]
Tue Oct 12 16:05:20 2010 us=459193 UDPv4 link local: [undef]
Tue Oct 12 16:05:20 2010 us=459216 UDPv4 link remote: 205.237.111.105:1194
Tue Oct 12 16:05:20 2010 us=459347 UDPv4 WRITE [14] to 205.237.111.105:1194: P_CONTROL_HARD_RESET_CLIENT_V2 kid=0 [ ] pid=0 DATA len=0
Tue Oct 12 16:05:20 2010 us=479706 UDPv4 READ [-1] from [undef]: DATA UNDEF len=-1
Tue Oct 12 16:05:20 2010 us=480472 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Tue Oct 12 16:05:20 2010 us=480508 UDPv4 READ [-1] from [undef]: DATA UNDEF len=-1
Tue Oct 12 16:05:21 2010 us=493782 UDPv4 WRITE [14] to 205.237.111.105:1194: P_CONTROL_HARD_RESET_CLIENT_V2 kid=0 [ ] pid=0 DATA len=0
Tue Oct 12 16:05:21 2010 us=494574 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Tue Oct 12 16:05:21 2010 us=494608 UDPv4 READ [-1] from [undef]: DATA UNDEF len=-1
Tue Oct 12 16:05:23 2010 us=521187 UDPv4 WRITE [14] to 205.237.111.105:1194: P_CONTROL_HARD_RESET_CLIENT_V2 kid=0 [ ] pid=0 DATA len=0
Tue Oct 12 16:05:23 2010 us=522833 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Tue Oct 12 16:05:23 2010 us=522874 UDPv4 READ [-1] from [undef]: DATA UNDEF len=-1
Tue Oct 12 16:05:25 2010 us=549561 UDPv4 WRITE [14] to 205.237.111.105:1194: P_CONTROL_HARD_RESET_CLIENT_V2 kid=0 [ ] pid=0 DATA len=0
Tue Oct 12 16:05:25 2010 us=564862 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Tue Oct 12 16:05:25 2010 us=564898 UDPv4 READ [-1] from [undef]: DATA UNDEF len=-1
Tue Oct 12 16:05:27 2010 us=601970 UDPv4 WRITE [14] to 205.237.111.105:1194: P_CONTROL_HARD_RESET_CLIENT_V2 kid=0 [ ] pid=0 DATA len=0
Tue Oct 12 16:05:27 2010 us=604357 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Tue Oct 12 16:05:27 2010 us=604397 UDPv4 READ [-1] from [undef]: DATA UNDEF len=-1
Tue Oct 12 16:05:29 2010 us=632974 UDPv4 WRITE [14] to 205.237.111.105:1194: P_CONTROL_HARD_RESET_CLIENT_V2 kid=0 [ ] pid=0 DATA len=0
Tue Oct 12 16:05:29 2010 us=646260 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Tue Oct 12 16:05:29 2010 us=646299 UDPv4 READ [-1] from [undef]: DATA UNDEF len=-1
Tue Oct 12 16:05:30 2010 us=591328 TCP/UDP: Closing socket
Tue Oct 12 16:05:30 2010 us=591463 SIGTERM[hard,] received, process exiting
Server
Code: Select all
Tue Oct 12 16:05:00 2010 us=182130 Current Parameter Settings:
Tue Oct 12 16:05:00 2010 us=182209 config = 'server.ovpn'
Tue Oct 12 16:05:00 2010 us=182229 mode = 1
Tue Oct 12 16:05:00 2010 us=182359 show_ciphers = DISABLED
Tue Oct 12 16:05:00 2010 us=182438 show_digests = DISABLED
Tue Oct 12 16:05:00 2010 us=182452 show_engines = DISABLED
Tue Oct 12 16:05:00 2010 us=182464 genkey = DISABLED
Tue Oct 12 16:05:00 2010 us=182477 key_pass_file = '[UNDEF]'
Tue Oct 12 16:05:00 2010 us=182489 show_tls_ciphers = DISABLED
Tue Oct 12 16:05:00 2010 us=182500 proto = 0
Tue Oct 12 16:05:00 2010 us=182512 local = '[UNDEF]'
Tue Oct 12 16:05:00 2010 us=182523 remote_list = NULL
Tue Oct 12 16:05:00 2010 us=182535 remote_random = DISABLED
Tue Oct 12 16:05:00 2010 us=182548 local_port = 1194
Tue Oct 12 16:05:00 2010 us=182560 remote_port = 1194
Tue Oct 12 16:05:00 2010 us=182571 remote_float = DISABLED
Tue Oct 12 16:05:00 2010 us=182584 ipchange = '[UNDEF]'
Tue Oct 12 16:05:00 2010 us=182596 bind_local = ENABLED
Tue Oct 12 16:05:00 2010 us=182609 dev = 'tun'
Tue Oct 12 16:05:00 2010 us=182621 dev_type = '[UNDEF]'
Tue Oct 12 16:05:00 2010 us=182632 dev_node = '[UNDEF]'
Tue Oct 12 16:05:00 2010 us=182644 tun_ipv6 = DISABLED
Tue Oct 12 16:05:00 2010 us=182656 ifconfig_local = '10.8.0.1'
Tue Oct 12 16:05:00 2010 us=182721 ifconfig_remote_netmask = '10.8.0.2'
Tue Oct 12 16:05:00 2010 us=182750 ifconfig_noexec = DISABLED
Tue Oct 12 16:05:00 2010 us=182767 ifconfig_nowarn = DISABLED
Tue Oct 12 16:05:00 2010 us=182780 shaper = 0
Tue Oct 12 16:05:00 2010 us=182791 tun_mtu = 1500
Tue Oct 12 16:05:00 2010 us=182803 tun_mtu_defined = ENABLED
Tue Oct 12 16:05:00 2010 us=182816 link_mtu = 1500
Tue Oct 12 16:05:00 2010 us=182828 link_mtu_defined = DISABLED
Tue Oct 12 16:05:00 2010 us=182840 tun_mtu_extra = 0
Tue Oct 12 16:05:00 2010 us=182904 tun_mtu_extra_defined = DISABLED
Tue Oct 12 16:05:00 2010 us=182917 fragment = 0
Tue Oct 12 16:05:00 2010 us=182929 mtu_discover_type = -1
Tue Oct 12 16:05:00 2010 us=182941 mtu_test = 0
Tue Oct 12 16:05:00 2010 us=182953 mlock = DISABLED
Tue Oct 12 16:05:00 2010 us=182968 keepalive_ping = 10
Tue Oct 12 16:05:00 2010 us=182987 keepalive_timeout = 120
Tue Oct 12 16:05:00 2010 us=183006 inactivity_timeout = 0
Tue Oct 12 16:05:00 2010 us=183027 ping_send_timeout = 10
Tue Oct 12 16:05:00 2010 us=183047 ping_rec_timeout = 240
Tue Oct 12 16:05:00 2010 us=183066 ping_rec_timeout_action = 2
Tue Oct 12 16:05:00 2010 us=183090 ping_timer_remote = DISABLED
Tue Oct 12 16:05:00 2010 us=183109 remap_sigusr1 = 0
Tue Oct 12 16:05:00 2010 us=183122 explicit_exit_notification = 0
Tue Oct 12 16:05:00 2010 us=183134 persist_tun = ENABLED
Tue Oct 12 16:05:00 2010 us=183195 persist_local_ip = DISABLED
Tue Oct 12 16:05:00 2010 us=183208 persist_remote_ip = DISABLED
Tue Oct 12 16:05:00 2010 us=183221 persist_key = ENABLED
Tue Oct 12 16:05:00 2010 us=183234 mssfix = 1450
Tue Oct 12 16:05:00 2010 us=183248 resolve_retry_seconds = 1000000000
Tue Oct 12 16:05:00 2010 us=183262 connect_retry_seconds = 5
Tue Oct 12 16:05:00 2010 us=183275 username = '[UNDEF]'
Tue Oct 12 16:05:00 2010 us=183287 groupname = '[UNDEF]'
Tue Oct 12 16:05:00 2010 us=183300 chroot_dir = '[UNDEF]'
Tue Oct 12 16:05:00 2010 us=183312 cd_dir = '[UNDEF]'
Tue Oct 12 16:05:00 2010 us=183324 writepid = '[UNDEF]'
Tue Oct 12 16:05:00 2010 us=183336 up_script = '[UNDEF]'
Tue Oct 12 16:05:00 2010 us=183349 down_script = '[UNDEF]'
Tue Oct 12 16:05:00 2010 us=183361 down_pre = DISABLED
Tue Oct 12 16:05:00 2010 us=183373 up_restart = DISABLED
Tue Oct 12 16:05:00 2010 us=183386 up_delay = DISABLED
Tue Oct 12 16:05:00 2010 us=183398 daemon = DISABLED
Tue Oct 12 16:05:00 2010 us=183410 inetd = 0
Tue Oct 12 16:05:00 2010 us=183422 log = DISABLED
Tue Oct 12 16:05:00 2010 us=183435 suppress_timestamps = DISABLED
Tue Oct 12 16:05:00 2010 us=183447 nice = 0
Tue Oct 12 16:05:00 2010 us=183459 verbosity = 6
Tue Oct 12 16:05:00 2010 us=204747 mute = 0
Tue Oct 12 16:05:00 2010 us=204776 gremlin = 0
Tue Oct 12 16:05:00 2010 us=204797 status_file = 'openvpn-status.log'
Tue Oct 12 16:05:00 2010 us=204818 status_file_version = 1
Tue Oct 12 16:05:00 2010 us=204837 status_file_update_freq = 60
Tue Oct 12 16:05:00 2010 us=204856 occ = ENABLED
Tue Oct 12 16:05:00 2010 us=204876 rcvbuf = 0
Tue Oct 12 16:05:00 2010 us=204895 sndbuf = 0
Tue Oct 12 16:05:00 2010 us=204915 socks_proxy_server = '[UNDEF]'
Tue Oct 12 16:05:00 2010 us=204945 socks_proxy_port = 0
Tue Oct 12 16:05:00 2010 us=204968 socks_proxy_retry = DISABLED
Tue Oct 12 16:05:00 2010 us=204987 fast_io = DISABLED
Tue Oct 12 16:05:00 2010 us=205007 comp_lzo = ENABLED
Tue Oct 12 16:05:00 2010 us=205027 comp_lzo_adaptive = ENABLED
Tue Oct 12 16:05:00 2010 us=205047 route_script = '[UNDEF]'
Tue Oct 12 16:05:00 2010 us=205067 route_default_gateway = '[UNDEF]'
Tue Oct 12 16:05:00 2010 us=205087 route_noexec = DISABLED
Tue Oct 12 16:05:00 2010 us=237257 route_delay = 0
Tue Oct 12 16:05:00 2010 us=237287 route_delay_window = 30
Tue Oct 12 16:05:00 2010 us=237312 route_delay_defined = DISABLED
Tue Oct 12 16:05:00 2010 us=237348 route 10.8.0.0/255.255.255.0/nil/nil
Tue Oct 12 16:05:00 2010 us=237369 management_addr = '[UNDEF]'
Tue Oct 12 16:05:00 2010 us=237390 management_port = 0
Tue Oct 12 16:05:00 2010 us=237409 management_user_pass = '[UNDEF]'
Tue Oct 12 16:05:00 2010 us=237430 management_log_history_cache = 250
Tue Oct 12 16:05:00 2010 us=237452 management_echo_buffer_size = 100
Tue Oct 12 16:05:00 2010 us=237474 management_query_passwords = DISABLED
Tue Oct 12 16:05:00 2010 us=237526 management_hold = DISABLED
Tue Oct 12 16:05:00 2010 us=237570 shared_secret_file = '[UNDEF]'
Tue Oct 12 16:05:00 2010 us=237654 key_direction = 0
Tue Oct 12 16:05:00 2010 us=237677 ciphername_defined = ENABLED
Tue Oct 12 16:05:00 2010 us=237697 ciphername = 'BF-CBC'
Tue Oct 12 16:05:00 2010 us=267862 authname_defined = ENABLED
Tue Oct 12 16:05:00 2010 us=267901 authname = 'SHA1'
Tue Oct 12 16:05:00 2010 us=267924 keysize = 0
Tue Oct 12 16:05:00 2010 us=267944 engine = DISABLED
Tue Oct 12 16:05:00 2010 us=267964 replay = ENABLED
Tue Oct 12 16:05:00 2010 us=267984 mute_replay_warnings = DISABLED
Tue Oct 12 16:05:00 2010 us=268003 replay_window = 64
Tue Oct 12 16:05:00 2010 us=268021 replay_time = 15
Tue Oct 12 16:05:00 2010 us=268039 packet_id_file = '[UNDEF]'
Tue Oct 12 16:05:00 2010 us=268057 use_iv = ENABLED
Tue Oct 12 16:05:00 2010 us=268074 test_crypto = DISABLED
Tue Oct 12 16:05:00 2010 us=268093 tls_server = ENABLED
Tue Oct 12 16:05:00 2010 us=268112 tls_client = DISABLED
Tue Oct 12 16:05:00 2010 us=268131 key_method = 2
Tue Oct 12 16:05:00 2010 us=268148 ca_file = 'C:\tempopen\ca.crt'
Tue Oct 12 16:05:00 2010 us=268170 dh_file = 'C:\tempopen\dh1024.pem'
Tue Oct 12 16:05:00 2010 us=268189 cert_file = 'C:\tempopen\server.crt'
Tue Oct 12 16:05:00 2010 us=285366 priv_key_file = 'C:\tempopen\server.key'
Tue Oct 12 16:05:00 2010 us=285406 pkcs12_file = '[UNDEF]'
Tue Oct 12 16:05:00 2010 us=285428 cryptoapi_cert = '[UNDEF]'
Tue Oct 12 16:05:00 2010 us=285448 cipher_list = '[UNDEF]'
Tue Oct 12 16:05:00 2010 us=285468 tls_verify = '[UNDEF]'
Tue Oct 12 16:05:00 2010 us=285516 tls_remote = '[UNDEF]'
Tue Oct 12 16:05:00 2010 us=285537 crl_file = '[UNDEF]'
Tue Oct 12 16:05:00 2010 us=285557 ns_cert_type = 0
Tue Oct 12 16:05:00 2010 us=285577 tls_timeout = 2
Tue Oct 12 16:05:00 2010 us=285597 renegotiate_bytes = 0
Tue Oct 12 16:05:00 2010 us=285616 renegotiate_packets = 0
Tue Oct 12 16:05:00 2010 us=285636 renegotiate_seconds = 3600
Tue Oct 12 16:05:00 2010 us=285656 handshake_window = 60
Tue Oct 12 16:05:00 2010 us=285675 transition_window = 3600
Tue Oct 12 16:05:00 2010 us=285695 single_session = DISABLED
Tue Oct 12 16:05:00 2010 us=285714 tls_exit = DISABLED
Tue Oct 12 16:05:00 2010 us=314038 tls_auth_file = '[UNDEF]'
Tue Oct 12 16:05:00 2010 us=314081 server_network = 10.8.0.0
Tue Oct 12 16:05:00 2010 us=314107 server_netmask = 255.255.255.0
Tue Oct 12 16:05:00 2010 us=314131 server_bridge_ip = 0.0.0.0
Tue Oct 12 16:05:00 2010 us=314154 server_bridge_netmask = 0.0.0.0
Tue Oct 12 16:05:00 2010 us=314201 server_bridge_pool_start = 0.0.0.0
Tue Oct 12 16:05:00 2010 us=314227 server_bridge_pool_end = 0.0.0.0
Tue Oct 12 16:05:00 2010 us=314249 push_list = 'route 10.8.0.1,ping 10,ping-restart 120'
Tue Oct 12 16:05:00 2010 us=314272 ifconfig_pool_defined = ENABLED
Tue Oct 12 16:05:00 2010 us=314296 ifconfig_pool_start = 10.8.0.4
Tue Oct 12 16:05:00 2010 us=314321 ifconfig_pool_end = 10.8.0.251
Tue Oct 12 16:05:00 2010 us=314354 ifconfig_pool_netmask = 0.0.0.0
Tue Oct 12 16:05:00 2010 us=314378 ifconfig_pool_persist_filename = 'ipp.txt'
Tue Oct 12 16:05:00 2010 us=314401 ifconfig_pool_persist_refresh_freq = 600
Tue Oct 12 16:05:00 2010 us=345039 ifconfig_pool_linear = DISABLED
Tue Oct 12 16:05:00 2010 us=345078 n_bcast_buf = 256
Tue Oct 12 16:05:00 2010 us=345100 tcp_queue_limit = 64
Tue Oct 12 16:05:00 2010 us=345119 real_hash_size = 256
Tue Oct 12 16:05:00 2010 us=345140 virtual_hash_size = 256
Tue Oct 12 16:05:00 2010 us=345184 client_connect_script = '[UNDEF]'
Tue Oct 12 16:05:00 2010 us=345206 learn_address_script = '[UNDEF]'
Tue Oct 12 16:05:00 2010 us=345227 client_disconnect_script = '[UNDEF]'
Tue Oct 12 16:05:00 2010 us=345248 client_config_dir = '[UNDEF]'
Tue Oct 12 16:05:00 2010 us=345268 ccd_exclusive = DISABLED
Tue Oct 12 16:05:00 2010 us=345288 tmp_dir = '[UNDEF]'
Tue Oct 12 16:05:00 2010 us=345309 push_ifconfig_defined = DISABLED
Tue Oct 12 16:05:00 2010 us=345333 push_ifconfig_local = 0.0.0.0
Tue Oct 12 16:05:00 2010 us=345356 push_ifconfig_remote_netmask = 0.0.0.0
Tue Oct 12 16:05:00 2010 us=345378 enable_c2c = DISABLED
Tue Oct 12 16:05:00 2010 us=362005 duplicate_cn = DISABLED
Tue Oct 12 16:05:00 2010 us=362042 cf_max = 0
Tue Oct 12 16:05:00 2010 us=362065 cf_per = 0
Tue Oct 12 16:05:00 2010 us=362085 max_clients = 1024
Tue Oct 12 16:05:00 2010 us=362106 max_routes_per_client = 256
Tue Oct 12 16:05:00 2010 us=362126 client_cert_not_required = DISABLED
Tue Oct 12 16:05:00 2010 us=362161 username_as_common_name = DISABLED
Tue Oct 12 16:05:00 2010 us=362184 auth_user_pass_verify_script = '[UNDEF]'
Tue Oct 12 16:05:00 2010 us=362209 auth_user_pass_verify_script_via_file = DISABLED
Tue Oct 12 16:05:00 2010 us=362229 client = DISABLED
Tue Oct 12 16:05:00 2010 us=362248 pull = DISABLED
Tue Oct 12 16:05:00 2010 us=362268 auth_user_pass_file = '[UNDEF]'
Tue Oct 12 16:05:00 2010 us=362293 show_net_up = DISABLED
Tue Oct 12 16:05:00 2010 us=362392 route_method = 0
Tue Oct 12 16:05:00 2010 us=362414 ip_win32_defined = DISABLED
Tue Oct 12 16:05:00 2010 us=362434 ip_win32_type = 3
Tue Oct 12 16:05:00 2010 us=394439 dhcp_masq_offset = 0
Tue Oct 12 16:05:00 2010 us=394477 dhcp_lease_time = 31536000
Tue Oct 12 16:05:00 2010 us=394501 tap_sleep = 10
Tue Oct 12 16:05:00 2010 us=394521 dhcp_options = DISABLED
Tue Oct 12 16:05:00 2010 us=394541 dhcp_renew = DISABLED
Tue Oct 12 16:05:00 2010 us=394561 dhcp_pre_release = DISABLED
Tue Oct 12 16:05:00 2010 us=394604 dhcp_release = DISABLED
Tue Oct 12 16:05:00 2010 us=394625 domain = '[UNDEF]'
Tue Oct 12 16:05:00 2010 us=394644 netbios_scope = '[UNDEF]'
Tue Oct 12 16:05:00 2010 us=394664 netbios_node_type = 0
Tue Oct 12 16:05:00 2010 us=394683 disable_nbt = DISABLED
Tue Oct 12 16:05:00 2010 us=394716 OpenVPN 2.0.9 Win32-MinGW [SSL] [LZO] built on Oct 1 2006
Tue Oct 12 16:05:00 2010 us=497895 Diffie-Hellman initialized with 1024 bit key
Tue Oct 12 16:05:00 2010 us=562631 TLS-Auth MTU parms [ L:1542 D:138 EF:38 EB:0 ET:0 EL:0 ]
Tue Oct 12 16:05:00 2010 us=600639 TAP-WIN32 device [Local Area Connection 4] opened: \\.\Global\{1C347EB4-C8B3-41D8-8AF5-58E6CCFC6845}.tap
Tue Oct 12 16:05:00 2010 us=600682 TAP-Win32 Driver Version 8.4
Tue Oct 12 16:05:00 2010 us=600710 TAP-Win32 MTU=1500
Tue Oct 12 16:05:00 2010 us=600765 Notified TAP-Win32 driver to set a DHCP IP/netmask of 10.8.0.1/255.255.255.252 on interface {1C347EB4-C8B3-41D8-8AF5-58E6CCFC6845} [DHCP-serv: 10.8.0.2, lease-time: 31536000]
Tue Oct 12 16:05:00 2010 us=601509 Sleeping for 10 seconds...
Tue Oct 12 16:05:10 2010 us=618851 Successful ARP Flush on interface [3] {1C347EB4-C8B3-41D8-8AF5-58E6CCFC6845}
Tue Oct 12 16:05:10 2010 us=674430 route ADD 10.8.0.0 MASK 255.255.255.0 10.8.0.2
Tue Oct 12 16:05:10 2010 us=707721 Route addition via IPAPI succeeded
Tue Oct 12 16:05:10 2010 us=707792 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Tue Oct 12 16:05:10 2010 us=707919 Socket Buffers: R=[8192->8192] S=[8192->8192]
Tue Oct 12 16:05:10 2010 us=707966 UDPv4 link local (bound): [undef]:1194
Tue Oct 12 16:05:10 2010 us=707988 UDPv4 link remote: [undef]
Tue Oct 12 16:05:10 2010 us=708010 MULTI: multi_init called, r=256 v=256
Tue Oct 12 16:05:10 2010 us=708074 IFCONFIG POOL: base=10.8.0.4 size=62
Tue Oct 12 16:05:10 2010 us=708114 IFCONFIG POOL LIST
Tue Oct 12 16:05:10 2010 us=708175 Initialization Sequence Completed
Re: Client error
Posted: Tue Oct 12, 2010 11:30 am
by planethax
Saw this in kiwi syslog when I rebooted router
Code: Select all
10-12-2010 17:26:56 Daemon.Notice 192.168.1.1 Oct 12 17:27:02 openvpn[757]: Exiting
10-12-2010 17:26:56 Daemon.Error 192.168.1.1 Oct 12 17:27:02 openvpn[757]: Cannot load certificate file client.crt: error:02001002:lib(2):func(1):reason(2): error:20074002:lib(32):func(116):reason(2): error:140AD002:lib(20):func(173):reason(2)
10-12-2010 17:26:56 Daemon.Notice 192.168.1.1 Oct 12 17:27:02 openvpn[757]: OpenVPN 2.1_rc20 mipsel-unknown-linux-gnu [SSL] [LZO1] [EPOLL] built on Oct 10 2009
10-12-2010 17:26:56 Daemon.Notice 192.168.1.1 Oct 12 17:27:02 openvpn[745]: LZO compression initialized
10-12-2010 17:26:56 Daemon.Warning 192.168.1.1 Oct 12 17:27:02 openvpn[745]: WARNING: file '/tmp/openvpncl/client.key' is group or others accessible
10-12-2010 17:26:56 Daemon.Notice 192.168.1.1 Oct 12 17:27:02 openvpn[745]: OpenVPN 2.1_rc20 mipsel-unknown-linux-gnu [SSL] [LZO1] [EPOLL] built on Oct 10 2009
Re: Client error
Posted: Wed Oct 13, 2010 9:06 pm
by krzee
a) update both sides, they are very old
we now use 2.1.3
http://www.openvpn.net/download
b) use full paths in your configs
client.crt cannot be found
planethax wrote:10-12-2010 17:26:56 Daemon.Error 192.168.1.1 Oct 12 17:27:02 openvpn[757]: Cannot load certificate file client.crt: error:02001002:lib(2):func(1):reason(2):
Re: Client error
Posted: Fri Oct 15, 2010 4:39 am
by planethax
Thank you, I ended up just bridging my 2 wrt54 routers together to finally get it to work.