First time here? Check out the FAQ!
answered 2020-04-12 04:52:08 +0000
RIP uses UDP port 520, and RIPng uses UDP port 521.
OSPF runs directly on top of IP, using IP protocol number 89.
So the filter would be
udp port 520 or udp port 521 or ip proto 89