Remote access to applications in the production environment

I should point out that the problem I’m about to describe doesn’t occur on version 8.7, but it does occur from version 9.9.14 to the latest version 9.13.005.

Procedures published in the production environment are accessed by entering credentials. Everything works when accessed from on-site workstations.

If the user accesses remotely, some features no longer respond to commands. The internal link is https://cedcam.miosito.gov.it/tvrad
When accessing remotely, you connect to a VPN managed by another office, which changes the address to https://personale.miosito.gov.it/go/cedcam.miosito.gov.it~ssl/tvrad
Perhaps SSL is used to make the connection more secure.
Version 9.9.14: When entering credentials, the message “CSRF token not valid” is displayed. You have to insist 3.4 times to log in.
Version 9.13.005: When entering credentials, the “CSRF token invalid” message isn’t displayed, and you enter the procedure and the menu appears.
The thing the two versions (9.9.14 and 9.13.005) have in common is that once you access the procedure remotely (with 9.9.14 with difficulty), the “chart” applications no longer work.
The graph isn’t displayed. The message “please wait…” is persistent.
The same goes for using grid applications that allow data editing; navigating between pages takes a long time.
Furthermore, the data update buttons on the forms don’t execute.
After a while, I’m having connection problems and have to log back in with my credentials.

With version 8.7, I had no problems logging in either internally or externally.
What’s bothering version 9 when accessing externally?
This is a problem for me because I can’t switch to the latest version yet.
Can you help me understand what’s causing this and what’s causing problems with scriptcase on the latest versions?
Thank you for your attention and your valuable support.

Massimo