Good nights,
i have a strange behavior in my router, i have 7 DSL lines with pcc load balance, everything works perfect, i can access my router, and the server inside my network remotely, so the prerouting chains to in & out for the same gateway is working perfect, i can use all my 7 ip to access perfect, but with the btest in UDP transfer (in TCP mode works fine), the packets IN for one WAN and try lo leave the router for another WAN. i’m using the best server in the same load balance router.
I’ve noticed that Btest when establish the connection it first make a TCP connection then start the transmission in UDP, and then try to send the UDP packets by another WAN.
this is my working IN&OUT mangle marks.
Thanks.
/ip firewall mangle
add action=mark-connection chain=prerouting comment="in & out for wan1" connection-mark=no-mark disabled=no in-interface=wan1_route \
new-connection-mark=wan1_route_conn passthrough=yes
add action=mark-routing chain=prerouting connection-mark=wan1_route_conn disabled=no new-routing-mark=wan1_route passthrough=no src-address-list=\
clients
add action=mark-routing chain=output connection-mark=wan1_route_conn disabled=no new-routing-mark=wan1_route passthrough=no
add action=mark-connection chain=prerouting comment="in & out for wan2" connection-mark=no-mark disabled=no in-interface=wan2_route \
new-connection-mark=wan2_route_conn passthrough=yes
add action=mark-routing chain=prerouting connection-mark=wan2_route_conn disabled=no new-routing-mark=wan2_route passthrough=no src-address-list=\
clients
add action=mark-routing chain=output connection-mark=wan2_route_conn disabled=no new-routing-mark=wan2_route passthrough=no
add action=mark-connection chain=prerouting comment="in & out for wan3" connection-mark=no-mark disabled=no in-interface=wan3_route \
new-connection-mark=wan3_route_conn passthrough=yes
add action=mark-routing chain=prerouting connection-mark=wan3_route_conn disabled=no new-routing-mark=wan3_route passthrough=no src-address-list=\
clients
add action=mark-routing chain=output connection-mark=wan3_route_conn disabled=no new-routing-mark=wan3_route passthrough=no
add action=mark-connection chain=prerouting comment="in & out for wan4" connection-mark=no-mark disabled=no in-interface=wan4_route \
new-connection-mark=wan4_route_conn passthrough=yes
add action=mark-routing chain=prerouting connection-mark=wan4_route_conn disabled=no new-routing-mark=wan4_route passthrough=no src-address-list=\
clients
add action=mark-routing chain=output connection-mark=wan4_route_conn disabled=no new-routing-mark=wan4_route passthrough=no
add action=mark-connection chain=prerouting comment="in & out for wan5" connection-mark=no-mark disabled=no in-interface=wan5_route \
new-connection-mark=wan5_route_conn passthrough=yes
add action=mark-routing chain=prerouting connection-mark=wan5_route_conn disabled=no new-routing-mark=wan5_route passthrough=no src-address-list=\
clients
add action=mark-routing chain=output connection-mark=wan5_route_conn disabled=no new-routing-mark=wan5_route passthrough=no
add action=mark-connection chain=prerouting comment="in & out for wan6" connection-mark=no-mark disabled=no in-interface=wan6_route \
new-connection-mark=wan6_route_conn passthrough=yes
add action=mark-routing chain=prerouting connection-mark=wan6_route_conn disabled=no new-routing-mark=wan6_route passthrough=no src-address-list=\
clients
add action=mark-routing chain=output connection-mark=wan6_route_conn disabled=no new-routing-mark=wan6_route passthrough=no
add action=mark-connection chain=prerouting comment="in & out for wan7" connection-mark=no-mark disabled=no in-interface=wan7_route \
new-connection-mark=wan7_route_conn passthrough=yes
add action=mark-routing chain=prerouting connection-mark=wan7_route_conn disabled=no new-routing-mark=wan7_route passthrough=no src-address-list=\
clients
add action=mark-routing chain=output connection-mark=wan7_route_conn disabled=no new-routing-mark=wan7_route passthrough=no