CloudFlare is a content delivery network and distributed domain name server service marketed as improving website performance and speed and providing security.

learn more… | top users | synonyms

9
votes
5answers
3k views

Using namecheap dns with cloudflare

Since CloudFlare doesn't provide E-mail forwarding I need to leave my DNS management on Namecheap. What DNS records (A,CNAME,...) would I need to point to CloudFlare (and to where) to be able to ...
7
votes
2answers
4k views

Using dd-wrt Dynamic DNS client with CloudFlare

I'm trying to configure Dynamic DNS client on my router with dd-wrt (v24-sp2) firmware so it would dynamically change IP address in one of the DNS records. Unfortunately I encountered a problem… Here ...
6
votes
1answer
581 views

Does cloudflare know the decrypted content when using a https connection?

CloudFlare provides ssl support. However, if a visitor visits a website protected by CloudFlare, is CloudFlare able to know the plain data transfered during this visit? There are a few SSL options: ...
5
votes
2answers
3k views

Setting up CloudFlare with Route 53?

I'm trying to get CloudFlare to sit in front of Route 53. I have my main web server on an ELB (which doesn't have an IP address). CloudFlare needs an IP for an A record, so how can I accomplish this?
4
votes
1answer
417 views

Amazon S3 appears to be blocking cloudflare IP addresses. How do I fix it?

I have static content that is being served by Cloudflare. Cloudflare points to Amazon S3 to pick up the static content and serves it via a CNAME (cdn.mydomain.com). The bucket is setup properly and ...
3
votes
2answers
2k views

How does CloudFlare protect a web site?

