Post
by jschlis82 » Tue Apr 12, 2016 4:25 pm
Hello,
Thank you for your response.
I tried the solution with the widows 10 tweaks the original poster recommended in that post which didn't work. I tried to create a static route with my router (NetGear wndr3700). I'm not sure if this is right but this is what I put in:
<code>
Destination IP : 10.8.0.0
IP Submask: 255.255.255.0
IP Gateway: 192.168.1.18 (This is the computer the server is running on)
Metric 3
</code>
The router software would not allow me to put in the VPN assigned VPN server IP address of 10.8.0.1 saying that "gateway should be on the same subnet as the WAN or the LAN interface"
Here is the log from the client:
<code>
Tue Apr 12 09:08:25 2016 OpenVPN 2.3.10 i686-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [IPv6] built on Mar 10 2016
Tue Apr 12 09:08:25 2016 Windows version 6.2 (Windows 8 or greater)
Tue Apr 12 09:08:25 2016 library versions: OpenSSL 1.0.1s 1 Mar 2016, LZO 2.09
Enter Management Password:
Tue Apr 12 09:08:25 2016 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340
Tue Apr 12 09:08:25 2016 Need hold release from management interface, waiting...
Tue Apr 12 09:08:26 2016 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340
Tue Apr 12 09:08:26 2016 MANAGEMENT: CMD 'state on'
Tue Apr 12 09:08:26 2016 MANAGEMENT: CMD 'log all on'
Tue Apr 12 09:08:26 2016 MANAGEMENT: CMD 'hold off'
Tue Apr 12 09:08:26 2016 MANAGEMENT: CMD 'hold release'
Tue Apr 12 09:08:26 2016 Socket Buffers: R=[65536->65536] S=[65536->65536]
Tue Apr 12 09:08:26 2016 MANAGEMENT: >STATE:1460477306,RESOLVE,,,
Tue Apr 12 09:08:27 2016 UDPv4 link local: [undef]
Tue Apr 12 09:08:27 2016 UDPv4 link remote: [AF_INET]xx.xx.xx.xxx:1194
Tue Apr 12 09:08:27 2016 MANAGEMENT: >STATE:1460477307,WAIT,,,
Tue Apr 12 09:08:27 2016 MANAGEMENT: >STATE:1460477307,AUTH,,,
Tue Apr 12 09:08:27 2016 TLS: Initial packet from [AF_INET]xx.xx.xx.xxx:1194, sid=57775a0b f9021b23
Tue Apr 12 09:08:27 2016 VERIFY OK: depth=1, C=US, ST=IL, L=Chicago, O=, CN=server, emailAddress=
Tue Apr 12 09:08:27 2016 VERIFY OK: nsCertType=SERVER
Tue Apr 12 09:08:27 2016 VERIFY OK: depth=0, C=US, ST=IL, O=, CN=server, emailAddress=
Tue Apr 12 09:08:27 2016 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Tue Apr 12 09:08:27 2016 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Apr 12 09:08:27 2016 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Tue Apr 12 09:08:27 2016 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Apr 12 09:08:27 2016 Control Channel: TLSv1.2, cipher TLSv1/SSLv3 DHE-RSA-AES256-GCM-SHA384, 1024 bit RSA
Tue Apr 12 09:08:27 2016 [server] Peer Connection Initiated with [AF_INET]xx.xx.xx.xxx:1194
Tue Apr 12 09:08:28 2016 MANAGEMENT: >STATE:1460477308,GET_CONFIG,,,
Tue Apr 12 09:08:29 2016 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Tue Apr 12 09:08:29 2016 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1,redirect-gateway local def1,dhcp-option DNS 8.8.8.8,route 10.8.0.1,topology net30,ping 10,ping-restart 120,ifconfig 10.8.0.22 10.8.0.21'
Tue Apr 12 09:08:29 2016 OPTIONS IMPORT: timers and/or timeouts modified
Tue Apr 12 09:08:29 2016 OPTIONS IMPORT: --ifconfig/up options modified
Tue Apr 12 09:08:29 2016 OPTIONS IMPORT: route options modified
Tue Apr 12 09:08:29 2016 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Tue Apr 12 09:08:29 2016 ROUTE_GATEWAY 192.168.1.1/255.255.255.0 I=17 HWADDR=24:77:03:41:b9:48
Tue Apr 12 09:08:29 2016 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Tue Apr 12 09:08:29 2016 MANAGEMENT: >STATE:1460477309,ASSIGN_IP,,10.8.0.22,
Tue Apr 12 09:08:29 2016 open_tun, tt->ipv6=0
Tue Apr 12 09:08:29 2016 TAP-WIN32 device [Ethernet 2] opened: \\.\Global\{662BF6C6-D948-4C1C-A853-FDEAC308320B}.tap
Tue Apr 12 09:08:29 2016 TAP-Windows Driver Version 9.21
Tue Apr 12 09:08:29 2016 Notified TAP-Windows driver to set a DHCP IP/netmask of 10.8.0.22/255.255.255.252 on interface {662BF6C6-D948-4C1C-A853-FDEAC308320B} [DHCP-serv: 10.8.0.21, lease-time: 31536000]
Tue Apr 12 09:08:29 2016 Successful ARP Flush on interface [18] {662BF6C6-D948-4C1C-A853-FDEAC308320B}
Tue Apr 12 09:08:34 2016 TEST ROUTES: 2/2 succeeded len=1 ret=1 a=0 u/d=up
Tue Apr 12 09:08:34 2016 C:\WINDOWS\system32\route.exe ADD 0.0.0.0 MASK 128.0.0.0 10.8.0.21
Tue Apr 12 09:08:34 2016 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=20 and dwForwardType=4
Tue Apr 12 09:08:34 2016 Route addition via IPAPI succeeded [adaptive]
Tue Apr 12 09:08:34 2016 C:\WINDOWS\system32\route.exe ADD 128.0.0.0 MASK 128.0.0.0 10.8.0.21
Tue Apr 12 09:08:34 2016 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=20 and dwForwardType=4
Tue Apr 12 09:08:34 2016 Route addition via IPAPI succeeded [adaptive]
Tue Apr 12 09:08:34 2016 MANAGEMENT: >STATE:1460477314,ADD_ROUTES,,,
Tue Apr 12 09:08:34 2016 C:\WINDOWS\system32\route.exe ADD 10.8.0.1 MASK 255.255.255.255 10.8.0.21
Tue Apr 12 09:08:34 2016 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=20 and dwForwardType=4
Tue Apr 12 09:08:34 2016 Route addition via IPAPI succeeded [adaptive]
Tue Apr 12 09:08:34 2016 Initialization Sequence Completed
Tue Apr 12 09:08:34 2016 MANAGEMENT: >STATE:1460477314,CONNECTED,SUCCESS,10.8.0.22,xx.xx.xx.xxx
</code>
and the log from the server:
<code>
Tue Apr 12 11:00:31 2016 OpenVPN 2.3.10 i686-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [IPv6] built on Mar 10 2016
Tue Apr 12 11:00:31 2016 Windows version 6.2 (Windows 8 or greater)
Tue Apr 12 11:00:31 2016 library versions: OpenSSL 1.0.1s 1 Mar 2016, LZO 2.09
Enter Management Password:
Tue Apr 12 11:00:31 2016 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340
Tue Apr 12 11:00:31 2016 Need hold release from management interface, waiting...
Tue Apr 12 11:00:32 2016 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340
Tue Apr 12 11:00:32 2016 MANAGEMENT: CMD 'state on'
Tue Apr 12 11:00:32 2016 MANAGEMENT: CMD 'log all on'
Tue Apr 12 11:00:32 2016 MANAGEMENT: CMD 'hold off'
Tue Apr 12 11:00:32 2016 MANAGEMENT: CMD 'hold release'
Tue Apr 12 11:00:32 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 11:00:32 2016 Diffie-Hellman initialized with 1024 bit key
Tue Apr 12 11:00:32 2016 Socket Buffers: R=[65536->65536] S=[65536->65536]
Tue Apr 12 11:00:32 2016 ROUTE_GATEWAY 192.168.1.1/255.255.255.0 I=13 HWADDR=f0:4d:a2:fb:58:26
Tue Apr 12 11:00:32 2016 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Tue Apr 12 11:00:32 2016 MANAGEMENT: >STATE:1460476832,ASSIGN_IP,,10.8.0.1,
Tue Apr 12 11:00:32 2016 open_tun, tt->ipv6=0
Tue Apr 12 11:00:32 2016 TAP-WIN32 device [Ethernet] opened: \\.\Global\{6BB6E50C-0F3C-4757-B635-67C7928FB3EC}.tap
Tue Apr 12 11:00:32 2016 TAP-Windows Driver Version 9.21
Tue Apr 12 11:00:32 2016 Notified TAP-Windows driver to set a DHCP IP/netmask of 10.8.0.1/255.255.255.252 on interface {6BB6E50C-0F3C-4757-B635-67C7928FB3EC} [DHCP-serv: 10.8.0.2, lease-time: 31536000]
Tue Apr 12 11:00:32 2016 Sleeping for 10 seconds...
Tue Apr 12 11:00:42 2016 Successful ARP Flush on interface [10] {6BB6E50C-0F3C-4757-B635-67C7928FB3EC}
Tue Apr 12 11:00:42 2016 MANAGEMENT: >STATE:1460476842,ADD_ROUTES,,,
Tue Apr 12 11:00:42 2016 C:\WINDOWS\system32\route.exe ADD 10.8.0.0 MASK 255.255.255.0 10.8.0.2
Tue Apr 12 11:00:42 2016 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=20 and dwForwardType=4
Tue Apr 12 11:00:42 2016 Route addition via IPAPI succeeded [adaptive]
Tue Apr 12 11:00:42 2016 UDPv4 link local (bound): [undef]
Tue Apr 12 11:00:42 2016 UDPv4 link remote: [undef]
Tue Apr 12 11:00:42 2016 MULTI: multi_init called, r=256 v=256
Tue Apr 12 11:00:42 2016 IFCONFIG POOL: base=10.8.0.4 size=62, ipv6=0
Tue Apr 12 11:00:42 2016 ifconfig_pool_read(), in='sara-iphone,10.8.0.4', TODO: IPv6
Tue Apr 12 11:00:42 2016 succeeded -> ifconfig_pool_set()
Tue Apr 12 11:00:42 2016 ifconfig_pool_read(), in='john-ipad,10.8.0.8', TODO: IPv6
Tue Apr 12 11:00:42 2016 succeeded -> ifconfig_pool_set()
Tue Apr 12 11:00:42 2016 ifconfig_pool_read(), in='sara-ipad,10.8.0.12', TODO: IPv6
Tue Apr 12 11:00:42 2016 succeeded -> ifconfig_pool_set()
Tue Apr 12 11:00:42 2016 ifconfig_pool_read(), in='john-iphone,10.8.0.16', TODO: IPv6
Tue Apr 12 11:00:42 2016 succeeded -> ifconfig_pool_set()
Tue Apr 12 11:00:42 2016 ifconfig_pool_read(), in='john-laptop,10.8.0.20', TODO: IPv6
Tue Apr 12 11:00:42 2016 succeeded -> ifconfig_pool_set()
Tue Apr 12 11:00:42 2016 IFCONFIG POOL LIST
Tue Apr 12 11:00:42 2016 sara-iphone,10.8.0.4
Tue Apr 12 11:00:42 2016 john-ipad,10.8.0.8
Tue Apr 12 11:00:42 2016 sara-ipad,10.8.0.12
Tue Apr 12 11:00:42 2016 john-iphone,10.8.0.16
Tue Apr 12 11:00:42 2016 john-laptop,10.8.0.20
Tue Apr 12 11:00:42 2016 Initialization Sequence Completed
Tue Apr 12 11:00:42 2016 MANAGEMENT: >STATE:1460476842,CONNECTED,SUCCESS,10.8.0.1,
Tue Apr 12 11:08:24 2016 xx.xx.xx.xxx:64827 TLS: Initial packet from [AF_INET]xx.xx.xx.xxx:64827, sid=6392c47c 10f232a4
Tue Apr 12 11:08:24 2016 xx.xx.xx.xxx:64827 VERIFY OK: depth=1, C=US, ST=IL, L=Chicago, O=, CN=server, emailAddress=
Tue Apr 12 11:08:24 2016 xx.xx.xx.xxx:64827 VERIFY OK: depth=0, C=US, ST=IL, O=, CN=john-laptop
Tue Apr 12 11:08:24 2016 xx.xx.xx.xxx:64827 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Tue Apr 12 11:08:24 2016 xx.xx.xx.xxx:64827 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Apr 12 11:08:24 2016 xx.xx.xx.xxx:64827 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Tue Apr 12 11:08:24 2016 xx.xx.xx.xxx:64827 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Apr 12 11:08:24 2016 xx.xx.xx.xxx:64827 Control Channel: TLSv1.2, cipher TLSv1/SSLv3 DHE-RSA-AES256-GCM-SHA384, 1024 bit RSA
Tue Apr 12 11:08:24 2016 xx.xx.xx.xxx:64827 [john-laptop] Peer Connection Initiated with [AF_INET]24.15.65.138:64827
Tue Apr 12 11:08:24 2016 john-laptop/xx.xx.xx.xxx:64827 MULTI_sva: pool returned IPv4=10.8.0.22, IPv6=(Not enabled)
Tue Apr 12 11:08:24 2016 john-laptop/xx.xx.xx.xxx:64827 MULTI: Learn: 10.8.0.22 -> john-laptop/xx.xx.xx.xxx:64827
Tue Apr 12 11:08:24 2016 john-laptop/xx.xx.xx.xxx:64827 MULTI: primary virtual IP for john-laptop/xx.xx.xx.xxx:64827: 10.8.0.22
Tue Apr 12 11:08:26 2016 john-laptop/xx.xx.xx.xxx:64827 PUSH: Received control message: 'PUSH_REQUEST'
Tue Apr 12 11:08:26 2016 john-laptop/xx.xx.xx.xxx:64827 send_push_reply(): safe_cap=940
Tue Apr 12 11:08:26 2016 john-laptop/xx.xx.xx.xxx:64827 SENT CONTROL [john-laptop]: 'PUSH_REPLY,redirect-gateway def1,redirect-gateway local def1,dhcp-option DNS 8.8.8.8,route 10.8.0.1,topology net30,ping 10,ping-restart 120,ifconfig 10.8.0.22 10.8.0.21' (status=1)
Tue Apr 12 11:12:31 2016 john-laptop/xx.xx.xx.xxx:64827 [john-laptop] Inactivity timeout (--ping-restart), restarting
Tue Apr 12 11:12:31 2016 john-laptop/xx.xx.xx.xxx:64827 SIGUSR1[soft,ping-restart] received, client-instance restarting
Tue Apr 12 11:17:54 2016 C:\WINDOWS\system32\route.exe DELETE 10.8.0.0 MASK 255.255.255.0 10.8.0.2
Tue Apr 12 11:17:54 2016 Route deletion via IPAPI succeeded [adaptive]
Tue Apr 12 11:17:54 2016 Closing TUN/TAP interface
Tue Apr 12 11:17:54 2016 SIGTERM[hard,] received, process exiting
Tue Apr 12 11:17:54 2016 MANAGEMENT: >STATE:1460477874,EXITING,SIGTERM,,
</code>
the xx.xx.xx.xxx is my public ip address. Do you have anymore ideas on this?
Thank You!