28 lines
414 B
Plaintext
28 lines
414 B
Plaintext
protocol ospf {
|
|
table T_OSPF;
|
|
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_OSPF;
|
|
table master;
|
|
import filter filter_OSPF;
|
|
export none;
|
|
}
|