status file(OpenVPN)

status file(OpenVPN)

Content #

OpenVPN offers several options to monitor the clients connected to a server. The most commonly used method is using a status file. The OpenVPN status file is continually updated by the OpenVPN process and contains the following information:

Which clients are connected

  1. From which IP address the clients are connecting
  2. The number of bytes each client has received and transferred
  3. The time at which the client connected
  4. In addition, the routing table also shows which networks are routed to each client
status /var/run/openvpn.status 3

The second parameter to the status option is the interval after which the status file is updated (rewritten). The default value is 60 seconds.

From #

Mastering OpenVPN