rightkick
Hi All,
I've been wondering on the OpenVPN traffic statistics I'm receiving on the OpenVPN server status file.
I've the following entry on the server side, where "Bytes Received" and Bytes Sent" are shown:
Common Name,Real Address,Bytes Received,Bytes Sent,Connected Since
client,<some IP>:46992,7588,8891,Mon Mar 23 10:23:18 2015
Are these bytes showing the compressed or uncompressed payload traffic passing through the VPN tunnel? Are these the same stats recieved through the $bytes_sent $bytes_received from the management interface?
Finally, is there any way to calculate the compression ration on the server side?
Thank you for your help.
rightkick
From measurements conducted on the server physical interface (eth0) it seems that there is a somewhat constant discrepancy on the traffic provided from OpenVPN and tshark. Tshark is measuring ~ 550 KB more (IP layer) then OpenVPN during the same time period.
I would appreciate if you could provide any feedback on the above questions based on your observations or any documentation that is referrign to how OpenVPN is handling the traffic (statistics, compression).