filter filter_OSPF { ospf_metric1 = 1000; if source = RTS_STATIC then accept; else reject; }; protocol ospf { import all; export filter filter_OSPF; area 0 { interface "wg-ospf-*" { }; interface "lo" { stub; }; }; }