First commit
This commit is contained in:
15
bird/net/unet.conf
Normal file
15
bird/net/unet.conf
Normal file
@@ -0,0 +1,15 @@
|
||||
template bgp unet_bgp_up2 {
|
||||
graceful restart;
|
||||
local as UNET_ASN;
|
||||
ipv4 {
|
||||
table unet4;
|
||||
import filter {
|
||||
if unet_is_valid_network_v4() && !unet_is_self_net() then accept;
|
||||
reject;
|
||||
};
|
||||
export filter { if unet_is_valid_network_v4() && source ~ [RTS_STATIC, RTS_BGP] then accept; else reject; };
|
||||
import limit 9000 action block;
|
||||
};
|
||||
}
|
||||
|
||||
include "/etc/bird/peers/unet/*.conf";
|
||||
Reference in New Issue
Block a user