View Single Post
  #7   (View Single Post)  
Old 6th January 2013
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,131
Default

On the FreeBSD webserver I used pf to block port 3306 for external access. But people can do still access phpMyAdmin from their homes. Remember that phpMyAdmin is running on the webserver locally and thus can access 127.0.0.1:3306 or it can use the Unix domain socket:
Code:
$  netstat -an -f unix | grep mysql 
0xfffffe802fa5f988 stream      0      0 0xfffffe8020b08080                0x0
  0x0                0x0 /var/run/mysql/mysql.sock
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote