Yes I understand that the gitlab instance is protected via a VPN and you can only connect to it via VPN. Question is, does his protected gitlab instance itself have access to the internet so that he can do updates to it, eg: upgrade Debian/Ubuntu/CentOS or whatever distribution it’s running? Or does he not let his server download from the internet? I’m not talking about VPN access at this point.
So it would be like this:
- Open VPN
- Login to protected gitlab server.
- Choose New Project.
- Click Import Project.
- Repo by URL
- Provide URL to gitlab hosted repo to import from (eg: your gitlab server)
- Click create project.
His private protected gitlab server if it had outbound access to internet to download stuff, would then connect to your gitlab server and import the project to his.
If his server doesn’t have the ability to download from the internet either, then export as a zip/tar/bzip and import on his server once the VPN connection is open.
A gitlab user account cannot open a VPN to then connect to his instance and send the repo. You import rather, so it’s like me importing to my gitlab server my old repo from github for example or any other git-type server. You don’t do it the other way around.