Fortigate – Airprint multicast forwarding between two different subnets

1) Enable Multicast forwarding:

# config system settings
      set multicast-forward enable
   end

2) Interface configuration:
Two different interface having two different IP addresses assigned.

# config system interface
 edit "internal1"
  set vdom "root"
  set ip 192.168.1.1 255.255.255.0
  set allowaccess ping https ssh snmp http fgfm ftm
  set type physical
  set device-identification enable
  set device-identification-active-scan enable
 next
 edit "internal7"
  set vdom "root"
  set ip 192.168.2.1 255.255.255.0
  set allowaccess ping https ssh
  set type physical
  set device-identification enable
 next
end

3) Configuring Multicast Policies:

# config firewall multicast-policy
  edit 1
   set logtraffic enable
   set srcintf "internal1"
   set dstintf "internal7"
   set srcaddr "all"
   set dstaddr "Bonjour" "EIGRP" "OSPF"
   set protocol 17
   set end-port 5353
  next
  edit 2
   set logtraffic enable
   set srcintf "internal7"
   set dstintf "internal1"
   set srcaddr "all"
   set dstaddr "Bonjour" "EIGRP" "OSPF"
   set protocol 17
   set end-port 5353
  next
 end

4) Check if multicast routing is enabled or not:

# config router multicast
      set multicast-routing disable
   end