Forums

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

Is it possible to restrict Bitbucket server to localhost AND one additional sender IP?

Marko Schröder November 6, 2018

Our Bitbucket server (v 5.9) runs currently behind a local apache (reverse proxy). All requests runs through this apache. Consequently Bitbucket server is configured to accept requests from localhost only.

We're going to add access from an external network through a firewall appliance. I wonder if it is possible to add the firewall's ip address as an additional valid requester ip to Bitbucket server's configuration.

1 answer

0 votes
Alexis Robert
Community Champion
November 6, 2018

Hello @Marko Schröder

 

if you are already running an Apache proxy, this is very easy to achieve. You can simply add a "Require <firewall.IP>" clause to your existing configuration to grant access to Bitbucket.

You can read more about this on Apache website.

 

Let me know if you have any questions, 

 

--Alexis

Marko Schröder November 6, 2018

Hello @Alexis Robert

it was too obvious and I missed the forest for the trees. ;-)

Thank you for your answer!

/Marko

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events