Chapter 15. Troubleshooting and Monitoring

In this chapter we will learn how to use tools to debug and monitor VPN tunnels. We will also learn how to scan and test the connectivity of a (VPN) server with standard Linux command-line tools. In the second part we will deal with the following graphical monitoring tools:

  • Ntop
  • Munin
  • Nagios
  • OpenVPNgraph

Testing network connectivity

In our typical OpenVPN setup, we have connected two networks (192.168.250.0/24 and 172.16.76.0/24) through two Linux servers that are connected to the Internet through a default gateway. Between the two Linux servers is a tunnel that uses virtual interfaces with the IPs 10.179.10.1 and 10.179.10.2.

In the connected local networks there are two Linux machines that we will use to ...

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.