contrib/freifunk-firewall: With the masq_src option in openwrt's firewall the natfix...
[project/luci.git] / contrib / package / freifunk-firewall / files / etc / firewall.freifunk
index 905299204b3c8add008241110cc7e448badf70ca..4c3f3c476edc9c3fcecd56ede613fd05c100741a 100644 (file)
@@ -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 && \