Book Image

OpenVPN 2 Cookbook

Book Image

OpenVPN 2 Cookbook

Overview of this book

Table of Contents (19 chapters)
OpenVPN 2 Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Management interface


This recipe shows how OpenVPN can be managed using the management interface on the server.

Getting ready

We use the following network layout:

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 CentOS 5 Linux and OpenVPN 2.1.1. For the server, keep the configuration file example3-1-server.conf from the first recipe of this chapter at hand. The first client was running Fedora 12 Linux and OpenVPN 2.1.1. The second client was running Windows XP and OpenVPN 2.1.1. For the Linux client, keep the client configuration file example3-1-client.conf from the first recipe of this chapter at hand. For the Windows client, keep the client configuration file example3-2-client2.ovpn from the recipe Enabling client-to-client traffic at hand.

How to do it...

  1. Create the server configuration file by adding a line to the example3-1-server.conf file:

    management tunnel 23000 stdin
    

    And...