New Installation unable to see network

Need help configuring your VPN? Just post here and you'll get that help.

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

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
ergs
OpenVpn Newbie
Posts: 11
Joined: Mon May 16, 2011 1:32 am

New Installation unable to see network

Post by ergs » Mon May 16, 2011 9:40 am

Hi

I have a Windows 7 machine, I am trying to set this up as the VPN server. I have a 2nd Windows machine setup as a client that I'm using for testing purposes. My goal is to have 2 or more client machines connect via VPN to my Win 7 machine. I am currently testing with my client machine using a 3G dongle.

I have been pulling my hair out trying to get this working. It seems to establish a VPN connection over the internet but I can't ping or see my network. NOTE: I did try the simple configuration earlier and it worked but I can't get the 1 server many clients configuratin working.

Below are my config files and logs, note using mainly the sample config files that come with OpenVPN.

SERVER CONFIG

port 1194

;proto tcp
proto udp

;dev tap
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 6


CLIENT CONFIG

client

;dev tap
dev tun


;proto tcp
proto udp

remote ergs.dynalias.org 1194
;remote my-server-2 1194

resolv-retry infinite

nobind


persist-key
persist-tun

ca ca.crt
cert client1.crt
key client1.key

comp-lzo

verb 6


SERVER LOG

Mon May 16 18:59:49 2011 us=971447 Current Parameter Settings:
Mon May 16 18:59:49 2011 us=972940 config = 'C:\Program Files\OpenVPN\easy-rsa
\keys\server.ovpn'
Mon May 16 18:59:49 2011 us=973048 mode = 1
Mon May 16 18:59:49 2011 us=973105 show_ciphers = DISABLED
Mon May 16 18:59:49 2011 us=973170 show_digests = DISABLED
Mon May 16 18:59:49 2011 us=973223 show_engines = DISABLED
Mon May 16 18:59:49 2011 us=973294 genkey = DISABLED
Mon May 16 18:59:49 2011 us=973346 key_pass_file = '[UNDEF]'
Mon May 16 18:59:49 2011 us=973404 show_tls_ciphers = DISABLED
Mon May 16 18:59:49 2011 us=973457 proto = 0
Mon May 16 18:59:49 2011 us=973508 local = '[UNDEF]'
Mon May 16 18:59:49 2011 us=973560 remote_list = NULL
Mon May 16 18:59:49 2011 us=973632 remote_random = DISABLED
Mon May 16 18:59:49 2011 us=973685 local_port = 1194
Mon May 16 18:59:49 2011 us=973757 remote_port = 1194
Mon May 16 18:59:49 2011 us=973809 remote_float = DISABLED
Mon May 16 18:59:49 2011 us=973861 ipchange = '[UNDEF]'
Mon May 16 18:59:49 2011 us=973913 bind_local = ENABLED
Mon May 16 18:59:49 2011 us=973970 dev = 'tun'
Mon May 16 18:59:49 2011 us=974020 dev_type = '[UNDEF]'
Mon May 16 18:59:49 2011 us=974073 dev_node = '[UNDEF]'
Mon May 16 18:59:49 2011 us=974130 tun_ipv6 = DISABLED
Mon May 16 18:59:49 2011 us=974183 ifconfig_local = '10.8.0.1'
Mon May 16 18:59:49 2011 us=974236 ifconfig_remote_netmask = '10.8.0.2'
Mon May 16 18:59:49 2011 us=974323 ifconfig_noexec = DISABLED
Mon May 16 18:59:49 2011 us=974814 ifconfig_nowarn = DISABLED
Mon May 16 18:59:49 2011 us=975215 shaper = 0
Mon May 16 18:59:49 2011 us=975629 tun_mtu = 1500
Mon May 16 18:59:49 2011 us=976025 tun_mtu_defined = ENABLED
Mon May 16 18:59:49 2011 us=976433 link_mtu = 1500
Mon May 16 18:59:49 2011 us=976897 link_mtu_defined = DISABLED
Mon May 16 18:59:49 2011 us=977323 tun_mtu_extra = 0
Mon May 16 18:59:49 2011 us=977721 tun_mtu_extra_defined = DISABLED
Mon May 16 18:59:49 2011 us=978122 fragment = 0
Mon May 16 18:59:49 2011 us=978531 mtu_discover_type = -1
Mon May 16 18:59:49 2011 us=978946 mtu_test = 0
Mon May 16 18:59:49 2011 us=979353 mlock = DISABLED
Mon May 16 18:59:49 2011 us=979782 keepalive_ping = 10
Mon May 16 18:59:49 2011 us=980189 keepalive_timeout = 120
Mon May 16 18:59:49 2011 us=980610 inactivity_timeout = 0
Mon May 16 18:59:49 2011 us=981054 ping_send_timeout = 10
Mon May 16 18:59:49 2011 us=981142 ping_rec_timeout = 240
Mon May 16 18:59:49 2011 us=981584 ping_rec_timeout_action = 2
Mon May 16 18:59:49 2011 us=982007 ping_timer_remote = DISABLED
Mon May 16 18:59:49 2011 us=982429 remap_sigusr1 = 0
Mon May 16 18:59:49 2011 us=982835 explicit_exit_notification = 0
Mon May 16 18:59:49 2011 us=983250 persist_tun = ENABLED
Mon May 16 18:59:49 2011 us=983668 persist_local_ip = DISABLED
Mon May 16 18:59:49 2011 us=984095 persist_remote_ip = DISABLED
Mon May 16 18:59:49 2011 us=984525 persist_key = ENABLED
Mon May 16 18:59:49 2011 us=984934 mssfix = 1450
Mon May 16 18:59:49 2011 us=985339 resolve_retry_seconds = 1000000000
Mon May 16 18:59:49 2011 us=985822 connect_retry_seconds = 5
Mon May 16 18:59:49 2011 us=985905 username = '[UNDEF]'
Mon May 16 18:59:49 2011 us=985975 groupname = '[UNDEF]'
Mon May 16 18:59:49 2011 us=986100 chroot_dir = '[UNDEF]'
Mon May 16 18:59:49 2011 us=986173 cd_dir = '[UNDEF]'
Mon May 16 18:59:49 2011 us=986248 writepid = '[UNDEF]'
Mon May 16 18:59:49 2011 us=986317 up_script = '[UNDEF]'
Mon May 16 18:59:49 2011 us=986392 down_script = '[UNDEF]'
Mon May 16 18:59:49 2011 us=986462 down_pre = DISABLED
Mon May 16 18:59:49 2011 us=986577 up_restart = DISABLED
Mon May 16 18:59:49 2011 us=986675 up_delay = DISABLED
Mon May 16 18:59:49 2011 us=986752 daemon = DISABLED
Mon May 16 18:59:49 2011 us=986822 inetd = 0
Mon May 16 18:59:49 2011 us=989705 log = DISABLED
Mon May 16 18:59:49 2011 us=990113 suppress_timestamps = DISABLED
Mon May 16 18:59:49 2011 us=990514 nice = 0
Mon May 16 18:59:49 2011 us=990938 verbosity = 6
Mon May 16 18:59:49 2011 us=991329 mute = 0
Mon May 16 18:59:49 2011 us=991724 gremlin = 0
Mon May 16 18:59:49 2011 us=992122 status_file = 'openvpn-status.log'
Mon May 16 18:59:49 2011 us=992546 status_file_version = 1
Mon May 16 18:59:49 2011 us=992959 status_file_update_freq = 60
Mon May 16 18:59:49 2011 us=993363 occ = ENABLED
Mon May 16 18:59:49 2011 us=993758 rcvbuf = 0
Mon May 16 18:59:49 2011 us=994154 sndbuf = 0
Mon May 16 18:59:49 2011 us=994550 socks_proxy_server = '[UNDEF]'
Mon May 16 18:59:49 2011 us=994955 socks_proxy_port = 0
Mon May 16 18:59:50 2011 us=7784 socks_proxy_retry = DISABLED
Mon May 16 18:59:50 2011 us=8195 fast_io = DISABLED
Mon May 16 18:59:50 2011 us=8593 comp_lzo = ENABLED
Mon May 16 18:59:50 2011 us=8996 comp_lzo_adaptive = ENABLED
Mon May 16 18:59:50 2011 us=9393 route_script = '[UNDEF]'
Mon May 16 18:59:50 2011 us=9806 route_default_gateway = '[UNDEF]'
Mon May 16 18:59:50 2011 us=10203 route_noexec = DISABLED
Mon May 16 18:59:50 2011 us=10614 route_delay = 0
Mon May 16 18:59:50 2011 us=11008 route_delay_window = 30
Mon May 16 18:59:50 2011 us=11423 route_delay_defined = DISABLED
Mon May 16 18:59:50 2011 us=11836 route 10.8.0.0/255.255.255.0/nil/nil
Mon May 16 18:59:50 2011 us=12257 management_addr = '[UNDEF]'
Mon May 16 18:59:50 2011 us=15477 management_port = 0
Mon May 16 18:59:50 2011 us=15879 management_user_pass = '[UNDEF]'
Mon May 16 18:59:50 2011 us=16278 management_log_history_cache = 250
Mon May 16 18:59:50 2011 us=16676 management_echo_buffer_size = 100
Mon May 16 18:59:50 2011 us=17074 management_query_passwords = DISABLED
Mon May 16 18:59:50 2011 us=17473 management_hold = DISABLED
Mon May 16 18:59:50 2011 us=17869 shared_secret_file = '[UNDEF]'
Mon May 16 18:59:50 2011 us=18284 key_direction = 0
Mon May 16 18:59:50 2011 us=18679 ciphername_defined = ENABLED
Mon May 16 18:59:50 2011 us=19078 ciphername = 'BF-CBC'
Mon May 16 18:59:50 2011 us=19491 authname_defined = ENABLED
Mon May 16 18:59:50 2011 us=25134 authname = 'SHA1'
Mon May 16 18:59:50 2011 us=25536 keysize = 0
Mon May 16 18:59:50 2011 us=25949 engine = DISABLED
Mon May 16 18:59:50 2011 us=26343 replay = ENABLED
Mon May 16 18:59:50 2011 us=26727 mute_replay_warnings = DISABLED
Mon May 16 18:59:50 2011 us=27123 replay_window = 64
Mon May 16 18:59:50 2011 us=27519 replay_time = 15
Mon May 16 18:59:50 2011 us=27913 packet_id_file = '[UNDEF]'
Mon May 16 18:59:50 2011 us=28316 use_iv = ENABLED
Mon May 16 18:59:50 2011 us=28709 test_crypto = DISABLED
Mon May 16 18:59:50 2011 us=29122 tls_server = ENABLED
Mon May 16 18:59:50 2011 us=29535 tls_client = DISABLED
Mon May 16 18:59:50 2011 us=29932 key_method = 2
Mon May 16 18:59:50 2011 us=30324 ca_file = 'ca.crt'
Mon May 16 18:59:50 2011 us=36153 dh_file = 'dh1024.pem'
Mon May 16 18:59:50 2011 us=36575 cert_file = 'server.crt'
Mon May 16 18:59:50 2011 us=36973 priv_key_file = 'server.key'
Mon May 16 18:59:50 2011 us=37368 pkcs12_file = '[UNDEF]'
Mon May 16 18:59:50 2011 us=37765 cryptoapi_cert = '[UNDEF]'
Mon May 16 18:59:50 2011 us=38178 cipher_list = '[UNDEF]'
Mon May 16 18:59:50 2011 us=38597 tls_verify = '[UNDEF]'
Mon May 16 18:59:50 2011 us=39014 tls_remote = '[UNDEF]'
Mon May 16 18:59:50 2011 us=39410 crl_file = '[UNDEF]'
Mon May 16 18:59:50 2011 us=39801 ns_cert_type = 0
Mon May 16 18:59:50 2011 us=40203 tls_timeout = 2
Mon May 16 18:59:50 2011 us=43783 renegotiate_bytes = 0
Mon May 16 18:59:50 2011 us=44187 renegotiate_packets = 0
Mon May 16 18:59:50 2011 us=44582 renegotiate_seconds = 3600
Mon May 16 18:59:50 2011 us=44994 handshake_window = 60
Mon May 16 18:59:50 2011 us=45380 transition_window = 3600
Mon May 16 18:59:50 2011 us=45805 single_session = DISABLED
Mon May 16 18:59:50 2011 us=46202 tls_exit = DISABLED
Mon May 16 18:59:50 2011 us=46596 tls_auth_file = '[UNDEF]'
Mon May 16 18:59:50 2011 us=46995 server_network = 10.8.0.0
Mon May 16 18:59:50 2011 us=47387 server_netmask = 255.255.255.0
Mon May 16 18:59:50 2011 us=47783 server_bridge_ip = 0.0.0.0
Mon May 16 18:59:50 2011 us=48178 server_bridge_netmask = 0.0.0.0
Mon May 16 18:59:50 2011 us=52657 server_bridge_pool_start = 0.0.0.0
Mon May 16 18:59:50 2011 us=53089 server_bridge_pool_end = 0.0.0.0
Mon May 16 18:59:50 2011 us=53485 push_list = 'route 10.8.0.1,ping 10,ping-res
tart 120'
Mon May 16 18:59:50 2011 us=53932 ifconfig_pool_defined = ENABLED
Mon May 16 18:59:50 2011 us=54321 ifconfig_pool_start = 10.8.0.4
Mon May 16 18:59:50 2011 us=54748 ifconfig_pool_end = 10.8.0.251
Mon May 16 18:59:50 2011 us=55143 ifconfig_pool_netmask = 0.0.0.0
Mon May 16 18:59:50 2011 us=55536 ifconfig_pool_persist_filename = 'ipp.txt'
Mon May 16 18:59:50 2011 us=55933 ifconfig_pool_persist_refresh_freq = 600
Mon May 16 18:59:50 2011 us=56330 ifconfig_pool_linear = DISABLED
Mon May 16 18:59:50 2011 us=56724 n_bcast_buf = 256
Mon May 16 18:59:50 2011 us=59240 tcp_queue_limit = 64
Mon May 16 18:59:50 2011 us=59663 real_hash_size = 256
Mon May 16 18:59:50 2011 us=60072 virtual_hash_size = 256
Mon May 16 18:59:50 2011 us=60471 client_connect_script = '[UNDEF]'
Mon May 16 18:59:50 2011 us=60868 learn_address_script = '[UNDEF]'
Mon May 16 18:59:50 2011 us=61268 client_disconnect_script = '[UNDEF]'
Mon May 16 18:59:50 2011 us=61663 client_config_dir = '[UNDEF]'
Mon May 16 18:59:50 2011 us=62070 ccd_exclusive = DISABLED
Mon May 16 18:59:50 2011 us=62461 tmp_dir = '[UNDEF]'
Mon May 16 18:59:50 2011 us=62861 push_ifconfig_defined = DISABLED
Mon May 16 18:59:50 2011 us=63259 push_ifconfig_local = 0.0.0.0
Mon May 16 18:59:50 2011 us=63675 push_ifconfig_remote_netmask = 0.0.0.0
Mon May 16 18:59:50 2011 us=68796 enable_c2c = DISABLED
Mon May 16 18:59:50 2011 us=69202 duplicate_cn = DISABLED
Mon May 16 18:59:50 2011 us=69635 cf_max = 0
Mon May 16 18:59:50 2011 us=70035 cf_per = 0
Mon May 16 18:59:50 2011 us=70459 max_clients = 1024
Mon May 16 18:59:50 2011 us=70869 max_routes_per_client = 256
Mon May 16 18:59:50 2011 us=71278 client_cert_not_required = DISABLED
Mon May 16 18:59:50 2011 us=71690 username_as_common_name = DISABLED
Mon May 16 18:59:50 2011 us=72098 auth_user_pass_verify_script = '[UNDEF]'
Mon May 16 18:59:50 2011 us=72517 auth_user_pass_verify_script_via_file = DISA
BLED
Mon May 16 18:59:50 2011 us=72964 client = DISABLED
Mon May 16 18:59:50 2011 us=73370 pull = DISABLED
Mon May 16 18:59:50 2011 us=75299 auth_user_pass_file = '[UNDEF]'
Mon May 16 18:59:50 2011 us=75729 show_net_up = DISABLED
Mon May 16 18:59:50 2011 us=76299 route_method = 0
Mon May 16 18:59:50 2011 us=76709 ip_win32_defined = DISABLED
Mon May 16 18:59:50 2011 us=77116 ip_win32_type = 3
Mon May 16 18:59:50 2011 us=77522 dhcp_masq_offset = 0
Mon May 16 18:59:50 2011 us=77931 dhcp_lease_time = 31536000
Mon May 16 18:59:50 2011 us=78338 tap_sleep = 10
Mon May 16 18:59:50 2011 us=78761 dhcp_options = DISABLED
Mon May 16 18:59:50 2011 us=79175 dhcp_renew = DISABLED
Mon May 16 18:59:50 2011 us=79569 dhcp_pre_release = DISABLED
Mon May 16 18:59:50 2011 us=79961 dhcp_release = DISABLED
Mon May 16 18:59:50 2011 us=80353 domain = '[UNDEF]'
Mon May 16 18:59:50 2011 us=85395 netbios_scope = '[UNDEF]'
Mon May 16 18:59:50 2011 us=85818 netbios_node_type = 0
Mon May 16 18:59:50 2011 us=86255 disable_nbt = DISABLED
Mon May 16 18:59:50 2011 us=86674 OpenVPN 2.0.9 Win32-MinGW [SSL] [LZO] built on
Oct 1 2006
Mon May 16 18:59:50 2011 us=104646 Diffie-Hellman initialized with 1024 bit key
Mon May 16 18:59:50 2011 us=139822 TLS-Auth MTU parms [ L:1542 D:138 EF:38 EB:0
ET:0 EL:0 ]
Mon May 16 18:59:50 2011 us=143011 TAP-WIN32 device [Local Area Connection 2] op
ened: \\.\Global\{2F6E8727-EE1A-4CCE-8E19-CFA7944F9F4B}.tap
Mon May 16 18:59:50 2011 us=143163 TAP-Win32 Driver Version 8.4
Mon May 16 18:59:50 2011 us=143643 TAP-Win32 MTU=1500
Mon May 16 18:59:50 2011 us=144123 Notified TAP-Win32 driver to set a DHCP IP/ne
tmask of 10.8.0.1/255.255.255.252 on interface {2F6E8727-EE1A-4CCE-8E19-CFA7944F
9F4B} [DHCP-serv: 10.8.0.2, lease-time: 31536000]
Mon May 16 18:59:50 2011 us=144714 Sleeping for 10 seconds...
Mon May 16 19:00:00 2011 us=147766 Successful ARP Flush on interface [15] {2F6E8
727-EE1A-4CCE-8E19-CFA7944F9F4B}
Mon May 16 19:00:00 2011 us=151179 route ADD 10.8.0.0 MASK 255.255.255.0 10.8.0.
2
Mon May 16 19:00:00 2011 us=153907 ROUTE: route addition failed using CreateIpFo
rwardEntry: One or more arguments are not correct. [if_index=15]
Mon May 16 19:00:00 2011 us=154147 Route addition via IPAPI failed
Mon May 16 19:00:00 2011 us=154986 Data Channel MTU parms [ L:1542 D:1450 EF:42
EB:135 ET:0 EL:0 AF:3/1 ]
Mon May 16 19:00:00 2011 us=155886 Socket Buffers: R=[8192->8192] S=[8192->8192]

