From 02ffc1e1b998a0582127d307a98363139ba19db1 Mon Sep 17 00:00:00 2001 From: dman776 Date: Mon, 28 Feb 2022 15:45:46 -0600 Subject: [PATCH] Revert "Prevent mesh from accessing internal LAN (#175)" (#240) This reverts commit 86473b642e505fbd9402e77e86755bc45fcb33f5. --- files/etc/local/mesh-firewall/60-block-lan-across-wan | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 files/etc/local/mesh-firewall/60-block-lan-across-wan diff --git a/files/etc/local/mesh-firewall/60-block-lan-across-wan b/files/etc/local/mesh-firewall/60-block-lan-across-wan deleted file mode 100644 index f3d401c6..00000000 --- a/files/etc/local/mesh-firewall/60-block-lan-across-wan +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -INET_IFACE=$(uci get network.wan.ifname 2>/dev/null) - -iptables -A FORWARD -o $INET_IFACE -d 10.0.0.0/8 -j REJECT -iptables -A FORWARD -o $INET_IFACE -d 172.16.0.0/12 -j REJECT -iptables -A FORWARD -o $INET_IFACE -d 192.168.0.0/16 -j REJECT