Wilson's Landing RSS

Archive

Dec
18th
Thu
permalink

How to configure a slicehost for SSH MYSQL redirection

You can tunnel MYSQL through SSH so that you do not have to expose your MYSQL server to the public internet. If you’re runnign IPTABLES, however, you’ll need the following rule to permit connections originating from localhost to port 3306

iptables -I INPUT -j ACCEPT -s 127.0.0.1/32 -p tcp —dport 3306