Results 1 to 4 of 4
-
05-03-2015, 05:52 AM #1Junior Guru
- Join Date
- Jan 2013
- Posts
- 179
How to pass fail2ban banned IP's to Cloudflare?
I have Ubuntu 14.04, Nginx 1.6.2 server with CSF and fail2ban. I want to send the fail2ban banned IP's (all filters) to the cloudflare. Right now I use banaction = route because banaction = iptables-multiport not working in my situation. I guess that issue caused IP tables conflict with the CSF.
I want to send fail1ban all the banned IP's to the cloudflare via its api. But I want to keep the fail2ban ban action as route, I don't want to change it. So how do I configure fail2ban?
-
05-03-2015, 06:08 AM #2Rebooting is a hack, not a fix
- Join Date
- May 2008
- Location
- Citrus Heights, CA
- Posts
- 1,887
Something like this?
http://www.normyee.net/blog/2012/02/...t-to-fail2ban/iWebFusion.Net - Shared / Reseller / VPS / Bare Metal / Colocation / IP Transit / Networking
*Simply Hosting - Wholly owned networks, in-house staff, legions of fans!
-
05-05-2015, 11:06 AM #3Junior Guru
- Join Date
- Jan 2013
- Posts
- 179
-
05-05-2015, 09:40 PM #4Web Hosting Master
- Join Date
- Nov 2011
- Location
- Calgary, Alberta, Canada
- Posts
- 699
Here's a simple PHP script I did up: https://gist.github.com/little-apps/...d4e6bc6360c409. I haven't tested it so I'm not sure if it works or not :p
Little Apps
Open Source Software
Similar Threads
-
How to pass internet from one server to the other?
By cameraman_2 in forum Colocation, Data Centers, IP Space and NetworksReplies: 4Last Post: 12-03-2012, 03:15 PM -
How to redirect the banned domain name to another and keep things intact?
By Gofree in forum Domain NamesReplies: 2Last Post: 08-01-2008, 09:56 AM -
How do we check what ips connect to the server ?
By tinhnho in forum Hosting Security and TechnologyReplies: 10Last Post: 05-17-2006, 02:58 PM -
How do I assign new IP's to existing nameservers?
By xpp1223 in forum Domain NamesReplies: 7Last Post: 07-02-2002, 10:11 AM -
VDI...How to limit use of IP's to reseller
By WWWhost in forum Dedicated ServerReplies: 5Last Post: 01-03-2001, 11:41 AM