From afc7d2c5b51832201fd4d724c230edc65115fa1d Mon Sep 17 00:00:00 2001
From: Bob Mottram <bob@freedombone.net>
Date: Sat, 13 Jan 2018 21:19:22 +0000
Subject: [PATCH] ipv6 icmp on mesh

---
 src/freedombone-utils-mesh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/freedombone-utils-mesh b/src/freedombone-utils-mesh
index af909fc29..4949a07c1 100755
--- a/src/freedombone-utils-mesh
+++ b/src/freedombone-utils-mesh
@@ -217,8 +217,8 @@ function enable_mesh_firewall {
     iptables -A INPUT -p tcp --dport 8010 -j ACCEPT
 
 
-    ip6tables -A INPUT -p icmp --icmp-type echo-request -j ACCEPT
-    ip6tables -A OUTPUT -p icmp --icmp-type echo-reply -j ACCEPT
+    ip6tables -A INPUT -p ipv6-icmp -j ACCEPT
+    ip6tables -A OUTPUT -p ipv6-icmp -j ACCEPT
     ip6tables -A INPUT -p tcp --dport $TRACKER_PORT -j ACCEPT
     ip6tables -A INPUT -p udp --dport $TRACKER_PORT -j ACCEPT
     ip6tables -A INPUT -p udp --dport 6240 -j ACCEPT
-- 
GitLab