Explorar el Código

Enable icmp on mesh installs

Bob Mottram hace 9 años
padre
commit
716f318eb4
Ninguna cuenta está vinculada al correo electrónico del colaborador
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2
    0
      src/freedombone-mesh-batman

+ 2
- 0
src/freedombone-mesh-batman Ver fichero

@@ -213,6 +213,8 @@ function start {
213 213
         ifconfig $BRIDGE up
214 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 218
     iptables -A INPUT -p tcp --dport 548 -j ACCEPT
217 219
     iptables -A INPUT -p udp --dport 548 -j ACCEPT
218 220
     iptables -A INPUT -p tcp --dport 5353 -j ACCEPT