Test outbound connectivity through all ips in an aks loadbalancer outbound rule

Vaishak Shetty M 0 Reputation points
2024-05-03T07:37:21.1533333+00:00

We have an aks cluster sitting behind an azure loadbalancer. All inbound/outbound connectivity to/from the aks cluster goes through this LB. The LB has an outbound rule with 13 public IP's. We have another system on prem which has some firewall rules to only allow connectivity from certain IP's. To make sure connectivity from the aks cluster to the on prem system is established we have allowed these 13 IP's in our firewall rules, but now we want to test this connectivity from the aks cluster using all the 13 IP's, when i try telnet from aks node i am seeing it is always using the first frontend ip to connect and not using the others, is there a way to force aks to use the other ips for testing ??

Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,144 questions
Azure Load Balancer
Azure Load Balancer
An Azure service that delivers high availability and network performance to applications.
450 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ammar-Abdelqader01 1,161 Reputation points Microsoft Employee
    2024-05-05T06:07:15.94+00:00

    Hello @Vaishak Shetty M

    Thank you for your question, did you whitelist those IP on AKS cluster to use those Public IP's.

    please check this document Update the cluster with your own outbound public IP

    and make sure those IP's whitelisted on FW also.

    I hope that answered your question. If an answer has been helpful, please consider accepting the answer to help increase visibility of this question for other members of the Microsoft Q&A community. If not, please let us know what is still needed in the comments so the question can be answered. Thank you for helping to improve Microsoft Q&A! User's image


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.