Skip to content

Commit

Permalink
update firewall requirements (#2442)
Browse files Browse the repository at this point in the history
* add Las Vegas, improve description and formatting

* Update content/partials/firewall.md

* Update content/partials/firewall.md

---------

Co-authored-by: helinanever <[email protected]>
  • Loading branch information
mikhail-tokarev and helinanever authored Mar 28, 2024
1 parent 3c669e8 commit 502f13a
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions content/partials/firewall.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,18 @@ weight: 7
aliases:
---

To allow Codemagic access a private repository, the following IP addresses need to be whitelisted:
If your repositories are within an internal network / behind a firewall, which is usually the case with enterprises, the network configuration of these repositories must be configured for external access.

1. `34.74.234.56` - used by our backend for getting basic information about the repository
2. `35.185.76.207` - used by our Linux and Windows build machines to download the code and build it
3. `199.7.162.128/29` - used by our macOS build machines to download the code and build it
Codemagic requires direct access to the repositories for the following use cases:
- For retrieving the repository information such as the branches and the commits.
- For cloning the repository to the build machine during the build.

Since Codemagic needs to access the Git service, please allow ports that your service uses - usually the default SSH or HTTPS ports.
The following IP addresses must be allowed through the firewall (whitelisted):
{{< highlight Shell "style=rrt">}}
199.7.162.128/29
207.254.42.240/29
34.74.234.56/32
35.185.76.207/32
{{< /highlight >}}

Since Codemagic needs to access the Git service, please allow ports that your service uses - usually the default SSH or HTTPS ports.

0 comments on commit 502f13a

Please sign in to comment.