[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



Reply to: