I am trying to open port 3306 in iptables in my Debian System to allow access to MySQL server. For which I entered this command:
root@debian:/# sudo iptables -A INPUT -p tcp --dport 3306 ACCEPT
root@debian:/# iptables-save
I entered the new connection and it has been saved in iptables as I can see the new rule in iptables list genereted by iptables-save command.
However, this debian system is running on a VM over Windows7 and I'm not able to telnet from Windows to this port. Not sure where I am supposed to check for the solution to this problem.