Three-way routing

As stated in the introduction, point-to-point networks are an excellent choice when connecting a small number of endpoints. In this example, we will show how to connect three sites together using point-to-point tunnels. It will also show how quickly the configuration of such a setup can become very complex.

Consider the following network layout:

Three-way routing

We will create three tunnels between the sites and set up redundant routes. That way, if one of the tunnels goes down, all the sites will remain visible to each other. However, this is at the cost of a performance penalty. Let's assume that the link between site A and site B goes down. The ...

Get Mastering OpenVPN now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.