/ip firewall mangle
chain=forward action=change-mss new-mss=1440 passthrough=yes tcp-flags=syn protocol=tcp out-interface=all-ppp tcp-mss=1441-65535 log=no log-prefix=""
chain=forward action=change-mss new-mss=1440 passthrough=yes tcp-flags=syn protocol=tcp in-interface=all-ppp tcp-mss=1441-65535 log=no log-prefix=""
chain=output action=accept src-address-list=nobalance log=no log-prefix=""
chain=prerouting action=mark-connection new-connection-mark=1-wan passthrough=yes connection-state=new dst-address-list=1-link in-interface=5-servers log=no log-prefix=""
chain=prerouting action=mark-connection new-connection-mark=2-wan passthrough=yes connection-state=new dst-address-list=2-link in-interface=5-servers log=no log-prefix=""
chain=prerouting action=mark-connection new-connection-mark=3-wan passthrough=yes connection-state=new dst-address-list=3-link in-interface=5-servers log=no log-prefix=""
chain=prerouting action=mark-connection new-connection-mark=4-wan passthrough=yes connection-state=new dst-address-list=4-link in-interface=5-servers log=no log-prefix=""
chain=prerouting action=mark-routing new-routing-mark=1-wan_route passthrough=no in-interface=5-servers connection-mark=1-wan log=no log-prefix=""
chain=prerouting action=mark-routing new-routing-mark=2-wan_route passthrough=no in-interface=5-servers connection-mark=2-wan log=no log-prefix=""
chain=prerouting action=mark-routing new-routing-mark=3-wan_route passthrough=no in-interface=5-servers connection-mark=3-wan log=no log-prefix=""
chain=prerouting action=mark-routing new-routing-mark=4-wan_route passthrough=no in-interface=5-servers connection-mark=4-wan log=no log-prefix=""
chain=prerouting action=accept protocol=tcp in-interface=5-servers dst-port=433 log=no log-prefix=""
chain=forward action=change-ttl new-ttl=set:30 passthrough=yes protocol=icmp log=no log-prefix=""
chain=prerouting action=mark-connection new-connection-mark=1-wan_conn passthrough=yes connection-state=new in-interface=1-pppoe log=no log-prefix=""
chain=prerouting action=mark-connection new-connection-mark=1-wan_conn passthrough=yes connection-state=new in-interface=1-pppoe log=no log-prefix=""
chain=prerouting action=mark-connection new-connection-mark=2-wan_conn passthrough=yes connection-state=new in-interface=2-pppoe log=no log-prefix=""
chain=prerouting action=mark-connection new-connection-mark=3-wan_conn passthrough=yes connection-state=new in-interface=3-pppoe log=no log-prefix=""
chain=prerouting action=mark-connection new-connection-mark=4-wan_conn passthrough=yes connection-state=new in-interface=4-pppoe log=no log-prefix=""
chain=output action=mark-routing new-routing-mark=1-to_wan passthrough=yes connection-mark=1-wan_conn log=no log-prefix=""
chain=output action=mark-routing new-routing-mark=2-to_wan passthrough=yes connection-mark=2-wan_conn log=no log-prefix=""
chain=output action=mark-routing new-routing-mark=3-to_wan passthrough=yes connection-mark=3-wan_conn log=no log-prefix=""
chain=output action=mark-routing new-routing-mark=4-to_wan passthrough=yes connection-mark=4-wan_conn log=no log-prefix=""
chain=prerouting action=accept dst-address=255.255.255.0/24 in-interface=5-servers log=no log-prefix=""
chain=prerouting action=accept dst-address=255.255.255.0/24 in-interface=5-servers log=no log-prefix=""
chain=prerouting action=mark-connection new-connection-mark=1-wan_conn passthrough=yes connection-state=new dst-address-type=!local in-interface=5-servers per-connection-classifier=both-addresses-and-ports:4/0 log=no log-prefix=""
chain=prerouting action=mark-connection new-connection-mark=2-wan_conn passt per-connection-classifier=both-addresses-and-ports:4/1 log=no log-prefix=""
chain=prerouting action=mark-connection new-connection-mark=3-wan_conn passt per-connection-classifier=both-addresses-and-ports:4/2 log=no log-prefix=""
chain=prerouting action=mark-connection new-connection-mark=4-wan_conn passt per-connection-classifier=both-addresses-and-ports:4/3 log=no log-prefix=""
chain=prerouting action=mark-routing new-routing-mark=1-to_wan passthrough=y
chain=prerouting action=mark-routing new-routing-mark=2-to_wan passthrough=y
chain=prerouting action=mark-routing new-routing-mark=3-to_wan passthrough=y
chain=prerouting action=mark-routing new-routing-mark=4-to_wan passthrough=y