31 lines
469 B
Plaintext
31 lines
469 B
Plaintext
protocol ospf O_OSPF {
|
|
table T_OSPF;
|
|
import all;
|
|
export all;
|
|
|
|
area 0 {
|
|
interface "wg-ospf-*" {
|
|
};
|
|
|
|
interface "wg-roam-*" {
|
|
};
|
|
|
|
interface "lo" {
|
|
stub;
|
|
};
|
|
};
|
|
}
|
|
|
|
filter filter_OSPF {
|
|
ospf_metric1 = 1000;
|
|
if is_self_net() then accept;
|
|
else reject;
|
|
};
|
|
|
|
protocol pipe P_OSPF_to_Master {
|
|
peer table T_OSPF;
|
|
table master;
|
|
import filter filter_OSPF;
|
|
export none;
|
|
}
|