dingo e0e6ce7dd7 [patch-team] update wing to 20110329 - Signed off by Roberto Riggio <roberto.riggio@create-net.org>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@29373 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 13:45:36 +00:00

20 lines
549 B
Plaintext

uci delete network.mesh
uci set network.mesh=interface
uci set network.mesh.proto=wing
uci add firewall zone
uci set firewall.@zone[-1].name="mesh"
uci set firewall.@zone[-1].input="ACCEPT"
uci set firewall.@zone[-1].output="ACCEPT"
uci set firewall.@zone[-1].forward="REJECT"
uci set firewall.@zone[-1].masq="1"
uci add firewall forwarding
uci set firewall.@forwarding[-1].src="lan"
uci set firewall.@forwarding[-1].dest="mesh"
uci add firewall forwarding
uci set firewall.@forwarding[-1].src="mesh"
uci set firewall.@forwarding[-1].dest="wan"