diff --git a/src/freedombone-mesh-batman b/src/freedombone-mesh-batman index 3e0e18e7..85e8fa33 100755 --- a/src/freedombone-mesh-batman +++ b/src/freedombone-mesh-batman @@ -165,11 +165,11 @@ function stop { iptables -D INPUT -p udp --dport 8942 -j ACCEPT iptables -t nat -D POSTROUTING -o $EIFACE -j MASQUERADE - iptables -D FORWARD -i $EIFACE -o $IFACE -j ACCEPT -m state –state RELATED,ESTABLISHED + iptables -D FORWARD -i $EIFACE -o $IFACE -j ACCEPT -m state --state RELATED,ESTABLISHED iptables -D FORWARD -i $IFACE -o $EIFACE -j ACCEPT if [ $IFACE_SECONDARY ]; then - iptables -D FORWARD -i $IFACE -o $IFACE_SECONDARY -j ACCEPT -m state –state RELATED,ESTABLISHED + iptables -D FORWARD -i $IFACE -o $IFACE_SECONDARY -j ACCEPT -m state --state RELATED,ESTABLISHED iptables -D FORWARD -i $IFACE_SECONDARY -o $IFACE -j ACCEPT fi @@ -339,11 +339,11 @@ function start { iptables -A INPUT -p udp --dport 8942 -j ACCEPT iptables -t nat -A POSTROUTING -o $EIFACE -j MASQUERADE - iptables -A FORWARD -i $EIFACE -o $IFACE -j ACCEPT -m state –state RELATED,ESTABLISHED + iptables -A FORWARD -i $EIFACE -o $IFACE -j ACCEPT -m state --state RELATED,ESTABLISHED iptables -A FORWARD -i $IFACE -o $EIFACE -j ACCEPT if [ $hotspot_enabled ]; then - iptables -A FORWARD -i $IFACE -o $IFACE_SECONDARY -j ACCEPT -m state –state RELATED,ESTABLISHED + iptables -A FORWARD -i $IFACE -o $IFACE_SECONDARY -j ACCEPT -m state --state RELATED,ESTABLISHED iptables -A FORWARD -i $IFACE_SECONDARY -o $IFACE -j ACCEPT fi