Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have setup an Nginx server in a machine which have both ipv4 and ipv6 addresses. Currently, its connected to CloudFlare and only use ipv4. I have 1 ipv4 address assigned to the web server.

Now what I want is, to become fully ipv6. Then connect to CloudFlare. So, if an ipv4 user comes to the site, CloudFlare will make sure that he can visit my ipv6 only site! Does it happen like that?

What is the best way to implement ipv6 on my server? Only ipv6 or both versions? How to implement it (In CloudFlare dns and in Nginx configuration file). Please help!

share|improve this question

3 Answers 3

up vote 1 down vote accepted

CloudFlare have an Automatic IPv6 Gateway feature which looks like it will proxy between IPv4 and IPv6 in both directions. You could use this to run your server on only IPv4 or only IPv6, but still provide both IPv4 and IPv6 access to users.

share|improve this answer

Use both ipv4 and ipv6, as this answer: Should I use IPv6 only or both IPv4 and IPv6 in my web server?

points out. Your hosting company should assign you an ipv6 address or a couple (million). You should give us your OS to find out what is the best way to set that up for your specific OS. CentOS is different than Debian for getting ipv6 on your server.

And no, I do not believe Cloudflare works like that. If you give it an ipv6 address, people on ipv4 who cannot connect to ipv6 will not be able to connect.

share|improve this answer

As CloudFlare support just told me, they don't support ipv6 only hosts at the moment.

I hope they fix that soon!

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.