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