How can I access a public AKS cluster from my local machine after adding the public IP of the Virtual Network Gateway to the authorized IP ranges of the cluster?

Saurabh_Pilankar 0 Reputation points
2025-04-11T09:01:15.15+00:00

I have created the public AKS cluster in a subnet, let's say 11.2.0.0/24, and also created the VPN gateway in the same VNet as that of the cluster and configured the point-to-site connection. I got the public IP from the virtual network gateway that I added to the authorized IP range of the cluster. I also configured the VPN with the configuration that I got after configuring the P2S connection. After connecting to the Vpn am supposed to access the cluster resources, but it still showing my public IP and saying not authorized.

Azure VPN Gateway
Azure VPN Gateway
An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.
1,725 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.