First you need to find out why iptables won't work.  Or is it because you
can't?
Otherwise you might need to have an external firewall.
TCP wrappers may not work since mysqld listens to the port directly. Running
it through a TCPwrapper, assuming it works, may slow things down.  I have a
hunch it won't work.


On 7/25/07, Rai Ricafrente <[EMAIL PROTECTED]> wrote:
>
> Hello PLUGgers!
>
> Can I ask if TCP wrappers can be used to restrict access to MySQL (port
> 3306)? We have a database server, and for some reasons, we can't use
> iptables to filter access to the port. The server uses TCP wrapper to
> restrict access on sshd but what about mysqld?
>
> I tried this on my PC and it seems that TCP wrappers don't work for
> mysqld, unlike sshd. I've been googling around and some forums say that
> adding rules in TCP wrappers _can_ filter access to the port. That is why I
> am confused as to why my MySQL still accepts connections from remote hosts
> that should be denied, even if I put deny rules.
>
> Any help will be appreciated.
>
> Thanks
>
> --
> Rai Ricafrente
> http://www.pinoytux.com
> GPG Key 0x4AC2B3FE
> _________________________________________________
> Philippine Linux Users' Group (PLUG) Mailing List
> [email protected] (#PLUG @ irc.free.net.ph)
> Read the Guidelines: http://linux.org.ph/lists
> Searchable Archives: http://archives.free.net.ph
>
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to