You need to grab the Duolingo APK from a source like APKpure or APKMirror and patch this file.
This is because the installed Duolingo app consists of multiple (split-)APKs.
Windscribe works for me. You can either use their software which is open source or create personal VPN configs on their site to use it with your distros network manager.