Koozali.org: home of the SME Server

change on a firewall on gateway server

Chald

change on a firewall on gateway server
« on: January 12, 2005, 11:03:21 PM »
Hi all,
does anyone know how to manage a FW change.

I want to accept mysql on my FW to accept a request on port 3306 tcp and udp from a know IP address on my lan.

I have tried to lok and search on contrib but havent found it and some of the time contrib have been down.

best regards
Christian Hald

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: change on a firewall on gateway server
« Reply #1 on: January 13, 2005, 04:04:06 AM »
Quote from: "Chald"
Hi all,
does anyone know how to manage a FW change.

I want to accept mysql on my FW to accept a request on port 3306 tcp and udp from a know IP address on my lan.


It's not the firewall which is blocking access from the LAN - mysql is configured to not listen to the network. You can change that, by doing:

/sbin/e-smith/config setprop mysqld LocalNetworkingOnly no
/sbin/e-smith/expand-template /etc/my.cnf
/etc/rc7.d/S90mysqld restart

mysqld listens only for tcp connections, not udp.

Chald

thanks it worked
« Reply #2 on: January 13, 2005, 12:33:59 PM »
Thanks CharlieBrady
It works now damn had used 2 days to find the problem.

It is working now then I can get back to prgamming and doing the work would give you a  :pint: if you ever are in denmark  :-D  8-)