How to access a container behind a proxy when connecting by VPN?

So i have a container on a VM, lets say at work or uni. I wanna acess a webserver (apache, but i can change that) in a container, to use a webapp or UI.

The workplace only allows web/ssl/any access to the VM through VPN. I am (from home) connected via openVPN.

I am NOTable to access the app via browser.

I AM though able to access the app through a web-browser in a remote desktop session, that is located inside the physical network of the workplace (so its not using VPN).

From experience this could be a DNS issue some selfhostes gitlabs act like this too.

Is there a way to configure this?

This looks more like a VPN setting issue than docker.

When using VPN are you able to ping the VM via IP/hostname?
Are you able to connect to the remote session from the VPN?
Try to port forward some ports and try to access the container (web) via IP.

If above things are possible than it’s the VPN dns fault.
Else routes are not set up.