Round-robin between two VPNs with MWAN3

Hello,

I'm looking for a method to create round-robin load balancing between two VPNs using mwan3.

I defined two vpns:

cat /etc/config/openvpn

config openvpn 'proton_jp'
	option config '/etc/openvpn/proton-jp.ovpn'
	option enabled '1'

config openvpn 'proton_nl'
	option config '/etc/openvpn/proton-nl.ovpn'

and prevented from the to install default gateway:

pull-filter ignore redirect-gateway                                          

Then I defined two interfaces vpn1 and vpn2 , unmanaged and with devices tun0 and tun1.

Then I started the vpns:

service openvpn start

and checked they are ok by

ping -I tun0 8.8.8.8
ping -I tun1 8.8.8.8

Then I defined manw3 config:

config interface 'vpn1'
    option enabled '1'
    option family 'ipv4'
    option reliability '1'
    option count '1'
    option timeout '2'
    option interval '5'
    option down '3'
    option up '8'
    list track_ip '8.8.8.8'
    option initial_state 'online'
    option track_method 'ping'
    option size '56'
    option max_ttl '60'
    option timeout '2'
    option interval '10'
    option reliability '2'
    option failure_interval '5'
    option recovery_interval '10'
    option flush_conntrack 'never'

config interface 'vpn2'
    option enabled '1'
    option family 'ipv4'
    option reliability '1'
    option count '1'
    option timeout '2'
    option interval '5'
    option down '3'
    option up '8'
    list track_ip '8.8.4.4'
    option initial_state 'online'
    option track_method 'ping'
    option size '56'
    option max_ttl '60'
    option timeout '2'
    option interval '10'
    option reliability '2'
    option failure_interval '5'
    option recovery_interval '10'
    option flush_conntrack 'never'

config member 'vpn1_m1'
    option interface 'vpn1'
    option metric '1'
    option weight '1'

config member 'vpn2_m1'
    option interface 'vpn2'
    option metric '1'
    option weight '1'

config policy 'balanced'
    list use_member 'vpn1_m1'
    list use_member 'vpn2_m1'
    option last_resort 'unreachable'

config rule 'default_rule'
    option dest_ip '0.0.0.0/0'
    option use_policy 'balanced'

and when started

service manw3 start

I could not get to the internet.

I assume default gateway was changed and the vpns lost connection.

Is there a guide to follow to solve my problem?

Thanks

Change the value to 1 or add an additional track_ip host.

reliability
Number of track_ip hosts that must reply for the test to be considered as successful. Ensure there are at least this many track_ip hosts defined or the interface will always be considered down