Still no go, I restarted the computer to make sure the regedit had taken effect and it still the same problem. I also verified that numerical value had been changed from a 0 to 1. Which it had. I decided to basically start over, uninstalled OpenVPN and installed a fresh 64 bit version I didn't change the static route created in the router and left the 1194 port open on the firewall. Port forwarding is on. My server config is:
port 1194
proto udp
dev tun
ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\config\\server.crt"
key "C:\\Program Files\\OpenVPN\\config\\server.key" # This file should be kept secret
dh "C:\\Program Files\\OpenVPN\\config\\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
push "redirect-gateway def1"
push "dhcp-option DNS 8.8.8.8"
push "route 192.168.1.0 255.255.255.0"
Client Config File is:
client
dev tun
proto udp
remote myserver 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\config\\js-laptop2.crt"
key "C:\\Program Files\\OpenVPN\\config\\js-laptop2.key"
remote-cert-tls server
comp-lzo
verb 3
I hook my iPhone to my laptop and try to connect to the VPN, this is the log I get on the client side:
Tue Apr 12 14:48:39 2016 OpenVPN 2.3.10 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [IPv6] built on Mar 10 2016
Tue Apr 12 14:48:39 2016 Windows version 6.2 (Windows 8 or greater)
Tue Apr 12 14:48:39 2016 library versions: OpenSSL 1.0.1s 1 Mar 2016, LZO 2.09
Enter Management Password:
Tue Apr 12 14:48:39 2016 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340
Tue Apr 12 14:48:39 2016 Need hold release from management interface, waiting...
Tue Apr 12 14:48:40 2016 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340
Tue Apr 12 14:48:40 2016 MANAGEMENT: CMD 'state on'
Tue Apr 12 14:48:40 2016 MANAGEMENT: CMD 'log all on'
Tue Apr 12 14:48:40 2016 MANAGEMENT: CMD 'hold off'
Tue Apr 12 14:48:40 2016 MANAGEMENT: CMD 'hold release'
Tue Apr 12 14:48:40 2016 Socket Buffers: R=[65536->65536] S=[65536->65536]
Tue Apr 12 14:48:40 2016 MANAGEMENT: >STATE:1460497720,RESOLVE,,,
Tue Apr 12 14:48:41 2016 UDPv4 link local: [undef]
Tue Apr 12 14:48:41 2016 UDPv4 link remote: [AF_INET]xx.xx.xx.xxx:1194
Tue Apr 12 14:48:41 2016 MANAGEMENT: >STATE:1460497721,WAIT,,,
Tue Apr 12 14:48:41 2016 MANAGEMENT: >STATE:1460497721,AUTH,,,
Tue Apr 12 14:48:41 2016 TLS: Initial packet from [AF_INET]xx.xx.xx.xxx:1194, sid=57e10fec 9fe6ed0b
Tue Apr 12 14:48:41 2016 VERIFY OK: depth=1, C=US, ST=IL, L=Chicago, O=jsvpn, OU=jsvpn, CN=server, name=changeme, emailAddress=mail@host.domain
Tue Apr 12 14:48:41 2016 Validating certificate key usage
Tue Apr 12 14:48:41 2016 ++ Certificate has key usage 00a0, expects 00a0
Tue Apr 12 14:48:41 2016 VERIFY KU OK
Tue Apr 12 14:48:41 2016 Validating certificate extended key usage
Tue Apr 12 14:48:41 2016 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
Tue Apr 12 14:48:41 2016 VERIFY EKU OK
Tue Apr 12 14:48:41 2016 VERIFY OK: depth=0, C=US, ST=IL, L=Chicago, O=jsvpn, OU=jsvpn, CN=server, name=changeme, emailAddress=mail@host.domain
Tue Apr 12 14:48:42 2016 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Tue Apr 12 14:48:42 2016 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Apr 12 14:48:42 2016 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Tue Apr 12 14:48:42 2016 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Apr 12 14:48:42 2016 Control Channel: TLSv1.2, cipher TLSv1/SSLv3 DHE-RSA-AES256-GCM-SHA384, 1024 bit RSA
Tue Apr 12 14:48:42 2016 [server] Peer Connection Initiated with [AF_INET]24.15.65.138:1194
Tue Apr 12 14:48:43 2016 MANAGEMENT: >STATE:1460497723,GET_CONFIG,,,
Tue Apr 12 14:48:44 2016 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Tue Apr 12 14:48:44 2016 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1,dhcp-option DNS 8.8.8.8,route 192.168.1.0 255.255.255.0,route 10.8.0.1,topology net30,ping 10,ping-restart 120,ifconfig 10.8.0.6 10.8.0.5'
Tue Apr 12 14:48:44 2016 OPTIONS IMPORT: timers and/or timeouts modified
Tue Apr 12 14:48:44 2016 OPTIONS IMPORT: --ifconfig/up options modified
Tue Apr 12 14:48:44 2016 OPTIONS IMPORT: route options modified
Tue Apr 12 14:48:44 2016 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Tue Apr 12 14:48:44 2016 ROUTE_GATEWAY 172.20.10.1/255.255.255.240 I=23 HWADDR=7a:a3:e4:23:dd:37
Tue Apr 12 14:48:44 2016 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Tue Apr 12 14:48:44 2016 MANAGEMENT: >STATE:1460497724,ASSIGN_IP,,10.8.0.6,
Tue Apr 12 14:48:44 2016 open_tun, tt->ipv6=0
Tue Apr 12 14:48:44 2016 TAP-WIN32 device [Ethernet 2] opened: \\.\Global\{9A90D61E-8319-4F6F-B610-8B37F0DE652F}.tap
Tue Apr 12 14:48:44 2016 TAP-Windows Driver Version 9.21
Tue Apr 12 14:48:44 2016 Notified TAP-Windows driver to set a DHCP IP/netmask of 10.8.0.6/255.255.255.252 on interface {9A90D61E-8319-4F6F-B610-8B37F0DE652F} [DHCP-serv: 10.8.0.5, lease-time: 31536000]
Tue Apr 12 14:48:44 2016 Successful ARP Flush on interface [18] {9A90D61E-8319-4F6F-B610-8B37F0DE652F}
Tue Apr 12 14:48:49 2016 TEST ROUTES: 3/3 succeeded len=2 ret=1 a=0 u/d=up
Tue Apr 12 14:48:49 2016 C:\WINDOWS\system32\route.exe ADD xx.xx.xx.xxxx MASK 255.255.255.255 172.20.10.1
Tue Apr 12 14:48:49 2016 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=20 and dwForwardType=4
Tue Apr 12 14:48:49 2016 Route addition via IPAPI succeeded [adaptive]
Tue Apr 12 14:48:49 2016 C:\WINDOWS\system32\route.exe ADD 0.0.0.0 MASK 128.0.0.0 10.8.0.5
Tue Apr 12 14:48:49 2016 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=20 and dwForwardType=4
Tue Apr 12 14:48:49 2016 Route addition via IPAPI succeeded [adaptive]
Tue Apr 12 14:48:49 2016 C:\WINDOWS\system32\route.exe ADD 128.0.0.0 MASK 128.0.0.0 10.8.0.5
Tue Apr 12 14:48:49 2016 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=20 and dwForwardType=4
Tue Apr 12 14:48:49 2016 Route addition via IPAPI succeeded [adaptive]
Tue Apr 12 14:48:49 2016 MANAGEMENT: >STATE:1460497729,ADD_ROUTES,,,
Tue Apr 12 14:48:49 2016 C:\WINDOWS\system32\route.exe ADD 192.168.1.0 MASK 255.255.255.0 10.8.0.5
Tue Apr 12 14:48:49 2016 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=20 and dwForwardType=4
Tue Apr 12 14:48:49 2016 Route addition via IPAPI succeeded [adaptive]
Tue Apr 12 14:48:49 2016 C:\WINDOWS\system32\route.exe ADD 10.8.0.1 MASK 255.255.255.255 10.8.0.5
Tue Apr 12 14:48:49 2016 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=20 and dwForwardType=4
Tue Apr 12 14:48:49 2016 Route addition via IPAPI succeeded [adaptive]
Tue Apr 12 14:48:49 2016 Initialization Sequence Completed
Tue Apr 12 14:48:49 2016 MANAGEMENT: >STATE:1460497729,CONNECTED,SUCCESS,10.8.0.6,xx.xx.xx.xxx
If I ping on the client side and run route print I get:
Microsoft Windows [Version 10.0.10586]
(c) 2015 Microsoft Corporation. All rights reserved.
C:\WINDOWS\system32>ping 192.168.1.18
Pinging 192.168.1.18 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 192.168.1.18:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
C:\WINDOWS\system32>route print
===========================================================================
Interface List
19...e4 11 5b 32 ee 02 ......Intel(R) 82579LM Gigabit Network Connection
7...24 77 03 41 b9 49 ......Microsoft Wi-Fi Direct Virtual Adapter
12...26 77 03 41 b9 48 ......Microsoft Hosted Network Virtual Adapter
23...7a a3 e4 23 dd 37 ......Apple Mobile Device Ethernet
18...00 ff 9a 90 d6 1e ......TAP-Windows Adapter V9
17...24 77 03 41 b9 48 ......Intel(R) Centrino(R) Ultimate-N 6300 AGN
21...40 2c f4 86 b5 ca ......Bluetooth Device (Personal Area Network)
1...........................Software Loopback Interface 1
22...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface
56...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #5
63...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #6
===========================================================================
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 172.20.10.1 172.20.10.4 20
0.0.0.0 128.0.0.0 10.8.0.5 10.8.0.6 20
10.8.0.1 255.255.255.255 10.8.0.5 10.8.0.6 20
10.8.0.4 255.255.255.252 On-link 10.8.0.6 276
10.8.0.6 255.255.255.255 On-link 10.8.0.6 276
10.8.0.7 255.255.255.255 On-link 10.8.0.6 276
24.15.65.138 255.255.255.255 172.20.10.1 172.20.10.4 20
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
128.0.0.0 128.0.0.0 10.8.0.5 10.8.0.6 20
172.20.10.0 255.255.255.240 On-link 172.20.10.4 276
172.20.10.4 255.255.255.255 On-link 172.20.10.4 276
172.20.10.15 255.255.255.255 On-link 172.20.10.4 276
192.168.1.0 255.255.255.0 10.8.0.5 10.8.0.6 20
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 10.8.0.6 276
224.0.0.0 240.0.0.0 On-link 172.20.10.4 276
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 10.8.0.6 276
255.255.255.255 255.255.255.255 On-link 172.20.10.4 276
===========================================================================
Persistent Routes:
None
IPv6 Route Table
===========================================================================
Active Routes:
If Metric Network Destination Gateway
1 306 ::1/128 On-link
18 276 fe80::/64 On-link
23 276 fe80::/64 On-link
18 276 fe80::78:dc0c:e84b:4f23/128
On-link
23 276 fe80::9dd9:61ce:d068:7080/128
On-link
1 306 ff00::/8 On-link
18 276 ff00::/8 On-link
23 276 ff00::/8 On-link
===========================================================================
Persistent Routes:
None
C:\WINDOWS\system32>
Log on the server side is:
Tue Apr 12 16:47:56 2016 OpenVPN 2.3.10 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [IPv6] built on Mar 10 2016
Tue Apr 12 16:47:56 2016 Windows version 6.2 (Windows 8 or greater)
Tue Apr 12 16:47:56 2016 library versions: OpenSSL 1.0.1s 1 Mar 2016, LZO 2.09
Enter Management Password:
Tue Apr 12 16:47:56 2016 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340
Tue Apr 12 16:47:56 2016 Need hold release from management interface, waiting...
Tue Apr 12 16:47:56 2016 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340
Tue Apr 12 16:47:57 2016 MANAGEMENT: CMD 'state on'
Tue Apr 12 16:47:57 2016 MANAGEMENT: CMD 'log all on'
Tue Apr 12 16:47:57 2016 MANAGEMENT: CMD 'hold off'
Tue Apr 12 16:47:57 2016 MANAGEMENT: CMD 'hold release'
Tue Apr 12 16:47:57 2016 NOTE: your local LAN uses the extremely common subnet address 192.168.0.x or 192.168.1.x. Be aware that this might create routing conflicts if you connect to the VPN server from public locations such as internet cafes that use the same subnet.
Tue Apr 12 16:47:57 2016 Diffie-Hellman initialized with 1024 bit key
Tue Apr 12 16:47:57 2016 Socket Buffers: R=[65536->65536] S=[65536->65536]
Tue Apr 12 16:47:57 2016 ROUTE_GATEWAY 192.168.1.1/255.255.255.0 I=14 HWADDR=f0:4d:a2:fb:58:26
Tue Apr 12 16:47:57 2016 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Tue Apr 12 16:47:57 2016 MANAGEMENT: >STATE:1460497677,ASSIGN_IP,,10.8.0.1,
Tue Apr 12 16:47:57 2016 open_tun, tt->ipv6=0
Tue Apr 12 16:47:57 2016 TAP-WIN32 device [Ethernet] opened: \\.\Global\{BE311346-74AC-404B-95F8-1D30C4CF3043}.tap
Tue Apr 12 16:47:57 2016 TAP-Windows Driver Version 9.21
Tue Apr 12 16:47:57 2016 Notified TAP-Windows driver to set a DHCP IP/netmask of 10.8.0.1/255.255.255.252 on interface {BE311346-74AC-404B-95F8-1D30C4CF3043} [DHCP-serv: 10.8.0.2, lease-time: 31536000]
Tue Apr 12 16:47:57 2016 Sleeping for 10 seconds...
Tue Apr 12 16:48:07 2016 Successful ARP Flush on interface [11] {BE311346-74AC-404B-95F8-1D30C4CF3043}
Tue Apr 12 16:48:07 2016 MANAGEMENT: >STATE:1460497687,ADD_ROUTES,,,
Tue Apr 12 16:48:07 2016 C:\WINDOWS\system32\route.exe ADD 10.8.0.0 MASK 255.255.255.0 10.8.0.2
Tue Apr 12 16:48:07 2016 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=20 and dwForwardType=4
Tue Apr 12 16:48:07 2016 Route addition via IPAPI succeeded [adaptive]
Tue Apr 12 16:48:07 2016 UDPv4 link local (bound): [undef]
Tue Apr 12 16:48:07 2016 UDPv4 link remote: [undef]
Tue Apr 12 16:48:07 2016 MULTI: multi_init called, r=256 v=256
Tue Apr 12 16:48:07 2016 IFCONFIG POOL: base=10.8.0.4 size=62, ipv6=0
Tue Apr 12 16:48:07 2016 ifconfig_pool_read(), in='js-laptop2,10.8.0.4', TODO: IPv6
Tue Apr 12 16:48:07 2016 succeeded -> ifconfig_pool_set()
Tue Apr 12 16:48:07 2016 IFCONFIG POOL LIST
Tue Apr 12 16:48:07 2016 js-laptop2,10.8.0.4
Tue Apr 12 16:48:07 2016 Initialization Sequence Completed
Tue Apr 12 16:48:07 2016 MANAGEMENT: >STATE:1460497687,CONNECTED,SUCCESS,10.8.0.1,
Tue Apr 12 16:48:42 2016 97.46.1.30:7462 TLS: Initial packet from [AF_INET]97.46.1.30:7462, sid=352517fd 17e4dfac
Tue Apr 12 16:48:43 2016 97.46.1.30:7462 VERIFY OK: depth=1, C=US, ST=IL, L=Chicago, O=jsvpn, OU=jsvpn, CN=server, name=changeme, emailAddress=mail@host.domain
Tue Apr 12 16:48:43 2016 97.46.1.30:7462 VERIFY OK: depth=0, C=US, ST=IL, L=Chicago, O=jsvpn, OU=jsvpn, CN=js-laptop2, name=changeme, emailAddress=mail@host.domain
Tue Apr 12 16:48:43 2016 97.46.1.30:7462 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Tue Apr 12 16:48:43 2016 97.46.1.30:7462 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Apr 12 16:48:43 2016 97.46.1.30:7462 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Tue Apr 12 16:48:43 2016 97.46.1.30:7462 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Apr 12 16:48:43 2016 97.46.1.30:7462 Control Channel: TLSv1.2, cipher TLSv1/SSLv3 DHE-RSA-AES256-GCM-SHA384, 1024 bit RSA
Tue Apr 12 16:48:43 2016 97.46.1.30:7462 [js-laptop2] Peer Connection Initiated with [AF_INET]97.46.1.30:7462
Tue Apr 12 16:48:43 2016 js-laptop2/97.46.1.30:7462 MULTI_sva: pool returned IPv4=10.8.0.6, IPv6=(Not enabled)
Tue Apr 12 16:48:43 2016 js-laptop2/97.46.1.30:7462 MULTI: Learn: 10.8.0.6 -> js-laptop2/97.46.1.30:7462
Tue Apr 12 16:48:43 2016 js-laptop2/97.46.1.30:7462 MULTI: primary virtual IP for js-laptop2/97.46.1.30:7462: 10.8.0.6
Tue Apr 12 16:48:45 2016 js-laptop2/97.46.1.30:7462 PUSH: Received control message: 'PUSH_REQUEST'
Tue Apr 12 16:48:45 2016 js-laptop2/97.46.1.30:7462 send_push_reply(): safe_cap=940
Tue Apr 12 16:48:45 2016 js-laptop2/97.46.1.30:7462 SENT CONTROL [js-laptop2]: 'PUSH_REPLY,redirect-gateway def1,dhcp-option DNS 8.8.8.8,route 192.168.1.0 255.255.255.0,route 10.8.0.1,topology net30,ping 10,ping-restart 120,ifconfig 10.8.0.6 10.8.0.5' (status=1)
Running ping and route print on server side is:
C:\WINDOWS\system32>ping 192.168.1.18
Pinging 192.168.1.18 with 32 bytes of data:
Reply from 192.168.1.18: bytes=32 time<1ms TTL=128
Reply from 192.168.1.18: bytes=32 time<1ms TTL=128
Reply from 192.168.1.18: bytes=32 time<1ms TTL=128
Reply from 192.168.1.18: bytes=32 time<1ms TTL=128
Ping statistics for 192.168.1.18:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
C:\WINDOWS\system32>print route
Unable to initialize device PRN
C:\WINDOWS\system32>route print
===========================================================================
Interface List
18...38 59 f9 41 1a 15 ......Dell Wireless 1502 802.11b|g|n
9...1a 59 f9 41 1a 15 ......Microsoft Wi-Fi Direct Virtual Adapter
14...f0 4d a2 fb 58 26 ......Realtek PCIe GBE Family Controller
11...00 ff be 31 13 46 ......TAP-Windows Adapter V9
1...........................Software Loopback Interface 1
8...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface
4...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2
7...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #3
===========================================================================
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.18 11
10.8.0.0 255.255.255.0 10.8.0.2 10.8.0.1 20
10.8.0.0 255.255.255.252 On-link 10.8.0.1 276
10.8.0.1 255.255.255.255 On-link 10.8.0.1 276
10.8.0.3 255.255.255.255 On-link 10.8.0.1 276
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
192.168.1.0 255.255.255.0 On-link 192.168.1.18 266
192.168.1.18 255.255.255.255 On-link 192.168.1.18 266
192.168.1.255 255.255.255.255 On-link 192.168.1.18 266
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 192.168.1.18 266
224.0.0.0 240.0.0.0 On-link 10.8.0.1 276
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 192.168.1.18 266
255.255.255.255 255.255.255.255 On-link 10.8.0.1 276
===========================================================================
Persistent Routes:
Network Address Netmask Gateway Address Metric
0.0.0.0 0.0.0.0 192.168.1.1 1
===========================================================================
IPv6 Route Table
===========================================================================
Active Routes:
If Metric Network Destination Gateway
1 306 ::1/128 On-link
14 266 fe80::/64 On-link
11 276 fe80::/64 On-link
11 276 fe80::25da:1926:245e:25f4/128
On-link
14 266 fe80::3c93:b8de:34f3:46b5/128
On-link
1 306 ff00::/8 On-link
14 266 ff00::/8 On-link
11 276 ff00::/8 On-link
===========================================================================
Persistent Routes:
None
C:\WINDOWS\system32>
Do you have any other ideas on what could be keeping this from working? It could be something obvious that I'm missing. Thank You.