Restoring workaround for ESP8266
authorrtrimana <rtrimana@uci.edu>
Fri, 16 Jun 2017 22:40:10 +0000 (15:40 -0700)
committerrtrimana <rtrimana@uci.edu>
Fri, 16 Jun 2017 22:40:10 +0000 (15:40 -0700)
sentinel_setup/setup/startup.sh

index 2c0813950ce2ce7cd582d281426640e6faf49fcd..fee2e028f242fd0e1229b89eb126fd87e4168e20 100755 (executable)
@@ -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