Parcourir la source

Enable icmp on mesh installs

Bob Mottram il y a 9 ans
Parent
révision
716f318eb4
Aucun compte lié à l'adresse email de l'auteur
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2
    0
      src/freedombone-mesh-batman

+ 2
- 0
src/freedombone-mesh-batman Voir le fichier

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