Browse Source

bird: Move filter for external IPs out of policy config.

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
Maximilian Wilhelm 3 years ago
parent
commit
98a5eb35fd
2 changed files with 5 additions and 14 deletions
  1. 5 0
      bird/VRF_external.conf
  2. 0 14
      bird/ff-policy.conf

+ 5 - 0
bird/VRF_external.conf

@@ -18,6 +18,11 @@
 {%- else %}
 table t_external;
 
+filter external_IPs_to_learn {
+	# For now
+	reject;
+}
+
 protocol kernel k_external {
 	scan time 20;
 

+ 0 - 14
bird/ff-policy.conf

@@ -11,20 +11,6 @@
 #                              Static Filters                                  #
 ################################################################################
 
-filter external_IPs_to_learn {
-	if net ~ [
-{%- if proto == 'v4' %}
-		80.70.181.59/32,	# mail.ffho.net
-		80.70.181.60/32,	# dns-auth.ffho.net
-		80.70.181.61/32		# fe01.ffho.net
-{%- else %}
-		2a02:450:1:0::/64	# Vega VM Subnet
-{%- endif %}
-	] then accept;
-
-	reject;
-};
-
 filter own_prefixes {
 	if net ~ [
 {%- if proto == 'v4' %}