Hello,
ok du coup voici la chain complete mangle OUTPUT avec surtout mes 2 meta mark :
chain OUTPUT {
type route hook output priority mangle; policy accept;
oifname $iface_wan1 udp dport 67 counter meta mark set 0x100 comment "mwan1_dhcp_orange1"
oifname $iface_wan2 udp dport 67 counter meta mark set 0x200 comment "mwan2_dhcp_orange2"
oifname $iface_wan1 ct state new counter jump MWAN1 comment "mwan1_orange1"
oifname $iface_wan2 ct state new counter jump MWAN2 comment "mwan2_orange2"
oifname $iface_wan3 ct state new counter jump MWAN3 comment "mwan3_lte"
oifname $iface_beta ct state new counter jump MWAN5 comment "mwan5_beta"
oifname $iface_vanisher1 ct state new counter jump MWAN6 comment "mwan6_vanisher_orange1"
oifname $iface_vanisher2 ct state new counter jump MWAN7 comment "mwan7_vanisher_orange2"
oifname $iface_vanisher3 ct state new counter jump MWAN9 comment "mwan1_vanisher_lte"
ct state new counter jump MWAN
ct mark != 0x0 meta mark set ct mark
}
a ceci j'ajoute les regles :
ip rule add fwmark 0x100 lookup 0x100
ip rule add fwmark 0x200 lookup 0x200
mais ne devrais-je pas être plus précis dans mes regles ip rules ?
ip rule add ipproto udp dport 67 fwmark 0x100 lookup 0x100
ip rule add ipproto udp dport 67 fwmark 0x200 lookup 0x200
t'en penses quoi ?
Merci