GitLab Firewall configuration

Foreword

Accepting incoming connections for certain ports is necessary for the correct protection of GitLab. The cloud firewall can be configured directly in the Customer Center. You can find out how to create, edit and delete firewall rules in the cloud firewall in our help center article Firewall rules.



GitLab Ports

GitLab uses the following ports by default, unless configured otherwise, to provide the GitLab internal services.


For security reasons, please only allow the ports that are also used when using the GitLab solutions.


Description Protocol Ports
GitLab web interface TCP 80, 443
Git over SSH TCP 22
GitLab Container Registry TCP 5050