2018-10-07 12:26:46 +00:00
|
|
|
protocol ospf O_OSPF {
|
2018-09-15 18:52:01 +00:00
|
|
|
table T_OSPF6;
|
|
|
|
import all;
|
|
|
|
export all;
|
|
|
|
|
|
|
|
area 0 {
|
|
|
|
interface "lo" {
|
|
|
|
stub;
|
|
|
|
};
|
2018-10-07 12:26:46 +00:00
|
|
|
|
|
|
|
interface "wg-ospf-*" {
|
|
|
|
};
|
2018-09-15 18:52:01 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
filter filter_OSPF6 {
|
|
|
|
ospf_metric1 = 1000;
|
2018-09-17 18:02:46 +00:00
|
|
|
if is_self_net() then accept;
|
2018-09-15 18:52:01 +00:00
|
|
|
else reject;
|
|
|
|
};
|
|
|
|
|
|
|
|
protocol pipe {
|
2018-10-07 12:26:46 +00:00
|
|
|
peer table T_OSPF6;
|
|
|
|
table master;
|
|
|
|
import filter filter_OSPF6;
|
|
|
|
export none;
|
2018-09-15 18:52:01 +00:00
|
|
|
}
|