瀏覽代碼

ipv6 icmp on mesh

Bob Mottram 7 年之前
父節點
當前提交
afc7d2c5b5
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. 2
    2
      src/freedombone-utils-mesh

+ 2
- 2
src/freedombone-utils-mesh 查看文件

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