Re: Shorewall and MySQL problem - solved



Here are the lines I added that solved this problem (First shorewall and last mysql):

rules
-----
ACCEPT net:[ip,ip,ip] fw all


policy
------
loc all ACCEPT
fw all ACCEPT
net all DROP info
all all REJECT info


interface
---------
net eth0 detect dhcp
loc eth1 detect dhcp


zones
-----
net Net The Internet
loc Local Local Network
dmz DMZ demilzone


shorewall.conf
--------------
IP_FORWARDING=On
DROPINVALID=Yes


/etc/default/shorewall
----------------------
startup=1


mysql
-----
GRANT ALL PRIVILEGES ON *.* TO [user]@[IPs in Rules] IDENTIFIED BY [PASSWD];












ps. Thanks to BiTwster for the advice and for kicking my arse for being rude...
.



Relevant Pages

  • Re: [PHP] MySQL class. Thoughts?
    ... This is for MySQL only. ... interface to your object could use some improvement. ... tediousness of database access, however, using the interface for your object ... // Retrieve one piece of data from the database ...
    (php.general)
  • Re: [PHP] changing order of items
    ... order number is stored in mysql too. ... To execute the change, ... and improve it independently from the interface. ... people team) - in that case sort by date might be better. ...
    (php.general)
  • Re: [PHP] changing order of items
    ... order number is stored in mysql too. ... To execute the change, ... and improve it independently from the interface. ... people team) - in that case sort by date might be better. ...
    (php.general)
  • Re: My dad wants PHP & MySQL or pgSQL hosting
    ... php version: 4.3.2 with mySQL ... management interface is excellent. ... > PostgreSQL support. ...
    (comp.lang.php)
  • Re: configuring mysql server
    ... (my lan interface) ... it so mysql server listens on the loopback and on the lan interface. ... I suppose here that eth0 is the wan interface and eth1 is the lan, ...
    (Debian-User)