Mon May 16 19:00:00 2011 us=156725 UDPv4 link local (bound): [undef]:1194
Mon May 16 19:00:00 2011 us=157496 UDPv4 link remote: [undef]
Mon May 16 19:00:00 2011 us=158284 MULTI: multi_init called, r=256 v=256
Mon May 16 19:00:00 2011 us=159094 IFCONFIG POOL: base=10.8.0.4 size=62
Mon May 16 19:00:00 2011 us=159894 IFCONFIG POOL LIST
Mon May 16 19:00:00 2011 us=160650 client1,10.8.0.4
Mon May 16 19:00:00 2011 us=161478 Initialization Sequence Completed



CLIENT LOG

Mon May 16 18:33:34 2011 us=296000 Local Options String: 'V4,dev-type tun,link-m
tu 1542,tun-mtu 1500,proto UDPv4,comp-lzo,cipher BF-CBC,auth SHA1,keysize 128,ke
y-method 2,tls-client'
Mon May 16 18:33:34 2011 us=296000 Expected Remote Options String: 'V4,dev-type
tun,link-mtu 1542,tun-mtu 1500,proto UDPv4,comp-lzo,cipher BF-CBC,auth SHA1,keys
ize 128,key-method 2,tls-server'
Mon May 16 18:33:34 2011 us=296000 Local Options hash (VER=V4): '41690919'
Mon May 16 18:33:34 2011 us=296000 Expected Remote Options hash (VER=V4): '530fd
ded'
Mon May 16 18:33:34 2011 us=296000 UDPv4 link local: [undef]
Mon May 16 18:33:34 2011 us=296000 UDPv4 link remote: 58.110.212.197:1194
Mon May 16 18:33:34 2011 us=312000 UDPv4 WRITE [14] to 58.110.212.197:1194: P_CO
NTROL_HARD_RESET_CLIENT_V2 kid=0 [ ] pid=0 DATA len=0
Mon May 16 18:33:34 2011 us=328000 UDPv4 READ [0] from [undef]: DATA UNDEF len=-
1
Mon May 16 18:33:34 2011 us=484000 UDPv4 READ [26] from 58.110.212.197:1194: P_C
ONTROL_HARD_RESET_SERVER_V2 kid=0 [ 0 ] pid=0 DATA len=0
Mon May 16 18:33:34 2011 us=484000 TLS: Initial packet from 58.110.212.197:1194,
sid=fbaa1295 e224c64d
Mon May 16 18:33:34 2011 us=484000 UDPv4 WRITE [22] to 58.110.212.197:1194: P_AC
K_V1 kid=0 [ 0 ]
Mon May 16 18:33:34 2011 us=484000 UDPv4 WRITE [114] to 58.110.212.197:1194: P_C
ONTROL_V1 kid=0 [ ] pid=1 DATA len=100
Mon May 16 18:33:34 2011 us=484000 UDPv4 WRITE [114] to 58.110.212.197:1194: P_C
ONTROL_V1 kid=0 [ ] pid=2 DATA len=100
Mon May 16 18:33:34 2011 us=484000 UDPv4 WRITE [24] to 58.110.212.197:1194: P_CO
NTROL_V1 kid=0 [ ] pid=3 DATA len=10
Mon May 16 18:33:34 2011 us=640000 UDPv4 READ [22] from 58.110.212.197:1194: P_A
CK_V1 kid=0 [ 1 ]
Mon May 16 18:33:34 2011 us=640000 UDPv4 READ [22] from 58.110.212.197:1194: P_A
CK_V1 kid=0 [ 2 ]
Mon May 16 18:33:34 2011 us=671000 UDPv4 READ [126] from 58.110.212.197:1194: P_
CONTROL_V1 kid=0 [ 3 ] pid=1 DATA len=100
Mon May 16 18:33:34 2011 us=687000 UDPv4 WRITE [22] to 58.110.212.197:1194: P_AC
K_V1 kid=0 [ 1 ]
Mon May 16 18:33:34 2011 us=687000 UDPv4 READ [114] from 58.110.212.197:1194: P_
CONTROL_V1 kid=0 [ ] pid=2 DATA len=100
Mon May 16 18:33:34 2011 us=687000 UDPv4 WRITE [22] to 58.110.212.197:1194: P_AC
K_V1 kid=0 [ 2 ]
Mon May 16 18:33:34 2011 us=687000 UDPv4 READ [114] from 58.110.212.197:1194: P_
CONTROL_V1 kid=0 [ ] pid=3 DATA len=100
Mon May 16 18:33:34 2011 us=687000 UDPv4 WRITE [22] to 58.110.212.197:1194: P_AC
K_V1 kid=0 [ 3 ]
Mon May 16 18:33:34 2011 us=687000 UDPv4 READ [114] from 58.110.212.197:1194: P_
CONTROL_V1 kid=0 [ ] pid=4 DATA len=100
Mon May 16 18:33:34 2011 us=687000 UDPv4 WRITE [22] to 58.110.212.197:1194: P_AC
K_V1 kid=0 [ 4 ]
Mon May 16 18:33:34 2011 us=781000 UDPv4 READ [114] from 58.110.212.197:1194: P_
CONTROL_V1 kid=0 [ ] pid=5 DATA len=100
Mon May 16 18:33:34 2011 us=781000 UDPv4 WRITE [22] to 58.110.212.197:1194: P_AC
K_V1 kid=0 [ 5 ]
Mon May 16 18:33:34 2011 us=781000 UDPv4 READ [114] from 58.110.212.197:1194: P_
CONTROL_V1 kid=0 [ ] pid=6 DATA len=100
Mon May 16 18:33:34 2011 us=781000 UDPv4 WRITE [22] to 58.110.212.197:1194: P_AC
K_V1 kid=0 [ 6 ]
Mon May 16 18:33:34 2011 us=781000 UDPv4 READ [114] from 58.110.212.197:1194: P_
CONTROL_V1 kid=0 [ ] pid=7 DATA len=100
Mon May 16 18:33:34 2011 us=781000 UDPv4 WRITE [22] to 58.110.212.197:1194: P_AC
K_V1 kid=0 [ 7 ]
Mon May 16 18:33:34 2011 us=781000 UDPv4 READ [114] from 58.110.212.197:1194: P_
CONTROL_V1 kid=0 [ ] pid=8 DATA len=100
Mon May 16 18:33:34 2011 us=796000 UDPv4 WRITE [22] to 58.110.212.197:1194: P_AC
K_V1 kid=0 [ 8 ]
Mon May 16 18:33:34 2011 us=875000 UDPv4 READ [114] from 58.110.212.197:1194: P_
CONTROL_V1 kid=0 [ ] pid=9 DATA len=100
Mon May 16 18:33:34 2011 us=875000 UDPv4 WRITE [22] to 58.110.212.197:1194: P_AC
K_V1 kid=0 [ 9 ]
Mon May 16 18:33:34 2011 us=890000 UDPv4 READ [114] from 58.110.212.197:1194: P_
CONTROL_V1 kid=0 [ ] pid=10 DATA len=100
Mon May 16 18:33:34 2011 us=890000 UDPv4 WRITE [22] to 58.110.212.197:1194: P_AC
K_V1 kid=0 [ 10 ]
Mon May 16 18:33:34 2011 us=890000 UDPv4 READ [114] from 58.110.212.197:1194: P_
CONTROL_V1 kid=0 [ ] pid=11 DATA len=100
Mon May 16 18:33:34 2011 us=890000 UDPv4 WRITE [22] to 58.110.212.197:1194: P_AC
K_V1 kid=0 [ 11 ]
Mon May 16 18:33:34 2011 us=890000 UDPv4 READ [114] from 58.110.212.197:1194: P_
CONTROL_V1 kid=0 [ ] pid=12 DATA len=100
Mon May 16 18:33:34 2011 us=890000 UDPv4 WRITE [22] to 58.110.212.197:1194: P_AC
K_V1 kid=0 [ 12 ]
Mon May 16 18:33:34 2011 us=968000 UDPv4 READ [114] from 58.110.212.197:1194: P_
CONTROL_V1 kid=0 [ ] pid=13 DATA len=100
Mon May 16 18:33:34 2011 us=968000 UDPv4 WRITE [22] to 58.110.212.197:1194: P_AC
K_V1 kid=0 [ 13 ]
Mon May 16 18:33:34 2011 us=984000 UDPv4 READ [114] from 58.110.212.197:1194: P_
CONTROL_V1 kid=0 [ ] pid=14 DATA len=100
Mon May 16 18:33:34 2011 us=984000 UDPv4 WRITE [22] to 58.110.212.197:1194: P_AC
K_V1 kid=0 [ 14 ]
Mon May 16 18:33:34 2011 us=984000 UDPv4 READ [114] from 58.110.212.197:1194: P_
CONTROL_V1 kid=0 [ ] pid=15 DATA len=100
Mon May 16 18:33:34 2011 us=984000 UDPv4 WRITE [22] to 58.110.212.197:1194: P_AC
K_V1 kid=0 [ 15 ]
Mon May 16 18:33:34 2011 us=984000 UDPv4 READ [114] from 58.110.212.197:1194: P_
CONTROL_V1 kid=0 [ ] pid=16 DATA len=100
Mon May 16 18:33:34 2011 us=984000 UDPv4 WRITE [22] to 58.110.212.197:1194: P_AC
K_V1 kid=0 [ 16 ]
Mon May 16 18:33:35 2011 us=62000 UDPv4 READ [114] from 58.110.212.197:1194: P_C
ONTROL_V1 kid=0 [ ] pid=17 DATA len=100
Mon May 16 18:33:35 2011 us=62000 UDPv4 WRITE [22] to 58.110.212.197:1194: P_ACK
_V1 kid=0 [ 17 ]
Mon May 16 18:33:35 2011 us=62000 UDPv4 READ [114] from 58.110.212.197:1194: P_C
ONTROL_V1 kid=0 [ ] pid=18 DATA len=100
Mon May 16 18:33:35 2011 us=78000 VERIFY OK: depth=1, /C=AU/ST=NSW/L=Sydney/O=PC
Ezi/CN=pc-win701/emailAddress=ergs@pcezi.com.au
Mon May 16 18:33:35 2011 us=78000 VERIFY OK: depth=0, /C=AU/ST=NSW/O=PCEzi/CN=se
rver/emailAddress=ergs@pcezi.com.au
Mon May 16 18:33:35 2011 us=78000 UDPv4 WRITE [22] to 58.110.212.197:1194: P_ACK
_V1 kid=0 [ 18 ]
Mon May 16 18:33:35 2011 us=78000 UDPv4 READ [114] from 58.110.212.197:1194: P_C
ONTROL_V1 kid=0 [ ] pid=19 DATA len=100
Mon May 16 18:33:35 2011 us=78000 UDPv4 WRITE [22] to 58.110.212.197:1194: P_ACK
_V1 kid=0 [ 19 ]
Mon May 16 18:33:35 2011 us=93000 UDPv4 READ [114] from 58.110.212.197:1194: P_C
ONTROL_V1 kid=0 [ ] pid=20 DATA len=100
Mon May 16 18:33:35 2011 us=93000 UDPv4 WRITE [22] to 58.110.212.197:1194: P_ACK
_V1 kid=0 [ 20 ]
Mon May 16 18:33:35 2011 us=156000 UDPv4 READ [114] from 58.110.212.197:1194: P_
CONTROL_V1 kid=0 [ ] pid=21 DATA len=100
Mon May 16 18:33:35 2011 us=171000 UDPv4 WRITE [22] to 58.110.212.197:1194: P_AC
K_V1 kid=0 [ 21 ]
Mon May 16 18:33:35 2011 us=171000 UDPv4 READ [114] from 58.110.212.197:1194: P_
CONTROL_V1 kid=0 [ ] pid=22 DATA len=100
Mon May 16 18:33:35 2011 us=171000 UDPv4 WRITE [22] to 58.110.212.197:1194: P_AC
K_V1 kid=0 [ 22 ]
Mon May 16 18:33:35 2011 us=187000 UDPv4 READ [114] from 58.110.212.197:1194: P_
CONTROL_V1 kid=0 [ ] pid=23 DATA len=100
Mon May 16 18:33:35 2011 us=187000 UDPv4 WRITE [22] to 58.110.212.197:1194: P_AC
K_V1 kid=0 [ 23 ]
Mon May 16 18:33:35 2011 us=187000 UDPv4 READ [22] from 58.110.212.197:1194: P_C
ONTROL_V1 kid=0 [ ] pid=24 DATA len=8
Mon May 16 18:33:35 2011 us=203000 UDPv4 WRITE [126] to 58.110.212.197:1194: P_C
ONTROL_V1 kid=0 [ 24 ] pid=4 DATA len=100
Mon May 16 18:33:35 2011 us=203000 UDPv4 WRITE [114] to 58.110.212.197:1194: P_C
ONTROL_V1 kid=0 [ ] pid=5 DATA len=100
Mon May 16 18:33:35 2011 us=203000 UDPv4 WRITE [114] to 58.110.212.197:1194: P_C
ONTROL_V1 kid=0 [ ] pid=6 DATA len=100
Mon May 16 18:33:35 2011 us=203000 UDPv4 WRITE [114] to 58.110.212.197:1194: P_C
ONTROL_V1 kid=0 [ ] pid=7 DATA len=100
Mon May 16 18:33:35 2011 us=296000 UDPv4 READ [22] from 58.110.212.197:1194: P_A
CK_V1 kid=0 [ 4 ]
Mon May 16 18:33:35 2011 us=296000 UDPv4 WRITE [114] to 58.110.212.197:1194: P_C
ONTROL_V1 kid=0 [ ] pid=8 DATA len=100
Mon May 16 18:33:35 2011 us=312000 UDPv4 READ [22] from 58.110.212.197:1194: P_A
CK_V1 kid=0 [ 5 ]
Mon May 16 18:33:35 2011 us=312000 UDPv4 WRITE [114] to 58.110.212.197:1194: P_C
ONTROL_V1 kid=0 [ ] pid=9 DATA len=100
Mon May 16 18:33:35 2011 us=312000 UDPv4 READ [22] from 58.110.212.197:1194: P_A
CK_V1 kid=0 [ 6 ]
Mon May 16 18:33:35 2011 us=328000 UDPv4 WRITE [114] to 58.110.212.197:1194: P_C
ONTROL_V1 kid=0 [ ] pid=10 DATA len=100
Mon May 16 18:33:35 2011 us=328000 UDPv4 READ [22] from 58.110.212.197:1194: P_A
CK_V1 kid=0 [ 7 ]
Mon May 16 18:33:35 2011 us=328000 UDPv4 WRITE [114] to 58.110.212.197:1194: P_C
ONTROL_V1 kid=0 [ ] pid=11 DATA len=100
Mon May 16 18:33:35 2011 us=375000 UDPv4 READ [22] from 58.110.212.197:1194: P_A
CK_V1 kid=0 [ 8 ]
Mon May 16 18:33:35 2011 us=375000 UDPv4 WRITE [114] to 58.110.212.197:1194: P_C
ONTROL_V1 kid=0 [ ] pid=12 DATA len=100
Mon May 16 18:33:35 2011 us=406000 UDPv4 READ [22] from 58.110.212.197:1194: P_A
CK_V1 kid=0 [ 9 ]
Mon May 16 18:33:35 2011 us=406000 UDPv4 WRITE [114] to 58.110.212.197:1194: P_C
ONTROL_V1 kid=0 [ ] pid=13 DATA len=100
Mon May 16 18:33:35 2011 us=421000 UDPv4 READ [22] from 58.110.212.197:1194: P_A
CK_V1 kid=0 [ 10 ]
Mon May 16 18:33:35 2011 us=421000 UDPv4 WRITE [114] to 58.110.212.197:1194: P_C
ONTROL_V1 kid=0 [ ] pid=14 DATA len=100
Mon May 16 18:33:35 2011 us=421000 UDPv4 READ [22] from 58.110.212.197:1194: P_A
CK_V1 kid=0 [ 11 ]
Mon May 16 18:33:35 2011 us=421000 UDPv4 WRITE [114] to 58.110.212.197:1194: P_C
ONTROL_V1 kid=0 [ ] pid=15 DATA len=100
Mon May 16 18:33:35 2011 us=484000 UDPv4 READ [22] from 58.110.212.197:1194: P_A
CK_V1 kid=0 [ 12 ]
Mon May 16 18:33:35 2011 us=484000 UDPv4 WRITE [114] to 58.110.212.197:1194: P_C
ONTROL_V1 kid=0 [ ] pid=16 DATA len=100
Mon May 16 18:33:35 2011 us=484000 UDPv4 READ [22] from 58.110.212.197:1194: P_A
CK_V1 kid=0 [ 13 ]
Mon May 16 18:33:35 2011 us=500000 UDPv4 WRITE [114] to 58.110.212.197:1194: P_C
ONTROL_V1 kid=0 [ ] pid=17 DATA len=100
Mon May 16 18:33:35 2011 us=515000 UDPv4 READ [22] from 58.110.212.197:1194: P_A
CK_V1 kid=0 [ 14 ]
Mon May 16 18:33:35 2011 us=515000 UDPv4 WRITE [114] to 58.110.212.197:1194: P_C
ONTROL_V1 kid=0 [ ] pid=18 DATA len=100
Mon May 16 18:33:35 2011 us=515000 UDPv4 READ [22] from 58.110.212.197:1194: P_A
CK_V1 kid=0 [ 15 ]
Mon May 16 18:33:35 2011 us=515000 UDPv4 WRITE [114] to 58.110.212.197:1194: P_C
ONTROL_V1 kid=0 [ ] pid=19 DATA len=100
Mon May 16 18:33:35 2011 us=562000 UDPv4 READ [22] from 58.110.212.197:1194: P_A
CK_V1 kid=0 [ 16 ]
Mon May 16 18:33:35 2011 us=578000 UDPv4 WRITE [114] to 58.110.212.197:1194: P_C
ONTROL_V1 kid=0 [ ] pid=20 DATA len=100
Mon May 16 18:33:35 2011 us=578000 UDPv4 READ [22] from 58.110.212.197:1194: P_A
CK_V1 kid=0 [ 17 ]
Mon May 16 18:33:35 2011 us=578000 UDPv4 WRITE [114] to 58.110.212.197:1194: P_C
ONTROL_V1 kid=0 [ ] pid=21 DATA len=100
Mon May 16 18:33:35 2011 us=640000 UDPv4 READ [22] from 58.110.212.197:1194: P_A
CK_V1 kid=0 [ 18 ]
Mon May 16 18:33:35 2011 us=640000 UDPv4 WRITE [114] to 58.110.212.197:1194: P_C
ONTROL_V1 kid=0 [ ] pid=22 DATA len=100
Mon May 16 18:33:35 2011 us=640000 UDPv4 READ [22] from 58.110.212.197:1194: P_A
CK_V1 kid=0 [ 19 ]
Mon May 16 18:33:35 2011 us=640000 UDPv4 WRITE [114] to 58.110.212.197:1194: P_C
ONTROL_V1 kid=0 [ ] pid=23 DATA len=100
Mon May 16 18:33:35 2011 us=703000 UDPv4 READ [22] from 58.110.212.197:1194: P_A
CK_V1 kid=0 [ 20 ]
Mon May 16 18:33:35 2011 us=703000 UDPv4 WRITE [46] to 58.110.212.197:1194: P_CO
NTROL_V1 kid=0 [ ] pid=24 DATA len=32
Mon May 16 18:33:35 2011 us=703000 UDPv4 READ [22] from 58.110.212.197:1194: P_A
CK_V1 kid=0 [ 21 ]
Mon May 16 18:33:35 2011 us=796000 UDPv4 READ [22] from 58.110.212.197:1194: P_A
CK_V1 kid=0 [ 22 ]
Mon May 16 18:33:35 2011 us=796000 UDPv4 READ [22] from 58.110.212.197:1194: P_A
CK_V1 kid=0 [ 23 ]
Mon May 16 18:33:35 2011 us=828000 UDPv4 READ [85] from 58.110.212.197:1194: P_C
ONTROL_V1 kid=0 [ 24 ] pid=25 DATA len=59
Mon May 16 18:33:35 2011 us=828000 UDPv4 WRITE [126] to 58.110.212.197:1194: P_C
ONTROL_V1 kid=0 [ 25 ] pid=25 DATA len=100
Mon May 16 18:33:35 2011 us=828000 UDPv4 WRITE [114] to 58.110.212.197:1194: P_C
ONTROL_V1 kid=0 [ ] pid=26 DATA len=100
Mon May 16 18:33:35 2011 us=828000 UDPv4 WRITE [114] to 58.110.212.197:1194: P_C
ONTROL_V1 kid=0 [ ] pid=27 DATA len=100
Mon May 16 18:33:35 2011 us=828000 UDPv4 WRITE [28] to 58.110.212.197:1194: P_CO
NTROL_V1 kid=0 [ ] pid=28 DATA len=14
Mon May 16 18:33:35 2011 us=906000 UDPv4 READ [22] from 58.110.212.197:1194: P_A
CK_V1 kid=0 [ 25 ]
Mon May 16 18:33:35 2011 us=921000 UDPv4 READ [22] from 58.110.212.197:1194: P_A
CK_V1 kid=0 [ 26 ]
Mon May 16 18:33:35 2011 us=921000 UDPv4 READ [22] from 58.110.212.197:1194: P_A
CK_V1 kid=0 [ 27 ]
Mon May 16 18:33:35 2011 us=937000 UDPv4 READ [126] from 58.110.212.197:1194: P_
CONTROL_V1 kid=0 [ 28 ] pid=26 DATA len=100
Mon May 16 18:33:35 2011 us=937000 UDPv4 WRITE [22] to 58.110.212.197:1194: P_AC
K_V1 kid=0 [ 26 ]
Mon May 16 18:33:35 2011 us=937000 UDPv4 READ [114] from 58.110.212.197:1194: P_
CONTROL_V1 kid=0 [ ] pid=27 DATA len=100
Mon May 16 18:33:35 2011 us=937000 UDPv4 WRITE [22] to 58.110.212.197:1194: P_AC
K_V1 kid=0 [ 27 ]
Mon May 16 18:33:35 2011 us=937000 UDPv4 READ [80] from 58.110.212.197:1194: P_C
ONTROL_V1 kid=0 [ ] pid=28 DATA len=66
Mon May 16 18:33:35 2011 us=937000 Data Channel Encrypt: Cipher 'BF-CBC' initial
ized with 128 bit key
Mon May 16 18:33:35 2011 us=937000 Data Channel Encrypt: Using 160 bit message h
ash 'SHA1' for HMAC authentication
Mon May 16 18:33:35 2011 us=937000 Data Channel Decrypt: Cipher 'BF-CBC' initial
ized with 128 bit key
Mon May 16 18:33:35 2011 us=953000 Data Channel Decrypt: Using 160 bit message h
ash 'SHA1' for HMAC authentication
Mon May 16 18:33:35 2011 us=953000 UDPv4 WRITE [22] to 58.110.212.197:1194: P_AC
K_V1 kid=0 [ 28 ]
Mon May 16 18:33:35 2011 us=953000 Control Channel: TLSv1, cipher TLSv1/SSLv3 DH
E-RSA-AES256-SHA, 1024 bit RSA
Mon May 16 18:33:35 2011 us=953000 [server] Peer Connection Initiated with 58.11
0.212.197:1194
Mon May 16 18:33:38 2011 us=390000 SENT CONTROL [server]: 'PUSH_REQUEST' (status
=1)
Mon May 16 18:33:38 2011 us=390000 UDPv4 WRITE [104] to 58.110.212.197:1194: P_C
ONTROL_V1 kid=0 [ ] pid=29 DATA len=90
Mon May 16 18:33:38 2011 us=546000 UDPv4 READ [22] from 58.110.212.197:1194: P_A
CK_V1 kid=0 [ 29 ]
Mon May 16 18:33:38 2011 us=546000 UDPv4 READ [114] from 58.110.212.197:1194: P_
CONTROL_V1 kid=0 [ ] pid=29 DATA len=100
Mon May 16 18:33:38 2011 us=546000 UDPv4 WRITE [22] to 58.110.212.197:1194: P_AC
K_V1 kid=0 [ 29 ]
Mon May 16 18:33:38 2011 us=546000 UDPv4 READ [68] from 58.110.212.197:1194: P_C
ONTROL_V1 kid=0 [ ] pid=30 DATA len=54
Mon May 16 18:33:38 2011 us=546000 PUSH: Received control message: 'PUSH_REPLY,r
oute 10.8.0.1,ping 10,ping-restart 120,ifconfig 10.8.0.6 10.8.0.5'
Mon May 16 18:33:38 2011 us=546000 OPTIONS IMPORT: timers and/or timeouts modifi
ed
Mon May 16 18:33:38 2011 us=546000 OPTIONS IMPORT: --ifconfig/up options modifie
d
Mon May 16 18:33:38 2011 us=546000 OPTIONS IMPORT: route options modified
Mon May 16 18:33:38 2011 us=578000 ROUTE default_gateway=192.168.237.2
Mon May 16 18:33:38 2011 us=609000 TAP-WIN32 device [Local Area Connection 2] op
ened: \\.\Global\{0C5D3523-F900-44B6-ADA7-3714412B8A04}.tap
Mon May 16 18:33:38 2011 us=625000 TAP-Win32 Driver Version 9.8
Mon May 16 18:33:38 2011 us=625000 TAP-Win32 MTU=1500
Mon May 16 18:33:38 2011 us=625000 Notified TAP-Win32 driver to set a DHCP IP/ne
tmask of 10.8.0.6/255.255.255.252 on interface {0C5D3523-F900-44B6-ADA7-3714412B
8A04} [DHCP-serv: 10.8.0.5, lease-time: 31536000]
Mon May 16 18:33:38 2011 us=625000 Successful ARP Flush on interface [3] {0C5D35
23-F900-44B6-ADA7-3714412B8A04}
Mon May 16 18:33:38 2011 us=625000 UDPv4 WRITE [22] to 58.110.212.197:1194: P_AC
K_V1 kid=0 [ 30 ]
Mon May 16 18:33:43 2011 us=500000 TEST ROUTES: 0/0 succeeded len=1 ret=0 a=0 u/
d=down
Mon May 16 18:33:43 2011 us=500000 Route: Waiting for TUN/TAP interface to come
up...
Mon May 16 18:33:48 2011 us=515000 TEST ROUTES: 1/1 succeeded len=1 ret=1 a=0 u/
d=up
Mon May 16 18:33:48 2011 us=515000 C:\WINDOWS\system32\route.exe ADD 10.8.0.1 MA
SK 255.255.255.255 10.8.0.5
Mon May 16 18:33:48 2011 us=562000 Route addition via IPAPI succeeded [adaptive]

Mon May 16 18:33:48 2011 us=562000 Initialization Sequence Completed
Mon May 16 18:33:48 2011 us=562000 UDPv4 WRITE [53] to 58.110.212.197:1194: P_DA
TA_V1 kid=0 DATA len=52
Mon May 16 18:33:53 2011 us=78000 UDPv4 READ [53] from 58.110.212.197:1194: P_DA
TA_V1 kid=0 DATA len=52
Mon May 16 18:33:58 2011 us=375000 UDPv4 WRITE [53] to 58.110.212.197:1194: P_DA
TA_V1 kid=0 DATA len=52

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: New Installation unable to see network

Post by janjust » Mon May 16, 2011 10:05 am

what the windows version of the openvpn server? I see openvpn 2.0.9 and tap-win32 8.4, which are not supported on windows 7; please make sure that you've upgraded to openvpn 2.2 and tap-win32 9.8 on all win7 boxes.

BTW, the client connect log looks OK, can you ping the server IP (10.8.0.1) afterwards?

ergs
OpenVpn Newbie
Posts: 11
Joined: Mon May 16, 2011 1:32 am

Re: New Installation unable to see network

Post by ergs » Mon May 16, 2011 2:00 pm

OK I was downloading and using the GUI version by Mathias Sundman's, in hindsight it is packaged with OpenVPN 2.0.9

Things got a bit messy so I uninstalled OpenVPN, deleted all files and did a system restore to a few days ago to start fresh.

I went to http://openvpn.net/index.php/open-source/downloads.html and downloaded and installed "openvpn-2.2.0-install.exe". This version looks a fair bit different to the previous one I was playing with. To be honest I feel very lost, don't know where to start from.

If I follow the HOWTO, I get the following error when I run "init-config":
C:\Program Files\OpenVPN\easy-rsa>copy openssl.cnf.sample openssl.cnf
The system cannot find the file specified.


What am I doing wrong? I can't even get past the 1st step now?

paranoidsystems
OpenVpn Newbie
Posts: 7
Joined: Sun May 01, 2011 11:27 am

Re: New Installation unable to see network

Post by paranoidsystems » Mon May 16, 2011 7:32 pm

On windows clients you need double slashes

"C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\client1.crt"


for example

ergs
OpenVpn Newbie
Posts: 11
Joined: Mon May 16, 2011 1:32 am

Re: New Installation unable to see network

Post by ergs » Mon May 16, 2011 10:05 pm

Please ignore all the initial information, this is a fresh install.... I'm not up to the part where I create certificates. It is the very 1st few steps
http://openvpn.net/index.php/open-sourc ... howto.html

It says to do as follows for Windows installations:
1.init-config
2. vars
3. clean-all
4. build-ca

I get the error during step 4 "build-ca", there is an error during the init-config, it can't find "openssl.cnf.sample" see command prompt output below.

C:\Program Files>cd OpenVPN

C:\Program Files\OpenVPN>cd easy-rsa

C:\Program Files\OpenVPN\easy-rsa>init-config

C:\Program Files\OpenVPN\easy-rsa>copy vars.bat.sample vars.bat
1 file(s) copied.

C:\Program Files\OpenVPN\easy-rsa>copy openssl.cnf.sample openssl.cnf
The system cannot find the file specified.

C:\Program Files\OpenVPN\easy-rsa>vars

C:\Program Files\OpenVPN\easy-rsa>clean-all
1 file(s) copied.
1 file(s) copied.

C:\Program Files\OpenVPN\easy-rsa>build-ca
WARNING: can't open config file: c:\openssl/ssl/openssl.cnf
error on line 150 of openssl.cnf
5548:error:0E065068:configuration file routines:STR_COPY:variable has no value:.
\crypto\conf\conf_def.c:618:line 150

C:\Program Files\OpenVPN\easy-rsa>

ergs
OpenVpn Newbie
Posts: 11
Joined: Mon May 16, 2011 1:32 am

Re: New Installation unable to see network

Post by ergs » Mon May 16, 2011 10:07 pm

