The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How does Bitbucket connect through a corporate firewall when the runner is on a company network?

Illya Kuzmych
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 8, 2023

I am using a Bitbucket runner for some work, as a library that is necessary for the pipeline is hosted on the company's private server, and a runner is one of the methods I can use to gain access and use those libraries.

Some security concerns arose regarding how Bitbucket gains access to my computer through a corporate firewall, and through what encryption/authentication method is it able to do so?

 

Thanks, hopefully this question is clear.

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

3 votes
Answer accepted
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 10, 2023

Hi Illya,

So Pipelines will communicate through our Stargate API to establish a connection with your runner (so that it can communicate to your private IP address).
Once it has established a connection - it uses websocket rather than HTTP to maintain the connection between client/server.

For the connectivity  described above, you would need to have inbound whitelisting configured for our IP addresses as follows to establish the initial connection:

104.192.136.0/21
185.166.140.0/22
18.205.93.0/25
18.234.32.128/25
13.52.5.0/25

Once established, Pipelines will communicate between your local Runner and the Bitbucket Cloud UI via this websocket where commands are sent to be executed by either the container running on a Kubernetes pod (Pipelines) or self-hosted infrastructure (Runners).

The build status updates are then returned back in the same manner based on the success of those command executions.

Hope this helps.

Cheers!

- Ben (Bitbucket Cloud Support)

keewan lew
October 10, 2023

Can this apply for pocketquery?

DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events