2011-07-17 14:17:47 +00:00
|
|
|
uci delete network.mesh
|
2010-08-13 19:46:41 +00:00
|
|
|
uci set network.mesh=interface
|
|
|
|
uci set network.mesh.proto=wing
|
|
|
|
|
2012-07-24 21:46:18 +00:00
|
|
|
uci delete firewall.zone_mesh
|
|
|
|
uci set firewall.zone_mesh=zone
|
|
|
|
uci set firewall.zone_mesh.name="mesh"
|
|
|
|
uci set firewall.zone_mesh.input="ACCEPT"
|
|
|
|
uci set firewall.zone_mesh.output="ACCEPT"
|
|
|
|
uci set firewall.zone_mesh.forward="REJECT"
|
|
|
|
uci set firewall.zone_mesh.masq="1"
|
2010-08-13 19:46:41 +00:00
|
|
|
|
2012-07-24 21:46:18 +00:00
|
|
|
uci delete firewall.fwd_lan_mesh
|
|
|
|
uci set firewall.fwd_lan_mesh=forwarding
|
|
|
|
uci set firewall.fwd_lan_mesh.src="lan"
|
|
|
|
uci set firewall.fwd_lan_mesh.dest="mesh"
|
2010-08-13 19:46:41 +00:00
|
|
|
|
2012-07-24 21:46:18 +00:00
|
|
|
uci delete firewall.fwd_mesh_wan
|
|
|
|
uci set firewall.fwd_mesh_wan=forwarding
|
|
|
|
uci set firewall.fwd_mesh_wan.src="mesh"
|
|
|
|
uci set firewall.fwd_mesh_wan.dest="wan"
|
|
|
|
|
|
|
|
uci commit
|
2010-08-13 19:46:41 +00:00
|
|
|
|