Cloudflare Warp assigns IPs from a neighboring country

What is the name of the domain?

irrelevant.com

What is the issue you’re encountering

The IPs that are assigned to my computers by Cloudflare WARP are from a neighboring country (Bulgaria), even though there is a Romania (Bucharest) Cloudflare location.

What steps have you taken to resolve the issue?

I have tried using different devices. They are all assigned to Bulgarian IPs, even though there is a Cloudflare datacenter in Romania where I should be assigned based on my ISP’s IP. I have seen mentions of using Maxmind to change an IPs geolocation, but I don’t want to abuse the system or cause trouble to other Cloudflare WARP users.

What are the steps to reproduce the issue?

There is only one step really. I connect to Cloudflare WARP. The IPs that I get assigned to are from Sofia, Bulgaria. I have 4 devices which I’ve setup roughly the same time, they were all assigned to Bulgaria, when the original IP was Romanian: 2 Linux, one Windows 10, one Android.

It may be that your ISP is choosing to route to Cloudflare that way, or it may be that WARP does not serve from that location, or may be re-routed for maintenance. It’s not something you can change.

There is a Cloudflare datacenter 60km away from me, and my ISP assigned IP is correctly geolocated, so Cloudflare should be able to determine where I’m from.

From what I saw there is no maintenance at the Cloudflare Romanian facility: https://www.cloudflarestatus.com/

Why would I be assigned consistently to a datacenter 400km away, in a different country? I mean, it makes most sense for Cloudflare to assign a user with a Romanian IP to another Romanian IP, rather than make the routing data take precedence (assuming that’s what is happening).

speed.cloudflare.com, when not connected to Cloudflare Warp, does recognize my location correctly, but does its tests to a Sofia, Bulgaria datacenter. It’s been like that for years. I didn’t understand why that was happening either, but it didn’t bother me. Now that I’m assigned a Bulgarian IP though, some sites serve me with Cyrillic, which I don’t read.

As I said, it could be your ISP routes to Cloudflare that way or that’s where Cloudflare provides those services from.

See the archived content here…

Thank you! I skipped reading that archive earlier, because it was marked as deprecated. It was a nice read that did seem relevant.

However, in the mean time I played around with the settings in the 1.1.1.1 Android app, and changed the Tunnel protocol from Masque to WireGuard. I was then assigned a new IP, from Bucharest Romania. I tried switching back and forth a couple of times and it is reproducible. Perhaps Masque isn’t enabled or has issues in the Bucharest datacenter?

In Ubuntu 24.04 however, changing the protocol using the command “warp-cli tunnel protocol set WireGuard” doesn’t really do anything, despite reporting “success”. The tunnel reported afterward using “warp-cli settings” remains “Masque”, the IP doesn’t change and is still Bulgarian. Note that I don’t have Wireguard installed on the machine, I assumed that the Warp client has the protocol built-in, given it was the initial protocol back a few years ago.

Any suggestions on how to make the Wireguard protocol change work on the linux machine?

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.