# macOS Firewall Rules The macOS firewall rules are derived from the configurations defined in the `etc/firewalld/services/` folder using ChatGPT. ## Example Prompt ``` convert the following FirewallD configuration to commands that can be used to configure the macOS firewall in a similar fashion. Only return a single bash script with no other text and do not enable logging or the firewall. Do not include any text other than the bash script and do not provide instructions or "Here's the bash script" text or "Please note that" text or anything other than script that can be run: Plex . # Plex Media Server # Plex DLNA Server # Plex DLNA Server # GDM Network Discovery # GDM Network Discovery # GDM Network Discovery # GDM Network Discovery ```