OpenVPN gets stuck at "connecting" state

This forum is for all inquiries relating to the installation of OpenVPN from source and with binaries.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
Post Reply
dmelnyk
OpenVpn Newbie
Posts: 6
Joined: Mon Jul 04, 2011 10:36 pm

OpenVPN gets stuck at "connecting" state

Post by dmelnyk » Wed Jul 06, 2011 5:19 pm

Hi Folks:

I am new to OpenVPN and am struggling to get the simple "Static Key Mini-HOWTO" version of a VPN running. I have forwarded port 1194 UPD to the VPNserver system and have checked that those ports are not blocked by the windows firewall on either system. I am trying to do this between two Windows XP Pro SP3 systems.

When I try and connect the following is from the log file:

<<<<<<<<<>>>>>>>>>

Wed Jul 06 13:14:17 2011 OpenVPN 2.2.0 Win32-MSVC++ [SSL] [LZO2] built on Apr 26 2011
Wed Jul 06 13:14:17 2011 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.
Wed Jul 06 13:14:17 2011 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Wed Jul 06 13:14:18 2011 TAP-WIN32 device [Local Area Connection 5] opened: \\.\Global\{25D2D333-92AA-44C5-BE19-55CD164E4429}.tap
Wed Jul 06 13:14:18 2011 Notified TAP-Win32 driver to set a DHCP IP/netmask of 10.8.0.2/255.255.255.252 on interface {25D2D333-92AA-44C5-BE19-55CD164E4429} [DHCP-serv: 10.8.0.1, lease-time: 31536000]
Wed Jul 06 13:14:18 2011 Successful ARP Flush on interface [131077] {25D2D333-92AA-44C5-BE19-55CD164E4429}
Wed Jul 06 13:14:18 2011 UDPv4 link local (bound): [undef]:1194
Wed Jul 06 13:14:18 2011 UDPv4 link remote: 99.238.163.190:1194
Wed Jul 06 13:14:26 2011 SIGTERM[hard,] received, process exiting

<<<<<<<<<<<<<>>>>>>>>>>>>>>

Any assistance would be greatly appreciated.

Best regards, Dave melnyk, Toronto, Canada

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: OpenVPN gets stuck at "connecting" state

Post by maikcat » Wed Jul 06, 2011 5:49 pm

hi there,

please post configs and logs (verb 4 and above)

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

dmelnyk
OpenVpn Newbie
Posts: 6
Joined: Mon Jul 04, 2011 10:36 pm

Re: OpenVPN gets stuck at "connecting" state

Post by dmelnyk » Wed Jul 06, 2011 6:03 pm

Thanks for the reply..

here is the server.ovpn:

dev tun
ifconfig 10.8.0.1 10.8.0.2
secret static.key
route 192.168.0.0 255.255.255.0

Here is the client.ovpn

remote vpntest-srv.dyndns.biz
dev tun
ifconfig 10.8.0.2 10.8.0.1
secret static.key
route 192.168.0.0 255.255.255.0

This is just from the basic set up. There were no log files on the server side and the only log file on client side is in original post.

Just wondering, when I ran he client side initially it complained that there was no Tap-win32 adapter ... had to run Addtap.bat from bin file.

There was no complaint on the server side about this item missing, but just checked and appears no similar network adapter exists on server side ... could this be the problem? Thought the installation would have handled this automatically.

Best regards, Dave melnyk

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: OpenVPN gets stuck at "connecting" state

Post by maikcat » Wed Jul 06, 2011 6:06 pm

hi there,

remove the route statement from both configs

add the necessary routes via shell...

write me your lans if you want to tell you what exactly to write.

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: OpenVPN gets stuck at "connecting" state

Post by maikcat » Wed Jul 06, 2011 6:08 pm

>There was no complaint on the server side about this item missing, but just checked and appears no similar network adapter exists on server side ... could this be the problem? Thought the installation would have handled this automatically.


didnt saw that..

maybe bug?

try 2.2.1 ver

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

dmelnyk
OpenVpn Newbie
Posts: 6
Joined: Mon Jul 04, 2011 10:36 pm

Re: OpenVPN gets stuck at "connecting" state

Post by dmelnyk » Wed Jul 06, 2011 6:13 pm

Hi, have removed the routing lines from each. Same issue ... status: connecting ... log file same as initial one posted.

