Azure Load Balancer Won't Pass Traffic to VM
I’m setting up an Azure server which hosts two applications.
One of them is an AV console that needs all external endpoint IPs to hit a nonstandard port on the server. The other is a backup console which needs specific static IPs to hit a number of ports on the server.
Currently I have a load balancer with NAT rules translating the traffic to the VM. I have network rules on the VM allowing the traffic.
AV Example: Load balancer w/ static IP has NAT rule of ANY traffic on port 22222 directed to VM1. VM1 has a network rule of “allow” ANY traffic on port 22222. This is because endpoints are roaming.
Backup Example: Load balancer w/ static IP has NAT rule of ANY traffic on port 6789 directed to VM1. VM1 has a network rule of “allow” traffic on port 6789 from IPs x.x.x.x, x.x.x.x., etc.
Still, none of the traffic passes through. Both services are disconnected from endpoints as well as explicit port checks failing.
What am I missing? Is there a rule I need for the load balancer to pass the traffic directly to the VM? Is there a basic setting I have disabled maybe?