Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 522 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 522 Bytes

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