IPV6 Whitelist IP Configuration | WordPress.org

[ad_1]

Thread Starter
Liang

(@liang1216)

Here is the error code from the logs for further and more accessible support.
2022-10-16 07:10:39 – Alert – The remote website encountered the following error: Unauthorized access (invalid remote IP address ((IPV6))) – https://link

// Remark
I have removed the IPV6 IP because of security issues.

  • This reply was modified 2 hours, 11 minutes ago by Liang.

Hello!

It is possible to alter the authorization mechanism using the provided hooks in a custom plugin, for example:


add_action( 'wprus_loaded', 'my_plugin_wprus_loaded', 10, 0 );
function my_plugin_wprus_loaded() {
	add_filter( 'wprus_is_authorized_remote','ipv6_wprus_is_authorized_remote');
}

function ipv6_wprus_is_authorized_remote( $is_authorized_remote, $request_method, $remote_addr, $ip_whitelist ) {

	// Logic to authorize IPV6

	return $is_authorized_remote;
}

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer