28 lines
418 B
Plaintext
28 lines
418 B
Plaintext
protocol ospf O_OSPF {
|
|
table T_OSPF;
|
|
import all;
|
|
export all;
|
|
|
|
area 0 {
|
|
interface "lo" {
|
|
stub;
|
|
};
|
|
|
|
interface "wg-ospf-*" {
|
|
};
|
|
};
|
|
}
|
|
|
|
filter filter_OSPF {
|
|
ospf_metric1 = 1000;
|
|
if is_self_net() then accept;
|
|
else reject;
|
|
};
|
|
|
|
protocol pipe {
|
|
peer table T_OSPF;
|
|
table master;
|
|
import filter filter_OSPF;
|
|
export none;
|
|
}
|