The OpenVPN status file
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
From which IP address the clients are connecting
The number of bytes each client has received and transferred
The time at which the client connected
In addition, the routing table also shows which networks are routed to each client
We modify the client-side routing
server configuration file movpn-04-05-server.conf
by adding a line to the server configuration:
proto udp port 1194 dev tun server 10.200.0.0 255.255.255.0 topology subnet persist-key persist-tun keepalive 10 60 remote-cert-tls client tls-auth /etc/openvpn/movpn/ta.key 0 dh /etc/openvpn/movpn/dh2048.pem ca /etc/openvpn/movpn/movpn-ca.crt cert /etc/openvpn/movpn/server.crt key /etc/openvpn/movpn/server.key user nobody group...