What would I need to do to route the lans: Each lan was set up on a d-link router initially so has a 192.168.0.x, 255.255.255.0 scheme.

is there a download link for version 2.2.1? And do I need to uninstall then reinstall?

Best regards, Dave Melnyk

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: OpenVPN gets stuck at "connecting" state

Post by maikcat » Wed Jul 06, 2011 6:17 pm

>Hi, have removed the routing lines from each. Same issue ... status: connecting ... log file same as initial one posted.

insert a parameter named verb with value 4 and above (both configs)
post the output here..


you mean that *both* lans have 192.168.0.x network?

hmm

you must change one if you want lan-to-lan connectivity -period.

just uninstall the old and install the new...

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

dmelnyk
OpenVpn Newbie
Posts: 6
Joined: Mon Jul 04, 2011 10:36 pm

Re: OpenVPN gets stuck at "connecting" state

Post by dmelnyk » Wed Jul 06, 2011 6:42 pm

reinstalled new version 2.2.1 - installed tap automatically this time

Here is the log from the client side (again there was no log information from the server side)

Code: Select all

Wed Jul 06 14:33:44 2011 us=31000 Current Parameter Settings:
Wed Jul 06 14:33:44 2011 us=31000   config = 'client.ovpn'
Wed Jul 06 14:33:44 2011 us=31000   mode = 0
Wed Jul 06 14:33:44 2011 us=31000   show_ciphers = DISABLED
Wed Jul 06 14:33:44 2011 us=31000   show_digests = DISABLED
Wed Jul 06 14:33:44 2011 us=31000   show_engines = DISABLED
Wed Jul 06 14:33:44 2011 us=31000   genkey = DISABLED
Wed Jul 06 14:33:44 2011 us=31000   key_pass_file = '[UNDEF]'
Wed Jul 06 14:33:44 2011 us=31000   show_tls_ciphers = DISABLED
Wed Jul 06 14:33:44 2011 us=31000 Connection profiles [default]:
Wed Jul 06 14:33:44 2011 us=31000   proto = udp
Wed Jul 06 14:33:44 2011 us=31000   local = '[UNDEF]'
Wed Jul 06 14:33:44 2011 us=31000   local_port = 1194
Wed Jul 06 14:33:44 2011 us=31000   remote = 'girardi-srv.dyndns.biz'
Wed Jul 06 14:33:44 2011 us=31000   remote_port = 1194
Wed Jul 06 14:33:44 2011 us=31000   remote_float = DISABLED
Wed Jul 06 14:33:44 2011 us=31000   bind_defined = DISABLED
Wed Jul 06 14:33:44 2011 us=31000   bind_local = ENABLED
Wed Jul 06 14:33:44 2011 us=31000   connect_retry_seconds = 5
Wed Jul 06 14:33:44 2011 us=31000   connect_timeout = 10
Wed Jul 06 14:33:44 2011 us=31000   connect_retry_max = 0
Wed Jul 06 14:33:44 2011 us=31000   socks_proxy_server = '[UNDEF]'
Wed Jul 06 14:33:44 2011 us=31000   socks_proxy_port = 0
Wed Jul 06 14:33:44 2011 us=31000   socks_proxy_retry = DISABLED
Wed Jul 06 14:33:44 2011 us=31000 Connection profiles END
Wed Jul 06 14:33:44 2011 us=31000   remote_random = DISABLED
Wed Jul 06 14:33:44 2011 us=31000   ipchange = '[UNDEF]'
Wed Jul 06 14:33:44 2011 us=31000   dev = 'tun'
Wed Jul 06 14:33:44 2011 us=31000   dev_type = '[UNDEF]'
Wed Jul 06 14:33:44 2011 us=31000   dev_node = '[UNDEF]'
Wed Jul 06 14:33:44 2011 us=31000   lladdr = '[UNDEF]'
Wed Jul 06 14:33:44 2011 us=31000   topology = 1
Wed Jul 06 14:33:44 2011 us=31000   tun_ipv6 = DISABLED
Wed Jul 06 14:33:44 2011 us=31000   ifconfig_local = '10.8.0.2'
Wed Jul 06 14:33:44 2011 us=31000   ifconfig_remote_netmask = '10.8.0.1'
Wed Jul 06 14:33:44 2011 us=31000   ifconfig_noexec = DISABLED
Wed Jul 06 14:33:44 2011 us=31000   ifconfig_nowarn = DISABLED
Wed Jul 06 14:33:44 2011 us=31000   shaper = 0
Wed Jul 06 14:33:44 2011 us=31000   tun_mtu = 1500
Wed Jul 06 14:33:44 2011 us=31000   tun_mtu_defined = ENABLED
Wed Jul 06 14:33:44 2011 us=31000   link_mtu = 1500
Wed Jul 06 14:33:44 2011 us=31000   link_mtu_defined = DISABLED
Wed Jul 06 14:33:44 2011 us=31000   tun_mtu_extra = 0
Wed Jul 06 14:33:44 2011 us=31000   tun_mtu_extra_defined = DISABLED
Wed Jul 06 14:33:44 2011 us=31000   fragment = 0
Wed Jul 06 14:33:44 2011 us=31000   mtu_discover_type = -1
Wed Jul 06 14:33:44 2011 us=31000   mtu_test = 0
Wed Jul 06 14:33:44 2011 us=31000   mlock = DISABLED
Wed Jul 06 14:33:44 2011 us=31000   keepalive_ping = 0
Wed Jul 06 14:33:44 2011 us=31000   keepalive_timeout = 0
Wed Jul 06 14:33:44 2011 us=31000   inactivity_timeout = 0
Wed Jul 06 14:33:44 2011 us=31000   ping_send_timeout = 0
Wed Jul 06 14:33:44 2011 us=31000   ping_rec_timeout = 0
Wed Jul 06 14:33:44 2011 us=31000   ping_rec_timeout_action = 0
Wed Jul 06 14:33:44 2011 us=31000   ping_timer_remote = DISABLED
Wed Jul 06 14:33:44 2011 us=31000   remap_sigusr1 = 0
Wed Jul 06 14:33:44 2011 us=31000   explicit_exit_notification = 0
Wed Jul 06 14:33:44 2011 us=31000   persist_tun = DISABLED
Wed Jul 06 14:33:44 2011 us=31000   persist_local_ip = DISABLED
Wed Jul 06 14:33:44 2011 us=31000   persist_remote_ip = DISABLED
Wed Jul 06 14:33:44 2011 us=31000   persist_key = DISABLED
Wed Jul 06 14:33:44 2011 us=31000   mssfix = 1450
Wed Jul 06 14:33:44 2011 us=31000   resolve_retry_seconds = 1000000000
Wed Jul 06 14:33:44 2011 us=31000   username = '[UNDEF]'
Wed Jul 06 14:33:44 2011 us=31000   groupname = '[UNDEF]'
Wed Jul 06 14:33:44 2011 us=31000   chroot_dir = '[UNDEF]'
Wed Jul 06 14:33:44 2011 us=31000   cd_dir = '[UNDEF]'
Wed Jul 06 14:33:44 2011 us=31000   writepid = '[UNDEF]'
Wed Jul 06 14:33:44 2011 us=31000   up_script = '[UNDEF]'
Wed Jul 06 14:33:44 2011 us=125000   down_script = '[UNDEF]'
Wed Jul 06 14:33:44 2011 us=125000   down_pre = DISABLED
Wed Jul 06 14:33:44 2011 us=125000   up_restart = DISABLED
Wed Jul 06 14:33:44 2011 us=125000   up_delay = DISABLED
Wed Jul 06 14:33:44 2011 us=125000   daemon = DISABLED
Wed Jul 06 14:33:44 2011 us=125000   inetd = 0
Wed Jul 06 14:33:44 2011 us=125000   log = DISABLED
Wed Jul 06 14:33:44 2011 us=125000   suppress_timestamps = DISABLED
Wed Jul 06 14:33:44 2011 us=125000   nice = 0
Wed Jul 06 14:33:44 2011 us=125000   verbosity = 4
Wed Jul 06 14:33:44 2011 us=125000   mute = 0
Wed Jul 06 14:33:44 2011 us=125000   gremlin = 0
Wed Jul 06 14:33:44 2011 us=125000   status_file = '[UNDEF]'
Wed Jul 06 14:33:44 2011 us=125000   status_file_version = 1
Wed Jul 06 14:33:44 2011 us=125000   status_file_update_freq = 60
Wed Jul 06 14:33:44 2011 us=125000   occ = ENABLED
Wed Jul 06 14:33:44 2011 us=125000   rcvbuf = 0
Wed Jul 06 14:33:44 2011 us=125000   sndbuf = 0
Wed Jul 06 14:33:44 2011 us=125000   sockflags = 0
Wed Jul 06 14:33:44 2011 us=156000   fast_io = DISABLED
Wed Jul 06 14:33:44 2011 us=156000   lzo = 0
Wed Jul 06 14:33:44 2011 us=156000   route_script = '[UNDEF]'
Wed Jul 06 14:33:44 2011 us=156000   route_default_gateway = '[UNDEF]'
Wed Jul 06 14:33:44 2011 us=156000   route_default_metric = 0
Wed Jul 06 14:33:44 2011 us=156000   route_noexec = DISABLED
Wed Jul 06 14:33:44 2011 us=156000   route_delay = 5
Wed Jul 06 14:33:44 2011 us=156000   route_delay_window = 30
Wed Jul 06 14:33:44 2011 us=156000   route_delay_defined = ENABLED
Wed Jul 06 14:33:44 2011 us=156000   route_nopull = DISABLED
Wed Jul 06 14:33:44 2011 us=156000   route_gateway_via_dhcp = DISABLED
Wed Jul 06 14:33:44 2011 us=156000   max_routes = 100
Wed Jul 06 14:33:44 2011 us=156000   allow_pull_fqdn = DISABLED
Wed Jul 06 14:33:44 2011 us=156000   management_addr = '[UNDEF]'
Wed Jul 06 14:33:44 2011 us=156000   management_port = 0
Wed Jul 06 14:33:44 2011 us=156000   management_user_pass = '[UNDEF]'
Wed Jul 06 14:33:44 2011 us=156000   management_log_history_cache = 250
Wed Jul 06 14:33:44 2011 us=156000   management_echo_buffer_size = 100
Wed Jul 06 14:33:44 2011 us=156000   management_write_peer_info_file = '[UNDEF]'
Wed Jul 06 14:33:44 2011 us=156000   management_client_user = '[UNDEF]'
Wed Jul 06 14:33:44 2011 us=156000   management_client_group = '[UNDEF]'
Wed Jul 06 14:33:44 2011 us=156000   management_flags = 0
Wed Jul 06 14:33:44 2011 us=156000   shared_secret_file = 'static.key'
Wed Jul 06 14:33:44 2011 us=156000   key_direction = 0
Wed Jul 06 14:33:44 2011 us=156000   ciphername_defined = ENABLED
Wed Jul 06 14:33:44 2011 us=156000   ciphername = 'BF-CBC'
Wed Jul 06 14:33:44 2011 us=156000   authname_defined = ENABLED
Wed Jul 06 14:33:44 2011 us=156000   authname = 'SHA1'
Wed Jul 06 14:33:44 2011 us=156000   prng_hash = 'SHA1'
Wed Jul 06 14:33:44 2011 us=156000   prng_nonce_secret_len = 16
Wed Jul 06 14:33:44 2011 us=156000   keysize = 0
Wed Jul 06 14:33:44 2011 us=171000   engine = DISABLED
Wed Jul 06 14:33:44 2011 us=171000   replay = ENABLED
Wed Jul 06 14:33:44 2011 us=171000   mute_replay_warnings = DISABLED
Wed Jul 06 14:33:44 2011 us=171000   replay_window = 64
Wed Jul 06 14:33:44 2011 us=171000   replay_time = 15
Wed Jul 06 14:33:44 2011 us=171000   packet_id_file = '[UNDEF]'
Wed Jul 06 14:33:44 2011 us=171000   use_iv = ENABLED
Wed Jul 06 14:33:44 2011 us=171000   test_crypto = DISABLED
Wed Jul 06 14:33:44 2011 us=171000   tls_server = DISABLED
Wed Jul 06 14:33:44 2011 us=171000   tls_client = DISABLED
Wed Jul 06 14:33:44 2011 us=171000   key_method = 2
Wed Jul 06 14:33:44 2011 us=171000   ca_file = '[UNDEF]'
Wed Jul 06 14:33:44 2011 us=171000   ca_path = '[UNDEF]'
Wed Jul 06 14:33:44 2011 us=171000   dh_file = '[UNDEF]'
Wed Jul 06 14:33:44 2011 us=171000   cert_file = '[UNDEF]'
Wed Jul 06 14:33:44 2011 us=171000   priv_key_file = '[UNDEF]'
Wed Jul 06 14:33:44 2011 us=171000   pkcs12_file = '[UNDEF]'
Wed Jul 06 14:33:44 2011 us=171000   cryptoapi_cert = '[UNDEF]'
Wed Jul 06 14:33:44 2011 us=171000   cipher_list = '[UNDEF]'
Wed Jul 06 14:33:44 2011 us=171000   tls_verify = '[UNDEF]'
Wed Jul 06 14:33:44 2011 us=171000   tls_export_cert = '[UNDEF]'
Wed Jul 06 14:33:44 2011 us=171000   tls_remote = '[UNDEF]'
Wed Jul 06 14:33:44 2011 us=171000   crl_file = '[UNDEF]'
Wed Jul 06 14:33:44 2011 us=171000   ns_cert_type = 0
Wed Jul 06 14:33:44 2011 us=171000   remote_cert_ku[i] = 0
Wed Jul 06 14:33:44 2011 us=171000   remote_cert_ku[i] = 0
Wed Jul 06 14:33:44 2011 us=171000   remote_cert_ku[i] = 0
Wed Jul 06 14:33:44 2011 us=171000   remote_cert_ku[i] = 0
Wed Jul 06 14:33:44 2011 us=171000   remote_cert_ku[i] = 0
Wed Jul 06 14:33:44 2011 us=171000   remote_cert_ku[i] = 0
Wed Jul 06 14:33:44 2011 us=171000   remote_cert_ku[i] = 0
Wed Jul 06 14:33:44 2011 us=171000   remote_cert_ku[i] = 0
Wed Jul 06 14:33:44 2011 us=171000   remote_cert_ku[i] = 0
Wed Jul 06 14:33:44 2011 us=187000   remote_cert_ku[i] = 0
Wed Jul 06 14:33:44 2011 us=187000   remote_cert_ku[i] = 0
Wed Jul 06 14:33:44 2011 us=187000   remote_cert_ku[i] = 0
Wed Jul 06 14:33:44 2011 us=187000   remote_cert_ku[i] = 0
Wed Jul 06 14:33:44 2011 us=187000   remote_cert_ku[i] = 0
Wed Jul 06 14:33:44 2011 us=187000   remote_cert_ku[i] = 0
Wed Jul 06 14:33:44 2011 us=187000   remote_cert_ku[i] = 0
Wed Jul 06 14:33:44 2011 us=187000   remote_cert_eku = '[UNDEF]'
Wed Jul 06 14:33:44 2011 us=187000   tls_timeout = 2
Wed Jul 06 14:33:44 2011 us=187000   renegotiate_bytes = 0
Wed Jul 06 14:33:44 2011 us=187000   renegotiate_packets = 0
Wed Jul 06 14:33:44 2011 us=187000   renegotiate_seconds = 3600
Wed Jul 06 14:33:44 2011 us=187000   handshake_window = 60
Wed Jul 06 14:33:44 2011 us=187000   transition_window = 3600
Wed Jul 06 14:33:44 2011 us=187000   single_session = DISABLED
Wed Jul 06 14:33:44 2011 us=187000   push_peer_info = DISABLED
Wed Jul 06 14:33:44 2011 us=187000   tls_exit = DISABLED
Wed Jul 06 14:33:44 2011 us=187000   tls_auth_file = '[UNDEF]'
Wed Jul 06 14:33:44 2011 us=187000   server_network = 0.0.0.0
Wed Jul 06 14:33:44 2011 us=187000   server_netmask = 0.0.0.0
Wed Jul 06 14:33:44 2011 us=187000   server_bridge_ip = 0.0.0.0
Wed Jul 06 14:33:44 2011 us=187000   server_bridge_netmask = 0.0.0.0
Wed Jul 06 14:33:44 2011 us=187000   server_bridge_pool_start = 0.0.0.0
Wed Jul 06 14:33:44 2011 us=187000   server_bridge_pool_end = 0.0.0.0
Wed Jul 06 14:33:44 2011 us=187000   ifconfig_pool_defined = DISABLED
Wed Jul 06 14:33:44 2011 us=187000   ifconfig_pool_start = 0.0.0.0
Wed Jul 06 14:33:44 2011 us=187000   ifconfig_pool_end = 0.0.0.0
Wed Jul 06 14:33:44 2011 us=187000   ifconfig_pool_netmask = 0.0.0.0
Wed Jul 06 14:33:44 2011 us=187000   ifconfig_pool_persist_filename = '[UNDEF]'
Wed Jul 06 14:33:44 2011 us=187000   ifconfig_pool_persist_refresh_freq = 600
Wed Jul 06 14:33:44 2011 us=187000   n_bcast_buf = 256
Wed Jul 06 14:33:44 2011 us=187000   tcp_queue_limit = 64
Wed Jul 06 14:33:44 2011 us=203000   real_hash_size = 256
Wed Jul 06 14:33:44 2011 us=203000   virtual_hash_size = 256
Wed Jul 06 14:33:44 2011 us=203000   client_connect_script = '[UNDEF]'
Wed Jul 06 14:33:44 2011 us=203000   learn_address_script = '[UNDEF]'
Wed Jul 06 14:33:44 2011 us=203000   client_disconnect_script = '[UNDEF]'
Wed Jul 06 14:33:44 2011 us=203000   client_config_dir = '[UNDEF]'
Wed Jul 06 14:33:44 2011 us=203000   ccd_exclusive = DISABLED
Wed Jul 06 14:33:44 2011 us=203000   tmp_dir = 'C:\DOCUME~1\DAVIDM~1\LOCALS~1\Temp\'
Wed Jul 06 14:33:44 2011 us=203000   push_ifconfig_defined = DISABLED
Wed Jul 06 14:33:44 2011 us=203000   push_ifconfig_local = 0.0.0.0
Wed Jul 06 14:33:44 2011 us=203000   push_ifconfig_remote_netmask = 0.0.0.0
Wed Jul 06 14:33:44 2011 us=203000   enable_c2c = DISABLED
Wed Jul 06 14:33:44 2011 us=203000   duplicate_cn = DISABLED
Wed Jul 06 14:33:44 2011 us=203000   cf_max = 0
Wed Jul 06 14:33:44 2011 us=203000   cf_per = 0
Wed Jul 06 14:33:44 2011 us=203000   max_clients = 1024
Wed Jul 06 14:33:44 2011 us=203000   max_routes_per_client = 256
Wed Jul 06 14:33:44 2011 us=203000   auth_user_pass_verify_script = '[UNDEF]'
Wed Jul 06 14:33:44 2011 us=203000   auth_user_pass_verify_script_via_file = DISABLED
Wed Jul 06 14:33:44 2011 us=203000   ssl_flags = 0
Wed Jul 06 14:33:44 2011 us=203000   client = DISABLED
Wed Jul 06 14:33:44 2011 us=203000   pull = DISABLED
Wed Jul 06 14:33:44 2011 us=203000   auth_user_pass_file = '[UNDEF]'
Wed Jul 06 14:33:44 2011 us=203000   show_net_up = DISABLED
Wed Jul 06 14:33:44 2011 us=203000   route_method = 0
Wed Jul 06 14:33:44 2011 us=203000   ip_win32_defined = DISABLED
Wed Jul 06 14:33:44 2011 us=203000   ip_win32_type = 3
Wed Jul 06 14:33:44 2011 us=203000   dhcp_masq_offset = 0
Wed Jul 06 14:33:44 2011 us=203000   dhcp_lease_time = 31536000
Wed Jul 06 14:33:44 2011 us=203000   tap_sleep = 0
Wed Jul 06 14:33:44 2011 us=203000   dhcp_options = DISABLED
Wed Jul 06 14:33:44 2011 us=203000   dhcp_renew = DISABLED
Wed Jul 06 14:33:44 2011 us=203000   dhcp_pre_release = DISABLED
Wed Jul 06 14:33:44 2011 us=203000   dhcp_release = DISABLED
Wed Jul 06 14:33:44 2011 us=203000   domain = '[UNDEF]'
Wed Jul 06 14:33:44 2011 us=203000   netbios_scope = '[UNDEF]'
Wed Jul 06 14:33:44 2011 us=203000   netbios_node_type = 0
Wed Jul 06 14:33:44 2011 us=203000   disable_nbt = DISABLED
Wed Jul 06 14:33:44 2011 us=203000 OpenVPN 2.2.1 Win32-MSVC++ [SSL] [LZO2] built on Jul  1 2011
Wed Jul 06 14:33:44 2011 us=265000 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.
Wed Jul 06 14:33:44 2011 us=265000 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Wed Jul 06 14:33:44 2011 us=343000 Static Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Wed Jul 06 14:33:44 2011 us=406000 Static Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed Jul 06 14:33:44 2011 us=406000 Static Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Wed Jul 06 14:33:44 2011 us=406000 Static Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed Jul 06 14:33:44 2011 us=421000 Socket Buffers: R=[8192->8192] S=[8192->8192]
Wed Jul 06 14:33:44 2011 us=468000 TAP-WIN32 device [Local Area Connection 6] opened: \\.\Global\{05DF589E-A82C-4FC5-AA10-3C96B76208CF}.tap
Wed Jul 06 14:33:44 2011 us=468000 TAP-Win32 Driver Version 9.8 
Wed Jul 06 14:33:44 2011 us=468000 TAP-Win32 MTU=1500
Wed Jul 06 14:33:44 2011 us=468000 Notified TAP-Win32 driver to set a DHCP IP/netmask of 10.8.0.2/255.255.255.252 on interface {05DF589E-A82C-4FC5-AA10-3C96B76208CF} [DHCP-serv: 10.8.0.1, lease-time: 31536000]
Wed Jul 06 14:33:44 2011 us=468000 Successful ARP Flush on interface [196613] {05DF589E-A82C-4FC5-AA10-3C96B76208CF}
Wed Jul 06 14:33:44 2011 us=484000 Data Channel MTU parms [ L:1544 D:1450 EF:44 EB:4 ET:0 EL:0 ]
Wed Jul 06 14:33:44 2011 us=484000 Local Options String: 'V4,dev-type tun,link-mtu 1544,tun-mtu 1500,proto UDPv4,ifconfig 10.8.0.1 10.8.0.2,cipher BF-CBC,auth SHA1,keysize 128,secret'
Wed Jul 06 14:33:44 2011 us=484000 Expected Remote Options String: 'V4,dev-type tun,link-mtu 1544,tun-mtu 1500,proto UDPv4,ifconfig 10.8.0.2 10.8.0.1,cipher BF-CBC,auth SHA1,keysize 128,secret'
Wed Jul 06 14:33:44 2011 us=484000 Local Options hash (VER=V4): 'd3880969'
Wed Jul 06 14:33:44 2011 us=484000 Expected Remote Options hash (VER=V4): 'c41bf3b8'
Wed Jul 06 14:33:44 2011 us=484000 UDPv4 link local (bound): [undef]:1194
Wed Jul 06 14:33:44 2011 us=484000 UDPv4 link remote: 99.238.163.190:1194
Wed Jul 06 14:34:47 2011 us=890000 TCP/UDP: Closing socket
Wed Jul 06 14:34:47 2011 us=890000 Closing TUN/TAP interface
Wed Jul 06 14:34:47 2011 us=906000 SIGTERM[hard,] received, process exiting
Essentially I am trying to connect to the other server and map a network drive to access a quickbooks file in multi-user mode. So this would require changing one of the lan's IP scheme to be say 192.168.1.x so they are not identical? (Sorry if this is stupid question, but I am a bit confused on the issue - thought the routing handled the translation)

