Mysql and TOR socks proxy [closed]

view story

http://serverfault.com – I've tried to setup a proxy for mysql outbound connections using TOR's 9050 port and iptables and I failed. Any ideas how to make things working? Schema: Linux mysql client (or PHP function) -> (TOR socks5) -> remote_mysql_server:3306 Just want to redirect any outbound connection to port 3306 through TOR proxy. PS. pls don't ask why :) (HowTos)