diff --git a/net/frr/src/etc/inc/plugins.inc.d/frr.inc b/net/frr/src/etc/inc/plugins.inc.d/frr.inc index 59fd0db9a..d6e04540f 100644 --- a/net/frr/src/etc/inc/plugins.inc.d/frr.inc +++ b/net/frr/src/etc/inc/plugins.inc.d/frr.inc @@ -58,6 +58,22 @@ function frr_firewall($fw) ), null ); + $fw->registerFilterRule( + 1, /* priority */ + array( + 'ipprotocol' => 'inet', + 'protocol' => 'ospf', + 'statetype' => 'keep', + 'label' => 'Pass OSPF UNICAST (autogenerated)', + 'from' => $network->ipaddr . '/' . $network->netmask, + 'to' => '(self)', + 'direction' => 'in', + 'type' => 'pass', + 'disablereplyto' => 1, + 'quick' => true + ), + null + ); } } }