🌐
GitLab
docs.gitlab.com › gitlab docs › administer › monitor gitlab › ip allowlist endpoints
IP allowlist | GitLab Docs
monitoring: # by default only local IPs are allowed to access monitoring resources ip_whitelist: - 127.0.0.0/8 - 192.168.0.1
🌐
GitLab
docs.gitlab.com › gitlab docs › administer › update your settings › ip address restrictions
IP address restrictions | GitLab Docs
IP addresses are cleared from the list when no further requests have been made by the user from the IP address in the specified time period.
Discussions

IP Whitelisting on GitLab.com
Hi there, Can I apply IP whitelisting on my projects hosted on Gitlab.com SaaS from our VPN or office network. Similar to what which is explained below. More on forum.gitlab.com
🌐 forum.gitlab.com
1
0
June 24, 2021
Whitelist IP for specific project - on prem instance
Hi, i have a self-managed Gitbal instance. I have a requirement to add a new project which should be accessible only from a particular IP. I don’t think Gitlab support sth like that. I was thinking about changing the configuration in Nginx, but im not sure it is a good option as GitLab manages ... More on forum.gitlab.com
🌐 forum.gitlab.com
2
0
May 16, 2024
Gitlab.com (saas) CI runners public or private IP addresses (range) - Stack Overflow
I’d like to whitelist a CIDR in security group which is allowed to ssh to packer EC2 instance running in AWS? ... Save this answer. ... Show activity on this post. From https://docs.gitlab.com/ee/user/gitlab_com/#ip-range · For outgoing connections from CI/CD runners we are not providing static IP addresses... More on stackoverflow.com
🌐 stackoverflow.com
Restrict access to repository by IP address/range
Hi, Is it possible to restrict access to Gitlab Cloud (SaaS product) based on IP address/ range (i.e. the network in our office)? A colleague informs me that it indeed is possible but only for HTTPS and not for SSH. Is this true? I’ve been looking at the documentation and it never mentions ... More on forum.gitlab.com
🌐 forum.gitlab.com
7
0
November 14, 2020
🌐
GitLab
docs.gitlab.com › ee › administration › monitoring › ip_whitelist.html
Sign in · GitLab
June 24, 2021 - Sign in to GitLab · By signing in you accept the Terms of Use and acknowledge the Privacy Statement and Cookie Policy · Don't have an account yet? Register now · or sign in with · Remember me · Explore Help About GitLab GitLab community forum · English · português (Brasil) · 한국어
🌐
GitLab
forum.gitlab.com › how to use gitlab › self-managed
IP Whitelisting on GitLab.com - Self-managed - GitLab Forum
June 24, 2021 - Hi there, Can I apply IP whitelisting on my projects hosted on Gitlab.com SaaS from our VPN or office network. Similar to what which is explained below.
🌐
GitLab
rcg.bsd.uchicago.edu › gitlab › help › administration › monitoring › ip_whitelist.md
Ip whitelist · Monitoring · Administration · Help · GitLab
Save the file and reconfigure GitLab for the changes to take effect. ... monitoring: # by default only local IPs are allowed to access monitoring resources ip_whitelist: - 127.0.0.0/8 - 192.168.0.1
🌐
GitLab
docs.gitlab.com › gitlab docs › use gitlab › manage your organization › gitlab.com settings
GitLab.com settings | GitLab Docs
GitLab.com uses the IP ranges 34.74.90.64/28 and 34.74.226.0/24 for traffic from its Web/API fleet. This whole range is solely allocated to GitLab. Connections from webhooks or repository mirroring come from these IP addresses.
🌐
GitLab
forum.gitlab.com › how to use gitlab › self-managed
Whitelist IP for specific project - on prem instance - Self-managed - GitLab Forum
May 16, 2024 - Hi, i have a self-managed Gitbal instance. I have a requirement to add a new project which should be accessible only from a particular IP. I don’t think Gitlab support sth like that. I was thinking about changing the configuration in Nginx, but im not sure it is a good option as GitLab manages Nginx and my configuration could be overwritten during upgrades.
🌐
GitLab
gitlab.com › gitlab.org › #1985
Restrict access to group by IP address (#1985) · Issues · GitLab.org / GitLab · GitLab
Description Documentation on the implementation As an organization, I'd like to make sure...
Find elsewhere
🌐
GitLab
gitlab.com › gitlab.org › repository
doc/administration/monitoring/ip_whitelist.md · 3f76ce24f918877da62631f2442120e0836b295c · GitLab.org / GitLab · GitLab
monitoring: # by default only local IPs are allowed to access monitoring resources ip_whitelist: - 127.0.0.0/8 - 192.168.0.1 · Save the file and restart GitLab for the changes to take effect.
🌐
ETSI
forge.etsi.org › help › help
Ip allowlist · Monitoring · Administration · Help · GitLab
To control access to those endpoints through IP allowlisting, you can add single hosts or use IP ranges: Open /etc/gitlab/gitlab.rb and add or uncomment the following: gitlab_rails['monitoring_whitelist'] = ['127.0.0.0/8', '192.168.0.1']
Top answer
1 of 4
2

From https://docs.gitlab.com/ee/user/gitlab_com/#ip-range

For outgoing connections from CI/CD runners we are not providing static IP addresses. All our runners are deployed into Google Cloud Platform (GCP) - any IP based firewall can be configured by looking up all IP address ranges or CIDR blocks for GCP.

2 of 4
1

Based on the documentation in GitLab docs here https://docs.gitlab.com/ee/user/gitlab_com/#ip-range

For outgoing connections from CI/CD runners, we are not providing static IP addresses. All GitLab.com shared runners are deployed into Google Cloud Platform (GCP) in us-east1. Any IP-based firewall can be configured by looking up IP address ranges or CIDR blocks for GCP

As you can see from the previous answer here, the document itself had changed and the runners now have been running within the IP address inside the scope of us-east1. So the suggestion here is also noted from the document in the google cloud documents is to create your own script to extract the collection of ipv4Prefix from scope us-east1 within this JSON file provided by the docs.

Important: In the past, Google Cloud instructed users to inspect the _cloud-netblocks.googleusercontent.com DNS TXT record (and the records it referenced). Please update your scripts or software libraries so that they read from the cloud.json file instead. The JSON file includes additional information, such as the region to which a regional external IP address is attached.

from the time I wrote this answer, the IP ranges in the scope of us-east1 are

34.23.0.0/16
34.24.0.0/15
34.26.0.0/16
34.73.0.0/16
34.74.0.0/15
34.98.128.0/21
34.118.250.0/23
34.138.0.0/15
34.148.0.0/16
35.185.0.0/17
35.190.128.0/18
35.196.0.0/16
35.207.0.0/18
35.211.0.0/16
35.220.0.0/20
35.227.0.0/17
35.229.16.0/20
35.229.32.0/19
35.229.64.0/18
35.231.0.0/16
35.237.0.0/16
35.242.0.0/20
35.243.128.0/17
104.196.0.0/18
104.196.65.0/24
104.196.66.0/23
104.196.68.0/22
104.196.96.0/19
104.196.128.0/18
104.196.192.0/19
162.216.148.0/22
🌐
GitLab
forum.gitlab.com › general
Restrict access to repository by IP address/range - General - GitLab Forum
November 14, 2020 - Hi, Is it possible to restrict access to Gitlab Cloud (SaaS product) based on IP address/ range (i.e. the network in our office)? A colleague informs me that it indeed is possible but only for HTTPS and not for SSH. Is…
🌐
GitHub
github.com › pelith › gitlab-ce › blob › 11-6-stable › doc › administration › monitoring › ip_whitelist.md
gitlab-ce/doc/administration/monitoring/ip_whitelist.md at 11-6-stable · pelith/gitlab-ce
Save the file and reconfigure GitLab for the changes to take effect. ... monitoring: # by default only local IPs are allowed to access monitoring resources ip_whitelist: - 127.0.0.0/8 - 192.168.0.1
Author: pelith
🌐
Reddit
reddit.com › r/gitlab › whitelist ip from localize to an on-premise gitlab aws vpc
r/gitlab on Reddit: Whitelist IP from Localize to an on-premise GitLab AWS VPC
October 6, 2021 -

I have an on-premise GitLab in a private network and I would like to have use Localized integration.

Their documentation says that I have to whitelist a range of IP addresses, localize also have to use a domain name, so I'll need to put a public record which is not what I want to have a public domain record for my private GitLab.

What is the best solution for that so that my GitLab stay secure and stay on my private network.

Should I put a network load balancer, use security groups, or a private link, private endpoint, ACL, WAF, maybe use API gateway ?

I'm not looking for IPsec tunnel just to whitelist public IP addresses from Lokalize app integration (Ir the documentation : https://docs.lokalise.com/en/articles/1789855-gitlab ) in to my private network on-premise GitLab, but I'm still not shur the best way to do it.

I would do something like a security groups with the IP, with a public alias Route 53 record that point to my Load Balancer. Or an endpoint join to my load balancer.

I don't want to give too much critical information for security reasons, but if someone have a concrete question about how to do it let me know, in those conditions I ready to give more context. Best regards.

🌐
GitLab
forum.gitlab.com › gitlab ci/cd
Gitlab CI runners public IP addresses (range) - GitLab CI/CD - GitLab Forum
September 19, 2016 - Is there any official IP range for the Gitlab CI runners? I'd like to white-list an IP range which is allowed to connect to my CloudSQL database on Google Cloud Platform. The CI runner is running some Django admin comman…
🌐
GitLab
gitlab.com › gitlab.org › repository
doc/administration/monitoring/ip_whitelist.md · d14b5c3f85e8c88565c5ad8d6e1bf182a29f7105 · GitLab.org / GitLab · GitLab
GitLab is the open-source DevSecOps platform that provides a complete software development lifecycle toolchain including source control, CI/CD, security scanning, and project management in a single application.
🌐
GitLab
forum.gitlab.com › devsecops
Gitlab ip ranges for firewall - DevSecOps - GitLab Forum
December 16, 2023 - Hello I use firewall for my service so i added gitlab ip rages for trig webhook but i got 403 from firewall when i try to use webhook. I wonder what is the correct ip ranges of gitlab for trigging webhook. Note: I gave permissions for those ips 34.74.90.64/28 and 34.74.226.0/24 Best regards.