47 lines
1.0 KiB
Plaintext
47 lines
1.0 KiB
Plaintext
include "/etc/bird/vars.conf";
|
|
include "/etc/bird/function/*.conf";
|
|
include "/etc/bird/conf/*.conf";
|
|
|
|
protocol device {
|
|
scan time 10;
|
|
};
|
|
|
|
protocol kernel {
|
|
scan time 20;
|
|
merge paths yes limit 4;
|
|
netlink rx buffer 8388608;
|
|
ipv6 {
|
|
import none;
|
|
export filter {
|
|
if source = RTS_STATIC then reject;
|
|
if !is_bogon_prefix() then {
|
|
krt_prefsrc = LOCAL_V6_kernel;
|
|
accept;
|
|
}
|
|
reject;
|
|
};
|
|
};
|
|
};
|
|
|
|
protocol kernel {
|
|
scan time 20;
|
|
merge paths yes limit 4;
|
|
ipv4 {
|
|
import none;
|
|
export filter {
|
|
if source = RTS_STATIC then reject;
|
|
if unet_is_valid_network_v4() then {
|
|
krt_prefsrc = UNET_V4_kernel;
|
|
accept;
|
|
}
|
|
if !is_bogon_prefix() then {
|
|
krt_prefsrc = LOCAL_V4_kernel;
|
|
accept;
|
|
}
|
|
reject;
|
|
};
|
|
};
|
|
};
|
|
|
|
include "/etc/bird/net/*.conf";
|
|
include "/etc/bird/template/*.conf"; |