I am a little confused about the protection CloudFlare offers. I am directing the www subdomain through CloudFlare with an Orange Cloud, and another subdomain (let's say direct) with a Grey Cloud. But ...
3
votes
1answer
303 views

Iptables list doesn't persist across restarts

I am trying to white list CloudFlare's IP addresses on my server by issuing these: iptables -N whitelist iptables -A whitelist -s 204.93.177.0/24 -j ACCEPT iptables -A whitelist -s 199.27.128.0/21 -j ...
3
votes
1answer
201 views

Unable to allow/deny access to IPs

I have an otherwise happily working server on Ubuntu 14.04. I'm trying to restrict access to a file using an allow/deny block: <Files "login.php"> order deny,allow deny from all allow from ...
3
votes
1answer
836 views

iptables - drop all HTTP(S) traffic but from CloudFlare

I would like to allow only HTTP(S) traffic coming from CloudFlare. In that way attackers cannot attack the server directly. I know CloudFlare is not mainly a DDoS mitigator, but I would like to try ...
3
votes
1answer
2k views

How secure is CloudFlare's basic SSL

CloudFlare's basic SSL package provides SSL encryption for you site, but only between your customer's browser, and the CloudFlare server where SSL is terminated. The connection between CloudFlare and ...
3
votes
2answers
2k views

CloudFlare offers DNS root CNAMEs. Any resolution gotchas to be aware of?

I'm not that familiar with the inner workings of DNS, preferring to just add my CNAMEs and A records as appropriate, and leave the behind the scenes to other services. I host a few sites on Amazon S3, ...
3
votes
1answer
3k views

Cloudflare, reverse DNS and php mail ending up in spam folder

I've been using Cloudflare to host my DNS, and PHPMailer to send e-mail through ZOHOs SMTP servers with great success, but have found that all my e-mails are hitting Gmail, Zoho and Hotmails spam ...
3
votes
1answer
189 views

nginx and cloudlfare ip confusion?

I am using the below config in http block of my nginx.conf to get real ip while using Cloudflare acceleration service: ## Cloudflare settings to get Real IP's set_real_ip_from ...
2
votes
4answers
2k views

Statically mirroring a heavy trafficked site, CloudFlare as DNS

I run a fairly heavy trafficked website and due to some unfortunate incidents the machines that are in my cloud at Linode went down. And I have only a single Load Balancer machine exposed to the ...
2
votes
1answer
1k views

AWS Free Usage Tier + Cloudflare… possible?

If I throw my MySQL/PHP app up on a Amazon EC2 instance (using their AWS Free Usage Tier program) and couple it with CloudFlare (the free plan of course) roughly how many daily visitors can I ...
2
votes
2answers
644 views

iptables with Cloudflare

I'm using fail2ban to block web vulnerability scanners. It is working correctly when visiting the site if CloudFlare is bypassed, but a user can still access it if going through it. I have ...
2
votes
2answers
760 views

Correct usage of whitelisting cloudflare IPs in iptables

I'm relatively new to using the command line so I'm understandably nervous about fiddling around with IP tables and accidentally doing something wrong which consequently opens up vulnerabilities in ...
2
votes
1answer
515 views

Using Varnish (only) for DDoS mitigation [duplicate]

My VPS is suffering from a (D)DoS doing a SYN flood with spoofed IPs. I'm right now searching from ways how to be able to defend (at least a bit) against it. It's running a DirectAdmin apache2 ...
1
vote
2answers
465 views

MX lookup failed

This is a part of my dns-zone file: ;; MX Records mx.domain.de. 300 IN MX 1 direct.domain.de. ;; CNAME Records www.domain.de. 300 IN CNAME domain.de. mail.domain.de. 300 IN CNAME ...
1
vote
2answers
613 views

Why do DNS services propagate so much faster? [closed]

Say I want to point my domain blah.example.com from a server located at IP addres 1.2.3.4, to a different server located at IP address 5.6.7.8. This requires a DNS change. Why is it that when I log ...
1
vote
1answer
4k views

Setting an SPF/DKIM record with CloudFlare

What is the correct way to setup an SPF record? Use TXT and add the following? v=spf1 a mx include:mydomain.tld ~all UPDATED: After using the following: v=spf1 a mx ~all I get this: ...
1
vote
2answers
3k views

Using cloudflare as the only load balancer

Say I have 3 vps nodes in linode to serve traffic on a single website. Linode themselves provides a node balancing solution: https://www.linode.com/nodebalancers But I use cloudflare and was ...
1
vote
2answers
2k views

CloudFlare CDN and static site with root on Amazon S3

I've set up an S3 bucket to host my static site. Now I am trying to wrap CloudFlare around this, but I get the following warning when adding a CNAME entry for the root domain in CloudFlare's DNS ...
1
vote
2answers
2k views

Cloudflare and Cache-Control

I am experimenting with Cloudflare, mainly to relief the load of my webserver in peak moments. I just signed up and it seems to be working (all my traffic is being proxied) but Cloudflare does not ...
1
vote
1answer
167 views

SSL VirtualHost not using DocumentRoot

I'm trying to set up a self-signed SSL certificate between my own VPS and Cloudflare (next to Full SSL). I'm using the following VirtualHosts for this: <VirtualHost *:80> ServerName ...
1
vote
1answer
177 views

Handling POST requests from blocked IP's

I have a malicious user targeting my site, sending a large amount of POST requests. I have automated systems to block abusing IP's however the problem is I am blocking them within my PHP code via a ...
1
vote
1answer
1k views

How to make a domain receiving email behind cloudflare?

I have a web server hosting multiple domains (centos + postfix + dovcot), one of my domain its dns is hosted on cloudflare (ie. abcd.com), but when I use gmail to send email to a user@abcd.com, ...
1
vote
2answers
317 views

How does Cloudflare know about my Subdomains?

I just signed up Cloudfare and they showed me a list of my subdomains by scanning my domain. How do they do this? What technology is used to scan all subdomains related to a root domain?
1
vote
1answer
616 views

Using CloudFlare with a mirror site

I am developing a mirror website (where people can download files, sort of like a FTP). I was wondering about using CloudFlare to help cut down on bandwidth usage. I have the mirror website with ...
1
vote
2answers
239 views

Customize log entry for AWS ELB for real user IP

I would like to change the logging format for AWS ELB, in order to log the real user IP. My current server setup contains multiple layers of proxies as followed: CloudFlare -> AWS ELB -> Nginx (EC2) ...
1
vote
3answers
181 views

Does CloudFlare make a site a greater potential DDOS target?

CloudFlare has gotten a lot of press recently as protecting businesses from DDOS attacks. But from looking at their twitter feed, it looks like they are targeted every day, and large segments of their ...
1
vote
1answer
109 views

How to setup a “server is down” message like Reddit and Twitter does? [closed]

I have a VPS with our Ubuntu LoCo Team's blog, but I want to setup a message that says the server is down when it happens, like Reddit and Twitter does. For example, if I restart the server or my VPS ...
1
vote
2answers
78 views

How to Create a subdomain on cPanel while Cloudflare is hosting my DNS [closed]

What I Did: My domain example.com is registered through godaddy. Which I forwarded to Cloudflare for DNS services. NS records points to amanda.ns.cloudflare.com and igor.ns.cloudflare.com I created ...
1
vote
1answer
214 views

Slow loading PHP script makes Cloudflare block connections

I use php-fpm and nginx, I am running a slow script but it's blocking all Cloudflare connections, most likely it's a php-fpm issue but I can't find anything via Google. If I run the php script ...
1
vote
1answer
681 views

How do I deny all requests not from cloudflare?

I've recently gotten denial of service attacks from multiple proxy ips, so I installed cloudflare to prevent this. Then I started noticing that they're bypassing cloudflare by connecting directly to ...
1
vote
1answer
512 views

DNS subdomain catch-all linking to my external address

First of all, I'm not that into DNS, so maybe the answer to this question is very obvious, sorry in either way. What I want is this: A DNS record which catches all non-existing subdomains on my site ...
1
vote
1answer
1k views

apxs cannot install mod_cloudflare on centos

[ Linux - CentOS - Apache 2.2 - mod_cloudflare - apxs2 ] I have changed my nameservers to point to CloudFlare. The problem is that all the IP addresses are coming in as CloudFlare's. This is no good, ...
1
vote
0answers
15 views

Social networks and Cloudflare free SSL

Let me expose my setup and problems. Maybe some of you will have ideas for me to test. Setup On Digital Ocean : I have one web server running a web site with NGINX in the front (Ruby on Rails ...
1
vote
1answer
234 views

How to log clients' real IPs when using CloudFlare + Nginx + Apache

I've been stuck for days trying to solve this problem, I hope someone can help me with this. I have Nginx stands as a reverse proxy in front of Apache. I'm able to log clients' real IPs by using ...
1
vote
2answers
355 views

Cloudflare doesn't cache as expected

I'm wondering why Cloulflare would not cache a certain static js file. Given the reuqest: curl -I http://www.testlifeinuk.com/dist/lifeinuk.js the headers returned like: HTTP/1.1 200 OK Date: ...
1
vote
2answers
581 views

HTTPS access to S3 bucket through Cloudflare

I'm trying to use Cloudflare to provide https access to an s3 bucket. I've setup the CNAME entry in Cloudfront with pointing to the bucket and I've verified I can access it via http but when I try and ...
1
vote
1answer
575 views

High # of sockets in TIME-WAIT state, server unresponsive at load

Our app became unresponsive at high loads, with longer wait times. Process usage was abnormally low (~15% CPU utilisation per process, our app runs on 8 processes). Nginx error log output showed a ...
1
vote
0answers
132 views

Some emails don't arrive

Yesterday, somehow a DNS Zone File got removed from Cloudflare. So after re-editing the file everything seemed okay. Now there's the problem that some emails don't arrive in the inbox. Strange thing ...
1
vote
0answers
291 views

Stuck with DNS questions during migration to AWS EC2 + Route 53

We're running a little hosting service with two nameservers registered for us at a local registrar: ns1.ourcompany.com ns2.ourcompany.com Now i want to move over to cloudflare with all the DNS ...
1
vote
0answers
620 views

nginx 502 bad gateway some files

im using cloudflare. my site working good but not loading any images, css files and js files. my server details; ubuntu 12.04 nginx/1.1.19 php5-fpm mysql you can check live here Check with www and ...
1
vote
1answer
577 views

Set $REMOTE_ADDR to real client IP [closed]

I am hosting a WordPress site on Heroku with Nginx. DNS is behind CloudFlare. My WordPress plugins reports Heroku IPs instead of real client IPs. I have the following Nginx rules: location / { ...
0
votes
3answers
2k views

Only allowing traffic from Cloudflare

I am new to Linux System Administration and I am experimenting with iptables trying to learn how to really lock down a system with them. And one thing a friend of mine recommended was that there was a ...
0
votes
1answer
221 views

Email configuration - DigitalOcean, CloudFlare, Postfix

I have a website (safirasaloes.com.br) hosted at DigitalOcean and DNS set at CloudFlare. I'm trying to receive e-mails at contato@safirasaloes.com.br with Postfix but I can't. The big problem here is ...
0
votes
1answer
494 views

AWS EC2 - Present UK IP address for outgoing requests from server in AWS Ireland data centre

We have an application that monitors client websites and does some crawling. We're looking to move the application to existing EC2 servers that we run, but testing suggests that we're going to have ...
0
votes
2answers
33 views

Access my server through SSH with the domain (with Cloudflare)

I have this server (44.44.44.44, for instance) running a webserver. I have routed pollnote.com to the server to access my webserver. Everything works fine. To access the server, I added my Public Key ...