Chapter 7. Configuring an OpenVPN Server—The First Tunnel

In this chapter, we will create an encryption key for OpenVPN and use it to set up our first OpenVPN tunnel between two Windows systems in the same network. By doing so, we have a test-bed environment where no problems with firewalls or routers will interfere with our OpenVPN setup, and we can concentrate on learning how to create tunnels.

A little work on the configuration file needs to be done and the key has to be exchanged between these systems. After this, the tunnel will be started and tested with the ping command. We will then copy the key on a Linux system and connect this system with a tunnel to the first Windows machine. Finally, we will ensure that OpenVPN is run automatically ...

Get Beginning OpenVPN 2.0.9 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.