Hi,
I'm new to this and thought might ask for help here.
I step an openvpn server on my TP link router and generated the necessary configuration file.
I installed the openvpn client on my windows 8 laptop and my iphone and ipad.
I imported the configuration file to all 3 devices.
On my Iphone and Ipad, I can successfully connect to my VPN and I can browse the local network and I can access the internet as well with no problems so far.
On my windows 8 laptop, I can connect to the VPN fine but I can't reach the local network and I can't access the the internet. I'm logged in as an administrator and I ran the VPN GUI client as an administrator as well. I feel that there is a step i'm not doing and it seems as all the routes are not being added and that is why I can't reach the internal network of the VPN and can't access the internet from the VPN.
Any help is appreciated.
Thanks
OpenVPN Client and windows 8
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.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
-
- OpenVpn Newbie
- Posts: 4
- Joined: Sun Jul 16, 2017 5:23 am
Re: OpenVPN Client and windows 8
Thanks
Here is the log
[oconf]
Sun Jul 16 08:26:22 2017 OpenVPN 2.4.3 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Jun 20 2017
Sun Jul 16 08:26:22 2017 Windows version 6.2 (Windows 8 or greater) 64bit
Sun Jul 16 08:26:22 2017 library versions: OpenSSL 1.0.2l 25 May 2017, LZO 2.10
Enter Management Password:
Sun Jul 16 08:26:23 2017 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Sun Jul 16 08:26:24 2017 TCP/UDP: Preserving recently used remote address: [AF_INET]xxx.xxx.xxx.xxx:1194
Sun Jul 16 08:26:24 2017 UDP link local: (not bound)
Sun Jul 16 08:26:24 2017 UDP link remote: [AF_INET]xxx.xxx.xxx.xxx:1194
Sun Jul 16 08:26:24 2017 [server] Peer Connection Initiated with [AF_INET]xxx.xxx.xxx.xxx:1194
Sun Jul 16 08:26:26 2017 open_tun
Sun Jul 16 08:26:26 2017 TAP-WIN32 device [Ethernet 3] opened: \\.\Global\{E8839A2E-FE5A-4622-845E-B652A5217D8B}.tap
Sun Jul 16 08:26:26 2017 Notified TAP-Windows driver to set a DHCP IP/netmask of 10.8.0.6/255.255.255.252 on interface {E8839A2E-FE5A-4622-845E-B652A5217D8B} [DHCP-serv: 10.8.0.5, lease-time: 31536000]
Sun Jul 16 08:26:26 2017 Successful ARP Flush on interface [57] {E8839A2E-FE5A-4622-845E-B652A5217D8B}
Sun Jul 16 08:26:26 2017 do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Sun Jul 16 08:26:31 2017 ROUTE: route addition failed using CreateIpForwardEntry: The object already exists. [status=5010 if_index=57]
Sun Jul 16 08:26:31 2017 env_block: add PATH=C:\WINDOWS\System32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
Sun Jul 16 08:26:31 2017 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Sun Jul 16 08:26:31 2017 Initialization Sequence Completed
[/oconf]
Here is the log
[oconf]
Sun Jul 16 08:26:22 2017 OpenVPN 2.4.3 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Jun 20 2017
Sun Jul 16 08:26:22 2017 Windows version 6.2 (Windows 8 or greater) 64bit
Sun Jul 16 08:26:22 2017 library versions: OpenSSL 1.0.2l 25 May 2017, LZO 2.10
Enter Management Password:
Sun Jul 16 08:26:23 2017 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Sun Jul 16 08:26:24 2017 TCP/UDP: Preserving recently used remote address: [AF_INET]xxx.xxx.xxx.xxx:1194
Sun Jul 16 08:26:24 2017 UDP link local: (not bound)
Sun Jul 16 08:26:24 2017 UDP link remote: [AF_INET]xxx.xxx.xxx.xxx:1194
Sun Jul 16 08:26:24 2017 [server] Peer Connection Initiated with [AF_INET]xxx.xxx.xxx.xxx:1194
Sun Jul 16 08:26:26 2017 open_tun
Sun Jul 16 08:26:26 2017 TAP-WIN32 device [Ethernet 3] opened: \\.\Global\{E8839A2E-FE5A-4622-845E-B652A5217D8B}.tap
Sun Jul 16 08:26:26 2017 Notified TAP-Windows driver to set a DHCP IP/netmask of 10.8.0.6/255.255.255.252 on interface {E8839A2E-FE5A-4622-845E-B652A5217D8B} [DHCP-serv: 10.8.0.5, lease-time: 31536000]
Sun Jul 16 08:26:26 2017 Successful ARP Flush on interface [57] {E8839A2E-FE5A-4622-845E-B652A5217D8B}
Sun Jul 16 08:26:26 2017 do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Sun Jul 16 08:26:31 2017 ROUTE: route addition failed using CreateIpForwardEntry: The object already exists. [status=5010 if_index=57]
Sun Jul 16 08:26:31 2017 env_block: add PATH=C:\WINDOWS\System32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
Sun Jul 16 08:26:31 2017 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Sun Jul 16 08:26:31 2017 Initialization Sequence Completed
[/oconf]
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: OpenVPN Client and windows 8
You are using openvpn 2.4.3 so you don't need to run with administrator privileges any more.newone88 wrote: I'm logged in as an administrator and I ran the VPN GUI client as an administrator as well
This actually means there is already an entry in the routing table for the route you are trying to add .. my guess would be 192.168.0.0/24 .. if you posted your log at --verb 4 we would know.newone88 wrote:Sun Jul 16 08:26:31 2017 ROUTE: route addition failed using CreateIpForwardEntry: The object already exists. [status=5010 if_index=57]
And your server log at --verb 4 and your server and client config files.
-
- OpenVpn Newbie
- Posts: 4
- Joined: Sun Jul 16, 2017 5:23 am
Re: OpenVPN Client and windows 8
ok, I will post anything to get this workin.
Now sure how to get the --verb 4 logs. Is this a command prompt? sorry, I'm new to this.
Now sure how to get the --verb 4 logs. Is this a command prompt? sorry, I'm new to this.
-
- OpenVpn Newbie
- Posts: 4
- Joined: Sun Jul 16, 2017 5:23 am
Re: OpenVPN Client and windows 8
Got this working finally after I disabled IPV6 from the adapter.
Cheers
Cheers