Question

allow certbot validation and github action connection to firewall

I have this droplet that I served as staging instance and has network firewall on it. As it is a staging instance I made it work like a private access only by adding our outline vpn ip on http and https port, everything is working except when validating website with certbot and github action not able to connect to the droplet instance. How do I whitelist the github and certbot? Any help, suggestions, recommendations is greatly appreciated!


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

KFSys
Site Moderator
Site Moderator badge
June 8, 2023

Hey @julivergalleto,

It’s either you allow access on port 80 and 443 or you find the certbot and Github IP ranges and allow them.

Regarding Github ranges you can check this link here:

https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/about-githubs-ip-addresses

As for allowing Certbot, I found this topic that could be of help:

https://community.letsencrypt.org/t/lets-encrypt-server-addresses-for-certificate-renewal/83466/2

Nothing else of significance that I could find.

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel