![blogic](/assets/img/avatar_default.png)
Signed-off-by: Roberto Riggio <roberto.riggio@create-net.org> git-svn-id: svn://svn.openwrt.org/openwrt/packages@32826 3c298f89-4303-0410-b956-a3cf2f4a3e73
25 lines
681 B
Plaintext
25 lines
681 B
Plaintext
uci delete network.mesh
|
|
uci set network.mesh=interface
|
|
uci set network.mesh.proto=wing
|
|
|
|
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"
|
|
|
|
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"
|
|
|
|
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
|
|
|