2018-09-08 11:16:50 +00:00
|
|
|
protocol ospf {
|
2018-09-12 06:41:25 +00:00
|
|
|
table T_OSPF;
|
2018-09-08 11:16:50 +00:00
|
|
|
import all;
|
2018-09-12 06:41:25 +00:00
|
|
|
export all;
|
2018-09-08 11:16:50 +00:00
|
|
|
|
|
|
|
area 0 {
|
|
|
|
interface "wg-ospf-*" {
|
|
|
|
};
|
|
|
|
|
|
|
|
interface "lo" {
|
|
|
|
stub;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|
2018-09-12 06:41:25 +00:00
|
|
|
|
|
|
|
filter filter_OSPF {
|
|
|
|
ospf_metric1 = 1000;
|
|
|
|
if source = RTS_STATIC then accept;
|
|
|
|
else reject;
|
|
|
|
};
|
|
|
|
|
|
|
|
protocol pipe {
|
|
|
|
peer table T_OSPF;
|
|
|
|
import all;
|
|
|
|
export filter filter_OSPF;
|
|
|
|
}
|