I'm trying to setup a rule in iptables where I allow port 3306 with only specific ip. tried this below command, not working. any help could be appreciated.
iptables -A INPUT -p tcp -m tcp -s 122.16.69.56 --dport 3306 -j ACCEPT
I'm trying to setup a rule in iptables where I allow port 3306 with only specific ip. tried this below command, not working. any help could be appreciated.
iptables -A INPUT -p tcp -m tcp -s 122.16.69.56 --dport 3306 -j ACCEPT