Code: Select all
/interface bridge
add name=br_lan protocol-mode=none
/queue tree
add name=tree1 packet-mark=no-mark parent=ether1
add name=queue2 packet-mark=poi parent=tree1 priority=3
add name=queue1 packet-mark=qwe parent=tree1 priority=5
/interface bridge port
add bridge=br_lan hw=no interface=ether2
/ip address
add address=192.168.210.1/24 interface=br_lan network=192.168.210.0
/ip dhcp-client
add dhcp-options=hostname,clientid disabled=no interface=ether1
/ip firewall mangle
add action=mark-packet chain=prerouting new-packet-mark=poi passthrough=no src-address=192.168.210.0/24
add action=mark-packet chain=postrouting dst-address=192.168.210.0/24 new-packet-mark=poi passthrough=no
add action=mark-packet chain=output dst-address=178.216.40.124 new-packet-mark=qwe passthrough=no
/ip firewall nat
add action=masquerade chain=srcnat out-interface=ether1
Thank you in advance for your help.