IPv4 vs IPv6 for VPN and Proxy Connections
IPv4 and IPv6 are two ways devices address each other on a network. Many networks support both, but the routes and DNS records available for each can differ. A site may work over IPv4 and fail over IPv6, especially when a client profile or route policy handles the two differently.
How to narrow it down
Note which sites fail and whether the issue appears only with the proxy enabled. If your tools support separate IPv4/IPv6 tests, compare both paths using the same connection. Check whether DNS returns an address family that the current route can actually reach.
Do not disable IPv6 as a first step
Turning IPv6 off can hide the symptom, but it also changes the device's networking and may affect other services. Use it only as a temporary test, record the original setting and restore it after the comparison unless you have a clear reason to keep it disabled.
What the result can tell you
If IPv4 works but IPv6 fails only when the proxy is enabled, inspect the client's IPv6 support, TUN routes and DNS handling. If both fail even in direct mode, look at the local network or destination instead.
Related: DNS troubleshooting and connection testing.