I managed to setup muliwan on turris omnia and I report here the procedure for comments and future reference.
I use mwan3 & luci-app-mwan3 packages and I follow this openwrite wiki page
Step 0: Test wan connection
Step 0.1: Install and test the Lte connection
Step 1: login via ssh and add two lines for the packages above in the /etc/updater/user.lua.
Summary
vi /etc/updater/user.lua
My /etc/updater/user.lua looks like:
[details=Summary] cat /etc/updater/user.lua
–[[
A place for user definitions.
Repository “name” “URI” { ca = “file:///etc/ssl/ca.pem”, pubkey = “file:///etc/repo.pubkey” }
Install “pkgname” “other”
]]
Install "mwan3"
Install “luci-app-mwan3”[/details]
Step 1.1: Update the router by issuing the updater.sh command
Summary
# updater.sh
Step 2: Configure the wan zone of the firewall with option option conntrack '1'
Summary
# vi /etc/config/firewall
config zone
option name 'wan'
option conntrack '1'
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
option masq '1'
option mtu_fix '1'
option network 'wan6 Lte wan'
Step 3: Use Luci to configure (enable) the interfaces and configure members, policies and rules or edit the /etc/config/mwan3
file. My configuration looks like:
[details=Summary]# cat /etc/config/mwan3
config interface 'wan'
list track_ip '8.8.4.4'
list track_ip '8.8.8.8'
list track_ip '208.67.222.222'
list track_ip '208.67.220.220'
option count '1'
option timeout '2'
option interval '5'
option down '3'
option up '8'
option reliability '1'
option enabled '1'
config policy 'wan_only'
option last_resort 'unreachable'
list use_member 'wan_m1_w1'
config policy 'wan2_only'
option last_resort 'unreachable'
list use_member 'wan2_m1_w1'
config policy 'balanced'
option last_resort 'unreachable'
list use_member 'wan_m1_w2'
list use_member 'wan2_m1_w2'
config policy 'wan_wan2'
list use_member 'wan_m1_w1'
list use_member 'wan2_m2_w2'
option last_resort 'unreachable'
config policy 'wan2_wan'
option last_resort 'unreachable'
list use_member 'wan2_m1_w1'
list use_member 'wan_m2_w2'
config interface 'Lte'
option enabled '1'
option reliability '1'
option count '1'
option timeout '2'
option interval '5'
option down '5'
list track_ip '8.8.4.4'
list track_ip '8.8.8.8'
option up '10'
config member 'wan_m1_w1'
option interface 'wan'
option metric '1'
option weight '1'
config member 'wan2_m2_w2'
option interface 'Lte'
option metric '2'
option weight '2'
config member 'wan2_m1_w1'
option interface 'Lte'
option metric '1'
option weight '1'
config member 'wan_m1_w2'
option interface 'wan'
option metric '1'
option weight '2'
config member 'wan2_m1_w2'
option metric '1'
option weight '2'
option interface 'Lte'
config member 'wan_m2_w2'
option interface 'wan'
option metric '2'
option weight '2'
config rule 'default'
option proto 'all'
option sticky '0'
option use_policy 'wan_wan2'
option dest_ip '0.0.0.0/0'
[/details]
Just remember that for balanced rules, the higher the Weight, more traffic will pass through this interface.
If you just want the Lte to be failover use my config rule.
Please comment on my setup