4 ms·
> With virtual locations, the registered IP address matches the country you have chosen to connect to, while the server is physically located in another country
by lapser 4y ago
> With virtual locations, the registered IP address matches the country you have chosen to connect to, while the server is physically located in another country.
How does this work then? How can you have a Indian IP address, while the server is located in the UK?
- stevewatson301 4y agoFake WHOIS records, you can typically populate anything there. Some geolocation providers blindly trust the values that you put in there (for example, Maxmind); others do triangulation based on trace routes and ping times to deduce if the advertised location is actually correct (ipinfo, DB-IP).
- netsharc 4y agoHow does Geo-location from IP work anyway? From my knowledge it's just figuring out the ISP the IP-block is assigned to, and finding out the address of the ISP. But technically a computer anywhere in the world can have any IP? Or since I don't know anything about routing: are there routing rules that would think "This is an Indian IP, I'm going to forward this data towards India"?
- jaywalk 4y agoAny computer can't have any IP, but the routing rules have nothing to do with physical location. Routers advertise to their neighbors the IP block(s) that they serve. As a super high level example, your ISP's core router would advertise to other ISP's routers that it serves 10.123.x.x IPs, so any IP address in that block gets sent to that router. Then within your ISP, the router in your area would advertise that it serves 10.123.45.x, so it receives packets for IPs in that more specific block from the core router. So your IP would have to be within the 10.123.45.x block, because that's what the router serving you is assigned.
- petercooper 4y agoI think it goes deeper than that. Even here in the UK with its heavily centralized PoPs it's possible for geolocation tools to narrow a consumer down to a specific town (my cable connection tends to get geolocated to a big town 20 miles from me though) so I assume databases of locations of PoPs are maintained somewhere too.
- mulmen 4y agoCross reference with billing address? Your ISP knows where you live, and what IP you have. Do you trust them not to sell that data? Any delivery of anything on your phone at least goes to a nearby cell tower but probably exits on your IP from your wifi, and has your address as a requirement. Seems very easy. Uber Eats, Doordash, etc all know the address of your ip as a requirement to perform their services.
- Anunayj 4y agoThere isn't a standard way to do this, and all depends on people using random "Geo IP" databases. Most of these databases are made using a variety of sources, though primarily the easiest is to see what ASN the IP address belongs to, and then you just put all those IPs as belonging to that ISPs country. This covers 90% of the domestic users. What ExpressVPN has to do is, simply convince one of these ASNs to allow announcing a IP block from them on BGP, and that will work until some GeoIP database finds out and changes the country for whatever IP block ExpressVPN got. In some cases, traceroutes from different locations around the world can be used to roughly triangulate the location. Though you may find the datacenter to be inside of earth if the IP is actively being used for unicast :)
- deleted 4y ago[deleted]
- bragr 4y agoThey must control ranges of "indian" IP addresses but announce BGP routes for them in Singapore and the UK. GeoIP says India, BGP takes you somewhere else. Easy peasy
- elij 4y agonot true -- your prefix location is a BGP tag which is appended based on where you're physically connected (which T1 carriers will do). Obviously you can get around it with an overlay network but you'll need some trivial PoP in India.
- ev1 4y agoNah this is all just fake whois entries announced elsewhere. Has no connection to IN outside of that.
- elij 4y agointeresting that they're having so much success with false RIPE/ARIN entries. Proper geolocation (as in with visiblity of most T1s) would trivially identify the origin of traffic.
- ev1 4y agoThere is less success than you would expect, but it's mostly just there to tick a box, not really used much.
- Jamie9912 4y agoExpressVPN does this a lot for their "European" servers. If you ping them it ends up in the UK (as far as I can tell), even for their countries like Serbia and Montenegro