summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/freifunk-firewall/files/etc/firewall.freifunk
diff options
context:
space:
mode:
authorManuel Munz <freifunk@somakoma.de>2011-10-27 14:40:45 +0000
committerManuel Munz <freifunk@somakoma.de>2011-10-27 14:40:45 +0000
commitfc6ad21d33d0b4879738c394da15ea6c051d277a (patch)
treea55d7ed43c8126977151384bde37bcb983455dc7 /contrib/package/freifunk-firewall/files/etc/firewall.freifunk
parentbbab73664240b87fc80eb57f3834566dcf3c794b (diff)
contrib/freifunk-firewall: With the masq_src option in openwrt's firewall the natfix hack is no longer needed
Diffstat (limited to 'contrib/package/freifunk-firewall/files/etc/firewall.freifunk')
-rw-r--r--contrib/package/freifunk-firewall/files/etc/firewall.freifunk16
1 files changed, 0 insertions, 16 deletions
diff --git a/contrib/package/freifunk-firewall/files/etc/firewall.freifunk b/contrib/package/freifunk-firewall/files/etc/firewall.freifunk
index 905299204b..4c3f3c476e 100644
--- a/contrib/package/freifunk-firewall/files/etc/firewall.freifunk
+++ b/contrib/package/freifunk-firewall/files/etc/firewall.freifunk
@@ -36,22 +36,6 @@ apply_advanced() {
config_foreach apply_advanced advanced
-
-#
-# Apply fixes for masquerading rules
-#
-apply_nat_fix() {
- local up
- local ifname
- config_get up $1 up
- [ -n "$up" ] || return 0
- (ACTION="ifup" INTERFACE="$1" . /etc/hotplug.d/iface/22-firewall-nat-fix )
-}
-
-uci_set_state firewall core loaded 1
-config_foreach fw_addif interface
-config_foreach apply_nat_fix interface
-
[ -x /etc/init.d/luci_splash ] && ( sleep 3; /etc/init.d/luci_splash restart )&
[ -x /etc/init.d/freifunk-p2pblock ] && /etc/init.d/freifunk-p2pblock enabled && \