Skip to content

This application synchronises Cloudflare egress IP ranges with GCP Cloud Armor policies

License

Notifications You must be signed in to change notification settings

SebastianPereiro/flaresync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flaresync

This application synchronises Cloudflare egress IP ranges with GCP Cloud Armor policies. It allows you to restrict incoming connections to your GKE ingresses to traffic that has been proxied by the Cloudflare WAF. Run it daily as k8s CronJob.

How it works:

It gets the current Cloudflare IP ranges ETag and compares it with the GCP policy description. If the ETag is different, it updates the policy rules.

CLI flags:

  -debug
        Add additional debugging output
  -policy string
        Cloud Armor policy name
  -project string
        Google Cloud Project

About

This application synchronises Cloudflare egress IP ranges with GCP Cloud Armor policies

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published