Fixed liferay config for mysql

Now liferay recognise mysql but still not able to connect.
Fixed also iptables several minor problems