Hello, I have a server which always getting attacks on my mysql server, how can I setup some rules to allow local machine to mysql and allow on of my remote host ips to connect only?
me I did this:
but I can still connect from any ip to port 3306, is there any option that I can allow port 3306 open to a specific ip only?
thanks.
me I did this:
Code:
ipfw add deny ip from any to me dst-port 3306
ipfw add allow ip from 127.0.0.0/8 to any dst-port 3306
ipfw add allow ip from REMOTE HOST IP to me dst-port 3306
thanks.