https://github.com/tripflex/cloudflarecp
Bash/Shell script to install, and add IPs to CSF for CloudFlare on a cPanel server
https://github.com/tripflex/cloudflarecp
Last synced: about 2 months ago
JSON representation
Bash/Shell script to install, and add IPs to CSF for CloudFlare on a cPanel server
- Host: GitHub
- URL: https://github.com/tripflex/cloudflarecp
- Owner: tripflex
- Created: 2013-05-09T23:54:24.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2013-05-21T15:03:46.000Z (about 13 years ago)
- Last Synced: 2026-01-02T16:44:34.626Z (5 months ago)
- Size: 121 KB
- Stars: 2
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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
``` bash
wget https://raw.smyl.es/cloudflarecp/master/cloudflarecp
```
Change permissions to allow execute
``` bash
chmod +x cloudflarecp
```
## Add API Key
Edit cloudflarecp using nano, vim, whatever flavor your like
``` bash
nano cloudflarecp
```
Add API key
``` bash
APIKEY=1a2b3c4d5e6f7g8h9i10
```
## Install CloudFlare
``` bash
./cloudflarecp "My Hosting Company"
```