On Sat, 10 Feb 2007 18:02:47 +0200, tj wrote:
>
> I have MySQL server running on Debian (Sarge) and now when I installed
> Shorewall (ver. 2.2.3) I cant figure out how to enable remote connection
> via MySQL ODBC. Remote connection works fine when Shorewall is not
> running but when Shorewall is on (and restarted) no rules added to
> /etc/shorewall/rules seems to help. Any ideas what I should try?
I put variables in shorewall params and used then in shorewall files.
I would have guessed something like
ACCEPT net:$GUEST_IP $FW - mysql
in rules with something like
GUEST_IP=192.168.2.30
in params would work.
Anything besides blacklist changes require you to restart shorewall.
> ps. I first configured Shorewall to deny everything coming from net. For
> what I know the rules section is the place where to configure what can
> come through. Right?
That is where I poke holes in my setup. I am running Mandriva linux so
I would look in /var/log/messages to see if Shorewall posted a log
message about what was blocked.
Destination ports of intrest may be
mysql 3306/udp # MySQL
mysql-cluster 1186/tcp # MySQL Cluster Manager
mysql-cluster 1186/udp # MySQL Cluster Manager
mysql-im 2273/tcp # MySQL Instance Manager
mysql-im 2273/udp # MySQL Instance Manager
mysql 3306/ MySQL
Some light reading found at
http://www.shorewall.net/Documentation_Index.html