Added 443 and 25 to allow for inbound rule to VM
iptables -S
-P INPUT ACCEPT
-P FORWARD ACCEPT
-P OUTPUT ACCEPT
-A INPUT -p tcp -m tcp --dport 25 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 443 -j ACCEPT
Setup a listener on the vm
sudo nc -l 25
From external computer
telnet myVMip 25
Connection times out.
When doing the same procedure for 443 it works fine. This leads me to believe port 25 is blocked by azure itself?