Manual:$wgProxyWhitelist/en

Details
Sets a proxy allowlist that allows an IP address or a list of addresses that are assumed to be non-proxy despite what the other methods might say.