Hi fumblina,
Unfortunately, I’m not familiar with “Jetpack Debug option”. But this article might help you. This article mentions about only activation, but you need to give a permission to Jetpack during your debug. So please add the following code to your functions.php.
function my_whitelist( $validate ) {
$whitelist = array(
'192.0.64.0',
'192.0.81.0',
'192.0.82.0',
'192.0.83.0',
);
$ip = explode( '.', $_SERVER['REMOTE_ADDR'] );
$ip[3] = 0;
$ip = emplode( '.', $ip );
if ( in_array( $ip, $whitelist ) ) {
$validate['result'] = 'passed';
}
return $validate;
}
add_filter( 'ip-geo-block-xmlrpc', 'my_whitelist' );
add_filter( 'ip-geo-block-admin', 'my_whitelist' );
In the next release, I will provide some options for what you want to do, may be at 1Q on November.
I hope this answer may solve your issue!
Dear all,
In 2.2.0+, you can put some ip addresses with CIDR notation which you want to bypass the validation of country code into White list of extra IP addresses prior to country code.
Unfortunately, Jetpack doesn’t provide the IP addresses of their server. But you can find the it in the logs of this plugin.
Thanks!