Book Image

OpenVPN: Building and Integrating Virtual Private Networks

Book Image

OpenVPN: Building and Integrating Virtual Private Networks

Overview of this book

OpenVPN is a powerful, open source SSL VPN application. It can secure site-to-site connections, WiFi and enterprise-scale remote connections. While being a full-featured VPN solution, OpenVPN is easy to use and does not suffer from the complexity that characterizes other IPSec VPN implementations. It uses the secure and stable TLS/SSL mechanisms for authentication and encryption. This book is an easy introduction to this popular VPN application. After introducing the basics of security and VPN, the book moves on to cover using OpenVPN, from installing it on various platforms, through configuring basic tunnels, to more advanced features, such as using the application with firewalls, routers, proxy servers, and OpenVPN scripting. While providing only necessary theoretical background, the book takes a practical approach, presenting plenty of examples.
Table of Contents (17 chapters)
OpenVPN
Credits
About the Author
About the Reviewers
Preface
Index

Distributed Compilation through VPN Tunnels with distcc


distcc is a compiler (or a front end to GNU Compiler Collection (GCC)) designed to split up compiling processes over many machines, which can speed up the process enormously. The distccd daemon has to be run on all of the systems that are to participate, then the system starting the process must be informed about the distcc hosts, and then we can start a compiling process.

On Debian systems, installation is as easy as typing apt-get install distcc. As the next step some parameters have to be set in /etc/default/distcc:

  • Whether distccd should be started on boot

  • A list of other distcc hosts that are allowed to connect

  • The interface distcc should listen on for incoming connections

This is the file /etc/default/distcc on a Debian system:

# Defaults for distcc initscript
# sourced by /etc/init.d/distcc
#
# should distcc be started on boot?
#
# STARTDISTCC="true"
STARTDISTCC="false"
#
# Which networks/hosts should be allowed to connect to the...