Code: Select all
/ queue simple
add name="184" target-addresses=xx.xx.xx.184/32 dst-address=0.0.0.0/0 interface=all \
parent=none packet-marks=internet direction=both priority=8 \
queue=default-small/default-small limit-at=512000/512000 max-limit=512000/512000 \
total-queue=default-small disabled=no
/ ip firewall mangle
add chain=prerouting p2p=all-p2p dst-address-list=!Lokalni action=mark-connection \
new-connection-mark=p2p_conn passthrough=yes comment="" disabled=no
add chain=prerouting connection-mark=p2p_conn action=mark-packet new-packet-mark=p2p \
passthrough=no comment="" disabled=no
add chain=prerouting dst-address-list=!Lokalni action=mark-connection \
new-connection-mark=internet_con passthrough=yes comment="" disabled=no
add chain=prerouting connection-mark=internet_con action=mark-packet \
new-packet-mark=internet passthrough=no comment="" disabled=no