Results 1 to 4 of 4
  1. #1

    * 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?

  2. #2
    Join Date
    May 2008
    Location
    Citrus Heights, CA
    Posts
    1,887
    iWebFusion.Net - Shared / Reseller / VPS / Bare Metal / Colocation / IP Transit / Networking
    *Simply Hosting - Wholly owned networks, in-house staff, legions of fans!

  3. #3
    Quote Originally Posted by Mark Muyskens View Post
    I already tested, but it's not working in my situation. I can't see any blocked IP in cloudflare firewall.

  4. #4
    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

  1. How to pass internet from one server to the other?
    By cameraman_2 in forum Colocation, Data Centers, IP Space and Networks
    Replies: 4
    Last Post: 12-03-2012, 03:15 PM
  2. Replies: 2
    Last Post: 08-01-2008, 09:56 AM
  3. How do we check what ips connect to the server ?
    By tinhnho in forum Hosting Security and Technology
    Replies: 10
    Last Post: 05-17-2006, 02:58 PM
  4. How do I assign new IP's to existing nameservers?
    By xpp1223 in forum Domain Names
    Replies: 7
    Last Post: 07-02-2002, 10:11 AM
  5. VDI...How to limit use of IP's to reseller
    By WWWhost in forum Dedicated Server
    Replies: 5
    Last Post: 01-03-2001, 11:41 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •