How do you setup a bridge so a device (where I can’t install OVPN software) connected to Windows 10 2nd ethernet adapter gets DHCP, IP etc. over OpenVPN (TAP) tunnel?
Currently have a TAP Viscosity connection working on ethernet port #1 (gets IP from DHCP of router on remote network and sends all traffic) - remote printers are visible, other PCs etc show up in Windows Explorer>Network.
I’m afraid bridging the VPN network adapter with another network adapter isn’t something that is officially supported by Viscosity.
It’s possible it may work, but you may run into issues if the VPN server/connection isn’t configured to handle the traffic from additional machines. Viscosity itself also isn’t designed to handle things like multiple DHCP assignments through the VPN connection, which could potentially cause issues with routing or DNS assignment. You could potentially try using Windows in-built network bridging support and see what happens.
Generally if you need to share a VPN connection, a better way of doing it is to use NAT (e.g. via Windows’s Internet Connection Sharing feature).
Ok I’ve played around with a 2nd USB ethernet adapter as part of the bridge (with Visc TAP adapter) - and everything almost works.
On the device attached to the bridged USB ethernet it gets an IP via the far site router and it can access the LAN no problem however the gateway does not come across the bridge.
After doing some Wireshark captures and seeing the gateway getting stripped when a client on the Windows network bridge requests a DHCP lease on the remote site I finally found some threads through search.
Thanks for posting your solution - I’m sure it’ll be of interest to others who wish to attempt something similar.
Regards,
Aaron
SparkLabs Newsletter
Thank you for being interested in keeping up with the latest news from us! Please double-check your email address below and then click the Subscribe button.