Bridging- Windows
This recipe will demonstrate how to set up a bridged OpenVPN server on Windows. Bridging on Windows is slightly different from Linux or UNIX, but the concept is the same.
This recipe is very similar to the previous recipe, apart from the different methods used to set up bridging.
Getting ready
Set up the client and server certificates using the first recipe from Chapter 2, Client-server IP-only networks.
For this recipe, the server computer was running Windows 7 64 bit and OpenVPN 2.3.10. The client computer was running Fedora 20 Linux and OpenVPN 2.3.10. For the Linux client, keep the client configuration file example3-1-client.conf
at hand.
We use the following network layout:
How to do it...
Create the server configuration file:
proto udp port 1194 dev tap dev-node tapbridge server-bridge 192.168.3.15 255.255.255.0 192.168.3.128 192.168.3.250 dh "c:/program files/openvpn...