35 lines
504 B
Plaintext
35 lines
504 B
Plaintext
protocol ospf {
|
|
table T_OSPF4;
|
|
import all;
|
|
export all;
|
|
|
|
area 0 {
|
|
interface "wg-ospf-*" {
|
|
};
|
|
|
|
interface "lo" {
|
|
stub;
|
|
};
|
|
};
|
|
}
|
|
|
|
protocol direct {
|
|
table T_OSPF4;
|
|
import where is_self_net();
|
|
export none;
|
|
|
|
interface "lo";
|
|
}
|
|
|
|
filter filter_OSPF {
|
|
ospf_metric1 = 1000;
|
|
if source = RTS_STATIC then accept;
|
|
else reject;
|
|
};
|
|
|
|
protocol pipe {
|
|
peer table T_OSPF4;
|
|
import filter filter_OSPF;
|
|
export none;
|
|
}
|