List of GitHub IP address for allowing incoming traffic from webhooks

I have setup a Jenkins server for experimental purpose which I haven’t exposed to the world.

I am trying to make use of GitHub webhook to execute builds on my Jenkins instance.

I am using nginx to reverse proxy traffic to my my Jenkins instance. I have set it up in a restrictive manner and I only want to allow certain IPs. What are some IPs which are related to webhooks which I should allow in my nginx settings?

I think I got the answer to my question. See webhooks section from this json: https://api.github.com/meta

More information here: About GitHub's IP addresses - GitHub Docs

1 Like