I have searched the directory structure and sure enough there is no "openssl.cnf.sample" file, I can't see any other obvious install instructions?

ergs
OpenVpn Newbie
Posts: 11
Joined: Mon May 16, 2011 1:32 am

Re: New Installation unable to see network

Post by ergs » Mon May 16, 2011 11:14 pm

I was googling around and found that others were having problems with 2.2.0, and they mentioned that 2.1.4 worked for them with Windows 7. So I downloaded and tried 2.1.4, now getting different errors?

C:\Program Files\OpenVPN\easy-rsa>init-config

C:\Program Files\OpenVPN\easy-rsa>copy vars.bat.sample vars.bat
1 file(s) copied.

C:\Program Files\OpenVPN\easy-rsa>copy openssl.cnf.sample openssl.cnf
1 file(s) copied.

C:\Program Files\OpenVPN\easy-rsa>vars

C:\Program Files\OpenVPN\easy-rsa>clean-all
The system cannot find the file specified.
1 file(s) copied.
1 file(s) copied.

C:\Program Files\OpenVPN\easy-rsa>build-ca
error on line 120 of openssl.cnf
3796:error:0E065068:configuration file routines:STR_COPY:variable has no value:.
\crypto\conf\conf_def.c:629:line 120

C:\Program Files\OpenVPN\easy-rsa>



