Änderungen

Firewall settings
Zeile 1: Zeile 1:  +
Network
 
<pre>
 
<pre>
 
package network
 
package network
Zeile 759: Zeile 760:  
option netmask '24'
 
option netmask '24'
    +
config interface 'client4'
 +
option ifname 'br-client'
 +
option auto '1'
 +
option proto 'dhcp'
 +
 +
</pre>
 +
 +
Firewall
 +
<pre>
 +
config zone
 +
option name 'mgmt'
 +
list network 'mgmt'
 +
option input 'ACCEPT'
 +
option output 'ACCEPT'
 +
option forward 'ACCEPT'
 +
 +
config forwarding
 +
option src 'mgmt'
 +
option dest 'mesh'
 +
 +
</pre>
 +
<pre>
 +
uci set firewall.mesh.masq='1'
 +
uci set firewall.mesh.mtu_fix='1'
 +
uci set firewall.mesh.masq_src='mgmt'
 +
uci commit firewall
 
</pre>
 
</pre>