Changes

No change in size ,  12:08, 20 December 2022
no edit summary
Line 74: Line 74:     
===New internface configuration===
 
===New internface configuration===
 +
----
 
Create a new interface IPv4 for WiFi WAN.
 
Create a new interface IPv4 for WiFi WAN.
----
   
<pre>uci set network.wifi_wan=interface
 
<pre>uci set network.wifi_wan=interface
 
uci set network.wifi_wan.proto='dhcp'
 
uci set network.wifi_wan.proto='dhcp'
Line 109: Line 109:     
===IPv6 interface creation===
 
===IPv6 interface creation===
 +
----
 
Create a new IPv6 interface for WiFi WAN
 
Create a new IPv6 interface for WiFi WAN
----
   
<pre>uci set network.wifi_wan6=interface
 
<pre>uci set network.wifi_wan6=interface
 
uci set network.wifi_wan6.proto='dhcpv6'
 
uci set network.wifi_wan6.proto='dhcpv6'
Line 150: Line 150:     
===LAN interface configuration===
 
===LAN interface configuration===
 +
----
 
Configure a LAN interface accordingly.
 
Configure a LAN interface accordingly.
----
   
<pre>uci set network.lan_repeater=interface
 
<pre>uci set network.lan_repeater=interface
 
uci set network.lan_repeater.proto='relay'
 
uci set network.lan_repeater.proto='relay'
Line 172: Line 172:     
===Firewall configuration===
 
===Firewall configuration===
 +
----
 
Set firewall zone, using WAN firewall zone for newly created WiFi WAN network interface.
 
Set firewall zone, using WAN firewall zone for newly created WiFi WAN network interface.
----
   
<pre>uci set firewall.@zone[1].network='wan wan6 mob1s1a1 mob1s2a1 wifi_wan'</pre>
 
<pre>uci set firewall.@zone[1].network='wan wan6 mob1s1a1 mob1s2a1 wifi_wan'</pre>
    
===Commit changes===
 
===Commit changes===
 +
----
 
Save all the changes and restart the configuration
 
Save all the changes and restart the configuration
----
   
<pre>uci commit
 
<pre>uci commit
 
reload_config</pre>
 
reload_config</pre>