Skip to content

Bash/Shell script to install, and add IPs to CSF for CloudFlare on a cPanel server

Notifications You must be signed in to change notification settings

tripflex/cloudflarecp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cloudflarecp

Shell/Bash script to install CloudFlare on cPanel servers, and add CloudFlare IPv4 and IPv6 to ConfigServer Firewall (CSF).

This is for server administrators who want to provide CloudFlare to their cPanel customers, and needs to be used on a VPS/Cloud/Dedicated Server.

API key is required.

Installation

Download

wget https://raw.smyl.es/cloudflarecp/master/cloudflarecp

Change permissions to allow execute

chmod +x cloudflarecp

Add API Key

Edit cloudflarecp using nano, vim, whatever flavor your like

nano cloudflarecp

Add API key

APIKEY=1a2b3c4d5e6f7g8h9i10

Install CloudFlare

./cloudflarecp "My Hosting Company"

About

Bash/Shell script to install, and add IPs to CSF for CloudFlare on a cPanel server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published