Ok, I'm a little lost here and could use some help.
Here's the situation - I have a website hosted on a VPS under CentOS. A part of the website connects to a remote MySQL databse to retrieve information. Without iptables engaged it works fine. As soon as I turn on iptables I cannot connect to the remote server at all.
Is there something I am missing as far as opening a port or area in iptables to allow that outbound connection to the remote database server to retrieve information. I have iptables setup to deny all incoming other than the allowed ports which are currently 21, 25, 53, 80, 110 plus some non standard ones 30000 - 50000 for FTP passive connections, 6666 which is the CP and 666 where I moved the SSH server. I even opened an incoming port of 3306 for MySQL even though I want to connect to a server at a remote location and not me connecting to a MySQL server on the machine in question.
I'm sure it's something simple that needs to be open but what? So far I'm taking a noobie approach and blocking blocks of ports until I find what's causing the issue. I'm up to port 10000 and still connecting so for some reason the connection is somewhere between 10000 and 65535. Arrgh!