Am I doing something fundumentally wrong? I would really really appreciate some help. It would seem that the clostest I got to getting this thing working was with a version not supported on Windows 7? Really stuggling with this, been working on it for 3 days and lots of hours.

Happy to take any direction? Happy to do a system restore and start fresh witha version that will actually work. What I don't understand is why I'm having such problems in the first few steps.... surely other Windows 7 users would have experienced the same problems?

note: I did try both version 2.2 and 2.14 on 2 different windows 7 machines incase it was clashing with something else, both give the same result.

I logon as the Administrator user to make sure it isn't a permissions thing.

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: New Installation unable to see network

Post by janjust » Tue May 17, 2011 10:31 am

try editing the vars.bat file before running - there are some settings that you need to adjust for your particular CA setup.
See
http://openvpn.net/index.php/open-sourc ... o.html#pki
for details.

ergs
OpenVpn Newbie
Posts: 11
Joined: Mon May 16, 2011 1:32 am

Re: New Installation unable to see network

Post by ergs » Tue May 17, 2011 1:23 pm

yeh looking but not sure what I'm missing..... I've spent another day going round in circles.... feel like giving up

ergs
OpenVpn Newbie
Posts: 11
Joined: Mon May 16, 2011 1:32 am

Re: New Installation unable to see network

