/ip ipsec policy
add action=none dst-address=0.0.0.0/0 dst-port=41274 src-address=0.0.0.0/0 place-before=1
add action=none dst-address=0.0.0.0/0 dst-port=9993src-address=0.0.0.0/0 place-before=1
ssh root@89.162.168.198 "/ip firewall filter set disabled=no [find src-address=\"$IP_1\"]"
ip firewall mangle add action=mark-connection chain=prerouting content=info_hash new-connection-mark=torrents passthrough=yes
ip firewall mangle add action=mark-connection chain=prerouting content="BitTorrent protocol" new-connection-mark=torrents passthrough=yes
ip firewall mangle add action=mark-packet chain=prerouting connection-mark=torrents new-packet-mark=torrents passthrough=yes
queue simple add max-limit=8M/8M name=queue1 packet-marks=torrents
ip firewall nat add action=dst-nat chain=dstnat dst-address=старый_адрес_биллинга dst-port=порт_биллинга in-interface=интерфейс_локалки protocol=протокол_биллинга to-addresses=новый_адрес_биллинга