Re: how to redirect 3306 to agent/proxy 6446 with firewall
Posted by: Mark Matthews
Date: March 21, 2011 12:00PM

Hi Niraj,

You would need to add an iptables rule, similar to the following to your firewall:

iptables -t nat -I PREROUTING \
-s ! 127.0.0.1 -p tcp \
--dport 3306 -j \
REDIRECT --to-ports 4040

(taken from the "getting started with mysql proxy" article at:

http://dev.mysql.com/tech-resources/articles/proxy-gettingstarted.html
)

-Mark

Mark Matthews
Consulting Member Technical Staff - MySQL Enterprise Tools
Oracle
http://www.mysql.com/products/enterprise/monitor.html

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: how to redirect 3306 to agent/proxy 6446 with firewall
3591
March 21, 2011 12:00PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.