Bug fixes

typo with chown and misplacement of iptables rule