Selaa lähdekoodia

nftables: Allow respondd requests to B.A.T.M.A.N. adv. gateways

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
Maximilian Wilhelm 2 vuotta sitten
vanhempi
commit
a4dcdec312
1 muutettua tiedostoa jossa 5 lisäystä ja 0 poistoa
  1. 5 0
      nftables/nftables.conf.tmpl

+ 5 - 0
nftables/nftables.conf.tmpl

@@ -236,6 +236,11 @@ table ip6 filter {
 {%- for rule in salt['ffho_netfilter.generate_service_rules'](services, acls, 6) %}
 		{{ rule }}
 {%- endfor %}
+
+{#- Allow respondd queries on gateways #}
+{%- if 'batman_gw' in roles %}
+		ip6 saddr fe80::/64 ip6 daddr ff05::2:1001 udp dport 1001 counter accept comment "responnd"
+{%- endif %}
 	}
 
 	chain vxlan {