Question
How to allow profinet protocol?
We want to allow the following protocols between two physical ports with two mac addresses:
"arp || stp || mdns || pn_rt || pn_io_device || pn_io || pn_dcp" (wireshark notation)
With FortiOS 7.6.4 we have set the opmode to transparent and created a firewall policy to allow 'ALL' services, but that only lets the first protocols/services (arp || stp || mdns ) through, but blocks the rest (pn_*).
The test setup:
Is it possible to fix this in any way, e.g. by creating an IPS Signature for Profinet (--ethertype 0x8892) and adding that to the policy?
The test setup:
config firewall policy
edit 2
set name "Allow all MACs"
set uuid 6e874ff8-eaee-51f0-5cca-7370b58c116a
set srcintf "LAN2 and LAN3"
set dstintf "LAN2 and LAN3"
set action accept
set srcaddr "all MAC"
set dstaddr "all MAC"
set schedule "always"
set service "ALL"
set logtraffic all
next
where intf "LAN2 and LAN3" is:
config system zone
edit "LAN2 and LAN3"
set intrazone allow
set interface "lan2" "lan3"
next
end
and "all MAC" is :
config firewall address
edit "all MAC"
set type mac
set macaddr "00:00:00:00:00:00-ff:ff:ff:ff:ff:ff"
next
end
