forked from freifunk-luebeck/birdconfig
-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathbird-matchbox.conf
More file actions
46 lines (41 loc) · 776 Bytes
/
bird-matchbox.conf
File metadata and controls
46 lines (41 loc) · 776 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
router id 172.23.75.254;
define OWNIP = 172.23.75.254;
protocol device {
scan time 10;
}
protocol kernel {
scan time 20;
device routes;
import keep filtered;
import none;
export filter {
if source = RTS_STATIC then reject;
krt_prefsrc = OWNIP;
accept;
};
};
protocol ospf {
import filter {
if net ~ [ 172.16.0.0/12+, 10.0.0.0/8+ ] then {
accept;
}
reject;
};
export filter {
if net ~ [ 172.16.0.0/12+, 10.0.0.0/8+ ] then {
accept;
}
reject;
};
area 51 {
stubnet 169.254.0.0/16 { hidden yes; summary; };
interface "eth0" {
cost 5;
hello 5; retransmit 2; wait 10; dead 20;
};
interface "wg-*" {
cost 1000;
hello 5; retransmit 2; wait 10; dead 60;
};
};
}