Allow only gitlab URL inside the Devtest Lab VM

Prabakar A Samiyappan 1 Reputation point
2020-10-06T20:38:18.443+00:00

HI , I have the following use case requirement for DevTest Lab

1.create an Windows 10 VM - Completed
2.Block the internet and allow only GitLab URL - Internet is blocked but I am not able to allow only gitlab URL

How can we achieve this , what is the specific IP and port requirement for the gitlab

Azure DevTest Labs
Azure DevTest Labs
An Azure service that is used for provisioning development and test environments.
256 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Samara Soucy - MSFT 5,051 Reputation points
    2020-10-07T21:00:34.333+00:00

    Assuming you are using a Network Security group the rules are.processed in priority order to allow/block traffic. The first matching rule is the one applied. That means if you setup an allow rule for Gitlab with higher priority than the one blocking all outbound web traffic, than only Gitlab requests will go through.

    As far as Gitlab IP addresses, it depends on what part of the service you are using. They have that information published in their documentation: https://docs.gitlab.com/ee/user/gitlab_com/#ip-range.

    0 comments No comments