Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision Next revisionBoth sides next revision | ||
| docs:guide-user:network:wan:multiwan:mwan3_install_without_luci [2023/06/14 16:05] – created teppo | docs:guide-user:network:wan:multiwan:mwan3_install_without_luci [2023/06/14 16:16] – [mwan3 install using filesystem (not luci)] teppo | ||
|---|---|---|---|
| Line 6: | Line 6: | ||
| intended for users that administer openwrt via the filesystem. | intended for users that administer openwrt via the filesystem. | ||
| - | This guide will be for a **failover** use case (the most common). It's also possible | + | This guide will be for a **failover** use case (arguably |
| to use mwan3 in a balanced type configuration, | to use mwan3 in a balanced type configuration, | ||
| did not work as expected (tested in 17, though). Note that in this guide, we will be using | did not work as expected (tested in 17, though). Note that in this guide, we will be using | ||
| Line 85: | Line 85: | ||
| mwan3 over. The failover will not work. Perhaps some config checking would be in order | mwan3 over. The failover will not work. Perhaps some config checking would be in order | ||
| for mwan3 so it detects if the user forgets to include the 2nd wan interface and notifies | for mwan3 so it detects if the user forgets to include the 2nd wan interface and notifies | ||
| - | them appropriately. | + | them appropriately. |
| + | used: | ||
| + | < | ||
| + | option network 'wan wanb wan6' | ||
| + | </ | ||
| + | === Configuration of / | ||
| + | The final step is to choose wan_wanb (failover) as the | ||
| + | policy of / | ||
| + | is the default. | ||
| + | <code / | ||
| + | config rule ' | ||
| + | option sticky ' | ||
| + | option dest_port ' | ||
| + | option proto ' | ||
| + | option use_policy ' | ||
| + | |||
| + | config rule ' | ||
| + | option dest_ip ' | ||
| + | option use_policy ' | ||
| + | option family ' | ||
| + | |||
| + | config rule ' | ||
| + | option dest_ip '::/ | ||
| + | option use_policy ' | ||
| + | option family ' | ||
| + | </ | ||
| + | The default has wan6 and wanb6 disabled. If you are using ipv6, you may need to enable those in / | ||
| + | |||
| + | That should be all that is required. At this point you may need to run | ||
| + | < | ||
| + | mwan3 restart | ||
| + | </ | ||
| + | Or you can alternatively reboot. | ||
| + | ===== Troubleshooting ===== | ||
| + | There is some discussion on the forum, and on the main mwan3 page. These commands may be valuable: | ||
| + | < | ||
| + | logread | grep mwan3 | ||
| + | mwan3 status | ||
| + | </ | ||
| + | |||
| + | === Learning more about mwan3 === | ||
| + | See the install path for mwan3: https:// | ||
| + | < | ||
| + | mwan3 (without any arguments) | ||
| + | iptables -t mangle -L | ||
| + | less / | ||
| + | </ | ||