Cannot allow access to port by IP address
Posted: 14 Aug 2013, 16:44
I am trying to allow a particular IP address to access port 3306. I have removed 3306 from the TCP_IN list in csf configuration, and am trying to add the IP address to the csf.allow file. I have tried the following:
d=3306:s=11.22.33.44
d=3306|s=11.22.33.44
tcp:in:d=3306:s=11.22.33.44
tcp|in|d=3306|s=11.22.33.44
...where 11.22.33.44 is the IP address I want to allow, but after restarting the firewall, it still won't allow that IP to connect. If the firewall is disabled, it can connect ok, so it is not due to any other network issues. What might I be doing wrong?
TIA.
d=3306:s=11.22.33.44
d=3306|s=11.22.33.44
tcp:in:d=3306:s=11.22.33.44
tcp|in|d=3306|s=11.22.33.44
...where 11.22.33.44 is the IP address I want to allow, but after restarting the firewall, it still won't allow that IP to connect. If the firewall is disabled, it can connect ok, so it is not due to any other network issues. What might I be doing wrong?
TIA.