0b670ee67e
* Signed-off-by: Roberto Riggio <roberto.riggio at create-net.org> * remove unrecognized configure options * remove trailing whitespace git-svn-id: svn://svn.openwrt.org/openwrt/packages@27643 3c298f89-4303-0410-b956-a3cf2f4a3e73
27 lines
774 B
Plaintext
27 lines
774 B
Plaintext
uci delete network.mesh
|
|
uci set network.mesh=interface
|
|
uci set network.mesh.proto=wing
|
|
uci set network.mesh.rc=minstrel
|
|
uci set network.mesh.ls=fcfs
|
|
uci set network.mesh.metric=wcett
|
|
uci set network.mesh.prefix=6
|
|
uci set network.mesh.period=10000
|
|
uci set network.mesh.tau=100000
|
|
uci set network.mesh.debug=false
|
|
|
|
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"
|
|
|