Brunt <(E-Mail Removed)> wrote:
> I'm using MySql machine with no problem with pc on internal network.
That by itself doesn't mean port-forwarding is working correctly.
> Changing forwarding of same ports (HTTP and Telnet) on other PC's, this
> services runs perfectly.
So you _do_ see these connection requests coming through from the
internet to your MySQL machine using tcpdump?
If you use `ldd /path/to/mysqld-binary', do you see a line saying
`libwrap'? If so, you need to be using /etc/hosts.allow and
/etc/hosts.deny.
Does the outside client receieve any error message (such as Port
Unreachable, or Connection Refused, or Connection Reset by Peer)?
Or does it just timeout after about 2 minutes (meaning it failed to
connect).
Have you set access control in the database so that the external client
is allowed access?
If you run `strace -p PID_OF_MYSQLD -e accept', do you see anything
being accepted when you try to connect to it?
Have you looked in /usr/share/doc/mysql* to see if there is anything
extra you need to be doing for RedHat, such as PAM perhaps.
Have you verified for yourself that there is, in fact, no firewall being
loaded on your database server (run `iptables -L', there should be
nothing in the INPUT, OUTPUT, or FORWARD chains, and the default policy
must be ACCEPT. Just because you have not installed a firewall yourself,
does not mean that the installation system set one up for you.
--
Cameron Kerr
(E-Mail Removed) :
http://nzgeeks.org/cameron/
Empowered by Perl!