@fogcloud we have an ansible playbook to handle FOG firewall rules (firewalld) and the ports used are:
allow_icmp:
- echo-request
- echo-reply
services:
- ftp
- http
- mountd
- nfs
- rpc-bind
- tftp
ports:
- { port: 20048, proto: tcp } # nfs
- { port: 20048, proto: udp } # nfs
- { port: "35350-36350", proto: udp } # tftp
- { port: "49512-65532", proto: udp } # multicast
the port 20048 is added on nfs.conf
the range 35350-36350 is added on tftp options
and the 49512-65532 is for all the dynamic ports