Yunbao VPN

Usage and troubleshooting

Compare IPv4 and IPv6 when a site fails intermittently on VPN

For an authorized HTTPS URL, run curl -4 -sS -o /dev/null --max-time 10 -w '%{http_code}\n' 'URL', then repeat with -6. On Windows use curl.exe and replace /dev/null with NUL.

Content updated:

Steps

  1. For an authorized HTTPS URL, run curl -4 -sS -o /dev/null --max-time 10 -w '%{http_code}\n' 'URL', then repeat with -6. On Windows use curl.exe and replace /dev/null with NUL.

Interpretation

Record errors and proxy use. If IPv6 fails, first check whether the target has an AAAA record and the network has IPv6 connectivity. HTTP or SOCKS proxies may resolve the target remotely, so interpret -4/-6 according to the actual connection endpoint. Repeat before attributing failure to one address family.

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 ↓