Post by ergs » Tue May 17, 2011 1:25 pm

tried instructions from:
http://www.runpcrun.com/howtoopenvpn

tried old versions new versions keep getting different error... "No server verification method"

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: New Installation unable to see network

Post by janjust » Tue May 17, 2011 1:28 pm

1) edit the vars.bat file, make sure KEY_COUNTRY, KEY_PROVINCE, KEY_CITY, KEY_ORG, and KEY_EMAIL are set
2) source the vars.bat file again (simply type 'vars')
3) check whether the right env vars are set

Code: Select all

echo %KEY_COUNTRY%
echo %KEY_PROVINCE%
echo %KEY_CITYy%
echo %KEY_ORG%
echo %KEY_EMAIL%
4) re-run the 'build-ca' batch file once more

report any warnings or errors here so we can have a look at em.

ergs
OpenVpn Newbie
Posts: 11
Joined: Mon May 16, 2011 1:32 am

Re: New Installation unable to see network

Post by ergs » Thu May 19, 2011 4:56 am

Hi Janjust.... thanks for your help. I have managed to get the VPN's working using version 2.1.4..... not sure exactly what was stopping me with previous attempts. I deleted everything started fresh and it all seemed to work.

I do have a question about the VPN server, when OpenVPN is running on the server does this stop other "local" non-vpn clients from accessing applications on the server?

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: New Installation unable to see network

Post by janjust » Thu May 19, 2011 8:18 am

I do have a question about the VPN server, when OpenVPN is running on the server does this stop other "local" non-vpn clients from accessing applications on the server?
it shouldn't , but it depends a bit on your setup - especially bridging can have some unintended side-effects in combination with firewall rules.

ergs
OpenVpn Newbie
Posts: 11
Joined: Mon May 16, 2011 1:32 am

Re: New Installation unable to see network

Post by ergs » Fri May 20, 2011 3:39 am

THANKS for all your help - I have everything working well.... apart from Windows Firewall, I have to have Public firewall disabled to get it working properly, I tried just allowing port 1194 but just wouldn't work.

Just want to add for the sake of others that may be trying.... I found the 1 crutial part to getting this working was to make sure the user has modify access to the directory structure and make everything run as administrator. Just being a memeber of Administrators is not enough!

THANKS again for you time.

Post Reply