Yunbao VPN

Usage and troubleshooting

Use Linux interface counters to check VPN bandwidth saturation

Estimate each direction’s rate from changes in the same interface’s byte counters.

Content updated:

Checking steps

  1. During the slowdown, run ip route show default and identify the interface carrying the traffic. On a multi-uplink host, confirm the route used by the affected traffic.
  2. Replace eth0 with the actual interface name and record rx_bytes and tx_bytes under /sys/class/net/eth0/statistics/ with the time. Read again a few seconds later. For each direction, multiply the byte difference by eight and divide by elapsed seconds and 1000000 for Mbps.

Interpret the results

Repeat and compare against the provider’s cap for each direction. The counters include all traffic on the interface. Compare sustained rates near the cap with slowdown times, and resample if counters decrease.

References and further reading

Back to all guides

Ready to connect?

Get the app from the official website and follow the instructions for your device.

Download ↓