瀏覽代碼

Enable icmp on mesh installs

Bob Mottram 9 年之前
父節點
當前提交
716f318eb4
沒有帳戶連結到提交者的電子郵件
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2
    0
      src/freedombone-mesh-batman

+ 2
- 0
src/freedombone-mesh-batman 查看文件

213
         ifconfig $BRIDGE up
213
         ifconfig $BRIDGE up
214
     fi
214
     fi
215
 
215
 
216
+    iptables -A INPUT -p icmp --icmp-type echo-request -j ACCEPT
217
+    iptables -A OUTPUT -p icmp --icmp-type echo-reply -j ACCEPT
216
     iptables -A INPUT -p tcp --dport 548 -j ACCEPT
218
     iptables -A INPUT -p tcp --dport 548 -j ACCEPT
217
     iptables -A INPUT -p udp --dport 548 -j ACCEPT
219
     iptables -A INPUT -p udp --dport 548 -j ACCEPT
218
     iptables -A INPUT -p tcp --dport 5353 -j ACCEPT
220
     iptables -A INPUT -p tcp --dport 5353 -j ACCEPT