Accessing mySQL from two ports: Problems with iptables
- by marekventur
Hi!
I'm trying to make my mySQL-server (running on Ubuntu) listen on port 3306 and 110, because I would like to access it from a network with very few open ports.
So far I've found this answer telling me to do
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 110 -j REDIRECT --to-port 3306
but all I got is:
# mysql -h mydomain.com -P 3306…