Skip to content

An iptables script that allows your HTTP(80)/HTTPS(443) port to receive traffic from cloudflare only

License

Notifications You must be signed in to change notification settings

kingcc/cloudflare-ips-only

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Cloudflare IPs Only

An iptables script that allows your HTTP(80)/HTTPS(443) port to only receive traffic from cloudflare.

Usage

For users whose HTTP server is directly exposed to host 80/443:

$ git clone https://github.com/kingcc/cloudflare-ips-only.git
$ cd cloudflare-ips-only
$ sudo bash ./host.sh

For users deployed with docker on server:

$ git clone https://github.com/kingcc/cloudflare-ips-only.git
$ cd cloudflare-ips-only
$ sudo bash ./docker.sh

LICENCE

MIT

About

An iptables script that allows your HTTP(80)/HTTPS(443) port to receive traffic from cloudflare only

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages