From: rtrimana Date: Fri, 16 Jun 2017 22:40:10 +0000 (-0700) Subject: Restoring workaround for ESP8266 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ed413c423d071c7dae493894ae2116487f0ba521;p=lede.git Restoring workaround for ESP8266 --- diff --git a/sentinel_setup/setup/startup.sh b/sentinel_setup/setup/startup.sh index 2c0813950c..fee2e028f2 100755 --- a/sentinel_setup/setup/startup.sh +++ b/sentinel_setup/setup/startup.sh @@ -4,9 +4,9 @@ iptables -A POSTROUTING -t mangle -p udp --dport 68 -j CHECKSUM --checksum-fill # Do block ARP from ESP8266 to itself to avoid DHCPDECLINE -#arptables -A INPUT -j DROP --source-mac 18:fe:34:db:59:72 --destination-mac 18:fe:34:db:59:72 -#arptables -A OUTPUT -j DROP --source-mac 18:fe:34:db:59:72 --destination-mac 18:fe:34:db:59:72 -#arptables -A FORWARD -j DROP --source-mac 18:fe:34:db:59:72 --destination-mac 18:fe:34:db:59:72 +arptables -A INPUT -j DROP --source-mac 18:fe:34:db:59:72 --destination-mac 18:fe:34:db:59:72 +arptables -A OUTPUT -j DROP --source-mac 18:fe:34:db:59:72 --destination-mac 18:fe:34:db:59:72 +arptables -A FORWARD -j DROP --source-mac 18:fe:34:db:59:72 --destination-mac 18:fe:34:db:59:72 # block everything except ssh, icmp, http, and dhcp # Configure NAT