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

Vaishak Shetty M 0 Reputation points

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.
1,884 questions
Azure Load Balancer
Azure Load Balancer
An Azure service that delivers high availability and network performance to applications.
407 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ammar-Abdelqader01 926 Reputation points Microsoft Employee

    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