Does iOS have a firewall?
Page 27 of the September 2015 iOS Security White Paper states that there is not a firewall on iOS.
On other platforms, firewall software is needed to protect open communication ports against intrusion. Because iOS achieves a reduced attack surface by limiting listening ports and removing unnecessary network utilities such as telnet, shells, or a web server, no additional firewall software is needed on iOS devices.