I am using OpenVPN Community Edition, and I have set 'keepalive 2 10', how can I verify OpenVPN has ping to client to detect failure? because I have used wireshark to capture but there are no any keepalive packet in tun0 of clients.
if you use
verb 5
or higher (perhaps even 4) you will see the ping keepalive packets popping up in the log files on both sides. The ping packets are control packets and are not seen on the tun devices.
On the other hand, how can i see what users are currently connecting to openvpn? can i set a limited bandwidth for dedicated users?
use the management interface to view the currently connected users.
Add the 'shaper' directive to the client configuration files to limit the upload speed of the clients ; it's not possible to limit the download speed (i.e. the rate at which packets are sent from the server to the client).