Mwan3 - LTE backup connection

Hello,

anybody have working configuration file - mwan3.conf which use second WAN LTE connection as backup only?

I am using as primary WAN UPC cable internet, which is fast and stable.
As a backup I would like use LTE WAN connection (which is slower, I get different IP address and I am paying for internet traffic)

When primary UPC internet is not working, mwan3 should automaticly switch to LTE second WAN.
When first WAN (=UPC) is available again, it should automaticly switch back to first WAN

thanks for any advice, how should this mwan3.conf looks like

Best regards

Jan

1 Like

Not yet, but i am interesting in …

This settings is able very fast switch WAN connection from WAN2 (LTE backup connection) back to WAN (fast UPC cable connection)
when it is available again.

when primary connection - WAN (UPC cable connection is not working)
then MWAN3 immediately detects WAN is not working but it doesn’t swich connection to WAN2 (LTE backup connection)

All computers in Turris omnia network are without internet connection.

What should I change or add to my mwan3 configuration file?

config interface 'wan’
option enabled '1’
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 reliability '2’
option count '1’
option timeout '2’
option interval '5’
option down '3’
option up β€˜8’

config interface 'wan2’
option enabled '1’
list track_ip '8.8.8.8’
list track_ip '208.67.220.220’
option reliability '1’
option count '1’
option timeout '2’
option interval '5’
option down '3’
option up β€˜8’

config member 'wan_m1_w3’
option interface 'wan’
option metric '1’
option weight β€˜3’

config member 'wan_m2_w3’
option interface 'wan’
option metric '2’
option weight β€˜3’

config member 'wan2_m1_w2’
option interface 'wan2’
option metric '1’
option weight β€˜2’

config member 'wan2_m2_w2’
option interface 'wan2’
option metric '2’
option weight β€˜2’

config policy 'wan_only’
list use_member β€˜wan_m1_w3’

config policy 'wan2_only’
list use_member β€˜wan2_m1_w2’

config policy 'balanced’
list use_member 'wan_m1_w3’
list use_member β€˜wan2_m1_w2’

config policy 'wan_wan2’
list use_member 'wan_m1_w3’
list use_member β€˜wan2_m2_w2’

config policy 'wan2_wan’
list use_member 'wan_m2_w3’
list use_member β€˜wan2_m1_w2’

config rule 'default_rule’
option dest_ip '0.0.0.0/0’
option use_policy β€˜wan_wan2’