Running selenium tests using CircleCI against a stage that's behind a VPN

Hello, I have a bit a of a dilemma regarding CircleCI and running Selenium tests against a test stage that’s behind a VPN.

All of our testing stages are sitting behind a VPN.

If I use the specific test stage address, the tests fail because CircleCI cannot connect to the stage that’s sitting behind the VPN. If I switch the address to our production address, then naturally CircleCI connects and executes the tests successfully.

My question is- is there a way to for CircleCI to be connected to a specific VPN before executing the tests so that the tests pass? Or what would be the way to bypass this issue?

Thank you.

read this thread VPN connection from Build machine