Skip to content
This repository has been archived by the owner on Aug 19, 2024. It is now read-only.

A Python script that automatically updates a Hetzner Cloud firewall to accept HTTP(s) traffic from Cloudflare only

Notifications You must be signed in to change notification settings

JeffResc/Hetzner-Cloud-Firewall-Cloudflare-Updater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hetzner-Cloud-Firewall-Cloudflare-Updater

A Python script that automatically updates a Hetzner Cloud firewall to accept HTTP(s) traffic from Cloudflare only

Installation:

git clone https://github.com/JeffResc/Hetzner-Cloud-Firewall-Cloudflare-Updater
cd Hetzner-Cloud-Firewall-Cloudflare-Updater
python3 -m venv Hetzner-Cloud-Firewall-Cloudflare-Updater
source Hetzner-Cloud-Firewall-Cloudflare-Updater/bin/activate
pip3 install -r requirements.txt

Usage:

python3 updater.py <API_TOKEN> <Hetzner_Firewall_ID>

About

A Python script that automatically updates a Hetzner Cloud firewall to accept HTTP(s) traffic from Cloudflare only

Topics

Resources

Stars

Watchers

Forks

Languages