• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 Cloudflare ipv6

Brad Padgett

Well-known member
#2
Not sure about a real work around because the ip address will still be ipv6 but will appear as ipv4 if you enable pseudo ipv4. You can replace ivp6 with ipv4 by setting the option pseudo ipv4 to either 'add header' or 'overwrite headers' (network > pseudo ipv4). It simply makes the ipv6 ip address (for people coming to your site through a VPN for example) an ipv4 address. I set mine to overwrite headers. It's a simple solution to allowing your visitors to always have a real ip address.

But as for a work around to actually stop ipv6, I'm not sure of a way.
 

madness85

Active member
#3
Not sure about a real work around because the ip address will still be ipv6 but will appear as ipv4 if you enable pseudo ipv4. You can replace ivp6 with ipv4 by setting the option pseudo ipv4 to either 'add header' or 'overwrite headers' (network > pseudo ipv4). It simply makes the ipv6 ip address (for people coming to your site through a VPN for example) an ipv4 address. I set mine to overwrite headers. It's a simple solution to allowing your visitors to always have a real ip address.

But as for a work around to actually stop ipv6, I'm not sure of a way.
I have it set to add header now but I'm still getting ipv6 on some users.

I tried overwrite headers but on an ip search it said private?
 

Brad Padgett

Well-known member
#4
I have it set to add header now but I'm still getting ipv6 on some users.

I tried overwrite headers but on an ip search it said private?
It takes some time to update. And at least I believe that's what pseudo ipv4 does. All I know is I had users with ipv6 ip addresses coming in and I set it to pseudo ipv4 'overwrite headers' and I started to see them with ipv4 addresses instead.

But when I set mine, it took some time to update before I started seeing ipv4. So after a while you should start seeing ipv4 only.
 

madness85

Active member
#5
It takes some time to update. And at least I believe that's what pseudo ipv4 does. All I know is I had users with ipv6 ip addresses coming in and I set it to pseudo ipv4 'overwrite headers' and I started to see them with ipv4 addresses instead.

But when I set mine, it took some time to update before I started seeing ipv4. So after a while you should start seeing ipv4 only.
OK I will give it some time. Thank you very much for your reply :)
 

Brad Padgett

Well-known member
#7
@Brad Padgett I've added the overwrite headers and it has changed the ipv6 users to ipv4 but the Ips are private ips and not the user's ip. If you try do a search on http://whatismyipaddress.com/ it will say invalid.

Looks like I have no option but to have a mix of ipv4 and ipv6 :(

Well still though the ip is assigned to the user. So if you ever need to ban someone that ip is still unique to the user. However I wish I knew a work around for it. Currently I'm fine with the way it is but good luck on finding a way. At least the user has a unique ip though.
 

madness85

Active member
#8
Well still though the ip is assigned to the user. So if you ever need to ban someone that ip is still unique to the user. However I wish I knew a work around for it. Currently I'm fine with the way it is but good luck on finding a way. At least the user has a unique ip though.
Ye I guess that's a positive.

Hopefully someone will have a solution :)