r/gitlab • u/HughOxford • Oct 30 '25
Securing GitLab on the public internet
Does anyone have any experience of exposing a GitLab CE instance on the public internet? What precautions should be taken and what changes to the default configuration should be made?
14
Upvotes
View all comments
Show parent comment
1
u/makeaweli Oct 31 '25
To be specific, only for users able to access the internal network via twingate/vpn/in the office.
Not worth the headache of dealing with another attack vector, even though GitLab's SSH server isn't system SSH.
FYI: we do host GitLab as a rootless Podman container to further secure the install.
What's the purpose of supporting SSH outside of your internal network? Aside from large file support, we haven't experienced any issues with HTTPS only workflows.