From ed413c423d071c7dae493894ae2116487f0ba521 Mon Sep 17 00:00:00 2001 From: rtrimana Date: Fri, 16 Jun 2017 15:40:10 -0700 Subject: [PATCH] Restoring workaround for ESP8266 --- sentinel_setup/setup/startup.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.34.1