dn42: clean up bgp filters
This commit is contained in:
parent
f0e9acc6ce
commit
446f93bf00
|
@ -173,26 +173,24 @@ in {
|
|||
template bgp dnpeers {
|
||||
local as 64699;
|
||||
ipv4 {
|
||||
import all;
|
||||
import filter {
|
||||
if proto = "hq4" then reject;
|
||||
accept;
|
||||
};
|
||||
export filter {
|
||||
if source = RTS_BGP then {
|
||||
accept;
|
||||
}
|
||||
if proto = "hq4" then {
|
||||
accept;
|
||||
}
|
||||
if source = RTS_BGP then accept;
|
||||
if proto = "hq4" then accept;
|
||||
reject;
|
||||
};
|
||||
};
|
||||
ipv6 {
|
||||
import all;
|
||||
import filter {
|
||||
if proto = "hq6" then reject;
|
||||
accept;
|
||||
};
|
||||
export filter {
|
||||
if source = RTS_BGP then {
|
||||
accept;
|
||||
}
|
||||
if proto = "hq6" then {
|
||||
accept;
|
||||
}
|
||||
if source = RTS_BGP then accept;
|
||||
if proto = "hq6" then accept;
|
||||
reject;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue