From b2a8563c650742b0ad222f9476c34a3370192998 Mon Sep 17 00:00:00 2001 From: Manuel Munz Date: Thu, 27 Oct 2011 10:29:42 +0000 Subject: contrib/meshwizard: Add masq=1 to freifunk zone. This usually happened in setup of the lan interface, but if lan is an olsr interface it was missing --- .../files/usr/bin/meshwizard/helpers/setup_firewall_interface.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'contrib/package/meshwizard') diff --git a/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_firewall_interface.sh b/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_firewall_interface.sh index 83b41d0a0..896329be6 100755 --- a/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_firewall_interface.sh +++ b/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_firewall_interface.sh @@ -64,6 +64,7 @@ for i in $networks; do # check if the dhcprange is inside meshnet dhcpinmesh="$($dir/helpers/check-range-in-range.sh $dhcprange $meshnet)" if [ ! "$dhcpinmesh" == 1 ]; then + uci set firewall.zone_freifunk.masq="1" [ -z "$(echo $currms |grep ${netrenamed}dhcp)" ] && uci add_list firewall.zone_freifunk.masq_src="${netrenamed}dhcp" fi fi -- cgit v1.2.3