so, i'm trying to allow a remote connection from another server, but don't want to completely open up port 3306 to the outside world. I'd rather reject at the firewall than reject using mysql's invalid login response.
here's what i have so far but it doesn't come back as valid :
i can't seem to figure out how to allow INPUT and OUTPUT access from a specific IP for a specific port. could anyone shed some light on what I need to do?
here's what i have so far but it doesn't come back as valid :
Code:
-A INPUT -p tcp -s some.ip.address --dport 3306 -m state --state NEW -j ACCEPT