Browse Source

ipv6 icmp on mesh

Bob Mottram 7 years ago
parent
commit
afc7d2c5b5
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/freedombone-utils-mesh

+ 2
- 2
src/freedombone-utils-mesh View File

217
     iptables -A INPUT -p tcp --dport 8010 -j ACCEPT
217
     iptables -A INPUT -p tcp --dport 8010 -j ACCEPT
218
 
218
 
219
 
219
 
220
-    ip6tables -A INPUT -p icmp --icmp-type echo-request -j ACCEPT
221
-    ip6tables -A OUTPUT -p icmp --icmp-type echo-reply -j ACCEPT
220
+    ip6tables -A INPUT -p ipv6-icmp -j ACCEPT
221
+    ip6tables -A OUTPUT -p ipv6-icmp -j ACCEPT
222
     ip6tables -A INPUT -p tcp --dport $TRACKER_PORT -j ACCEPT
222
     ip6tables -A INPUT -p tcp --dport $TRACKER_PORT -j ACCEPT
223
     ip6tables -A INPUT -p udp --dport $TRACKER_PORT -j ACCEPT
223
     ip6tables -A INPUT -p udp --dport $TRACKER_PORT -j ACCEPT
224
     ip6tables -A INPUT -p udp --dport 6240 -j ACCEPT
224
     ip6tables -A INPUT -p udp --dport 6240 -j ACCEPT