Best regards, Dave melnyk

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: OpenVPN gets stuck at "connecting" state

Post by maikcat » Thu Jul 07, 2011 7:00 am

please also post server logs...

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

dmelnyk
OpenVpn Newbie
Posts: 6
Joined: Mon Jul 04, 2011 10:36 pm

Re: OpenVPN gets stuck at "connecting" state

Post by dmelnyk » Thu Jul 07, 2011 5:44 pm

Hi Michael:

As i noted above, there is no server log of any kind under the logs directory.

Not sure what that means....

Regards, Dave Melnyk

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: OpenVPN gets stuck at "connecting" state

Post by maikcat » Fri Jul 08, 2011 6:31 am

you can use the log directive in combination with verb

example

log /etc/openvpn/openvpn.log
verb 3

i think if you dont specify the log statement all logs go
into /var/log/messages..

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

Unspoken
OpenVpn Newbie
Posts: 1
Joined: Mon Nov 21, 2011 6:40 am

Re: OpenVPN gets stuck at "connecting" state

Post by Unspoken » Mon Nov 21, 2011 6:53 am

Hi Micheal. Yeah, im stuck on a connecting state status. 2 days ago, i can connect to the openvpn when i tried it the other day, im stuck on the UDVP4, im using globe tattoo for the LAN. Can you help me out?

Post Reply