Fixed liferay config for mysql

Now liferay recognise mysql but still not able to connect.
Fixed also iptables several minor problems
I did not change this file (if you look at my commit there is not change to that). Why it is modified? I have no idea