Search This Blog

Thursday, September 06, 2007

mysqld in hosts.allow / hosts.deny ?

mysqld in hosts.allow / hosts.deny ?
===============================
Now, Can i use tcpwrapper with mysql on debian ?
If it can be used.
Which config. that i correct ?
( If i want to only allow from my LAN ( 192.168.2.x netmask 255.255.255.0 )

1.
hosts.allow
#########
mysqld: 192.168.2.0/255.255.255.0


hosts.deny
#########
mysqld: ALL

2.
hosts.allow
#########
mysql: 192.168.2.0/255.255.255.0


hosts.deny
#########
mysql: ALL

Thank you very much for advance.
Pratchaya


--
To UNSUBSCRIBE, email to debian-firewall-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

No comments: