Hello guys,
I have a question about accessing the local network of a openvpn client.
My setup is as follows:
Openvpn server (Ubuntu 18.04): running on a server on the internet (just accepting vpn traffic, no local network, VPN IP: 10.8.0.1)
Client 1 (Windows 10): It uses two network adapters. Adapter A is connected to a network which is just providing internet access. Adapter B is connected to the network of interest which consists of a router (where I have full access to) and a few clients (local IP 192.168.158.0). It connects to the VPN server and has the VPN IP: 10.8.0.2.
Client 2 (Windows 10): connects to the openvpn server (VPN IP: 10.8.0.3) and wants to access the local clients of client1's network.
What I did: OpenVPN server and both clients are configured and can ping each other. Then I read this article (
https://openvpn.net/community-resources/expanding-the-scope-of-the-vpn-to-include-additional-machines-on-either-the-client-or-server-subnet/) about extending the VPN network, but for my case (client side extension) there are only three comments:
You must bridge the client TAP interface with the LAN-connected NIC on the client.
You must manually set the IP/netmask of the TAP interface on the client.
You must configure client-side machines to use an IP/netmask that is inside of the bridged subnet,
But as soon as I bridge my adapter "B" to my VPN adapter (regardless if manual IP or not) it stops working. Error:
Sun Jul 05 21:40:22 2020 NETSH: C:\Windows\system32\netsh.exe interface ipv6 set address interface=18 fddd:1194:1194:1194::1000 store=active
Sun Jul 05 21:40:24 2020 ERROR: netsh command failed: returned error code 1
So do you have any idea why this is and what can I do about it?
Thanks in advance.