Proxy for external GIT (BitBucket)

Assaf Katz 21 Reputation points
2021-04-26T08:57:14.83+00:00

Hi,
We have BitBucket cloud and we want that all VMs in Azure subscription will use proxy (so the BitBucket will be configured with one allowed IP). Is there simple option to do it?
We use both HTTPS and SSH protocols and my problem is mainly about the second. I know that I can configure GIT client to use SOCKS5 proxy, so the main issue is how to run one (or better, use managed service for it).
Thanks,
Assaf

Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,762 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. suvasara-MSFT 10,076 Reputation points Moderator
    2021-04-26T15:09:07.063+00:00

    @Assaf Katz , You should be able to achieve this using Azure Firewall alone architecture model.

    91190-image.png

    Hosting your VM's behind the AZ-Firewall provides SNAT at Firewall. Now you can whitelist the Firewall PIP alone in your Bitbucket server as the source IP will always be AzFwPIP.

    ----------

    Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.