In most of the places I work, IPv6 is supported. For my research work I also have VPN access to the university. However, this university does not support IPv6, so IPv4 data is routed over the VPN when connected, but IPv6 is routed over my local router.
There are various websites (e.g. https://ieeexplore.ieee.org/) which provide certain content for universities, based on their IPs, without login or free of charge. Since these websites support IPv4 and IPv6, and Ubuntu/my browser prefers IPv6, I can't access the provided content even if I'm connected to the university VPN. This only works if I deactivate IPv6 (manually, e.g. by dropping the IPv6 ip address).
Is there any way to deactivate my computer's IPv6 using Network Manager when connecting to this specific VPN? Selecting "Disable" in the Network Manager's IPv6 settings, it disables IPv6 only for the University connection (which has no IPv6 either). How to globally disable/block IPv6 traffic while connected to this University VPN?
I'm using Ubuntu 19.04 with Network Manager.