0% found this document useful (0 votes)
131 views1 page

Mark Packet

The document contains firewall rules that mark packets for different destinations downstream and upstream. Downstream packets sent to various clients and a billing server at 192.168.50.13 are marked. Upstream packets from those destinations are also marked. A master server at 10.10.5.1 has its incoming and outgoing packets marked as well. The rules use packet marking to distinguish traffic flows for various internal network devices and a client subnet.

Uploaded by

Imran Thaib
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
131 views1 page

Mark Packet

The document contains firewall rules that mark packets for different destinations downstream and upstream. Downstream packets sent to various clients and a billing server at 192.168.50.13 are marked. Upstream packets from those destinations are also marked. A master server at 10.10.5.1 has its incoming and outgoing packets marked as well. The rules use packet marking to distinguish traffic flows for various internal network devices and a client subnet.

Uploaded by

Imran Thaib
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

/ip firewall mangle

add action=mark-packet chain=forward dst-address=192.168.50.13 packet-mark=all-o


utpkt new-packet-mark=billing-pktd passthrough=yes comment="BILLING DOWNSTREAM"
add action=mark-packet chain=forward dst-address=192.168.50.1 packet-mark=all-ou
tpkt new-packet-mark=client1-pktd passthrough=yes comment="CLIENT1 DOWNSTREAM"
add action=mark-packet chain=forward dst-address=192.168.50.2 packet-mark=all-ou
tpkt new-packet-mark=client2-pktd passthrough=yes comment="CLIENT2 DOWNSTREAM"
add action=mark-packet chain=forward dst-address=192.168.50.3 packet-mark=all-ou
tpkt new-packet-mark=client3-pktd passthrough=yes comment="CLIENT3 DOWNSTREAM"
add action=mark-packet chain=forward dst-address=192.168.50.4 packet-mark=all-ou
tpkt new-packet-mark=client4-pktd passthrough=yes comment="CLIENT4 DOWNSTREAM"
add action=mark-packet chain=forward dst-address=192.168.50.5 packet-mark=all-ou
tpkt new-packet-mark=client5-pktd passthrough=yes comment="CLIENT5 DOWNSTREAM"
add action=mark-packet chain=forward dst-address=192.168.50.6 packet-mark=all-ou
tpkt new-packet-mark=client6-pktd passthrough=yes comment="CLIENT6 DOWNSTREAM"
add action=mark-packet chain=forward dst-address=192.168.50.7 packet-mark=all-ou
tpkt new-packet-mark=client6-pktd passthrough=yes comment="CLIENT7 DOWNSTREAM"
add action=mark-packet chain=forward dst-address=192.168.50.8 packet-mark=all-ou
tpkt new-packet-mark=client6-pktd passthrough=yes comment="CLIENT8 DOWNSTREAM"
add action=mark-packet chain=forward dst-address=10.10.5.1 packet-mark=all-outpk
t new-packet-mark=master-pktd passthrough=yes comment="MASTER DOWNSTREAM"

/ip firewall mangle
add action=mark-packet chain=forward dst-address=192.168.50.13 packet-mark=all-i
npkt new-packet-mark=billing-pktp passthrough=no comment="BILLING UPSTREAM"
add action=mark-packet chain=forward dst-address=192.168.50.1 packet-mark=all-in
pkt new-packet-mark=client1-pktp passthrough=no comment="CLIENT1 UPSTREAM"
add action=mark-packet chain=forward dst-address=192.168.50.2 packet-mark=all-in
pkt new-packet-mark=client2-pktp passthrough=no comment="CLIENT2 UPSTREAM"
add action=mark-packet chain=forward dst-address=192.168.50.3 packet-mark=all-in
pkt new-packet-mark=client3-pktp passthrough=no comment="CLIENT3 UPSTREAM"
add action=mark-packet chain=forward dst-address=192.168.50.4 packet-mark=all-in
pkt new-packet-mark=client4-pktp passthrough=no comment="CLIENT4 UPSTREAM"
add action=mark-packet chain=forward dst-address=192.168.50.5 packet-mark=all-in
pkt new-packet-mark=client5-pktp passthrough=no comment="CLIENT5 UPSTREAM"
add action=mark-packet chain=forward dst-address=192.168.50.6 packet-mark=all-in
pkt new-packet-mark=client6-pktp passthrough=no comment="CLIENT6 UPSTREAM"
add action=mark-packet chain=forward dst-address=192.168.50.7 packet-mark=all-in
pkt new-packet-mark=client6-pktp passthrough=no comment="CLIENT7 UPSTREAM"
add action=mark-packet chain=forward dst-address=192.168.50.8 packet-mark=all-in
pkt new-packet-mark=client6-pktp passthrough=no comment="CLIENT8 UPSTREAM"
add action=mark-packet chain=forward dst-address=10.10.5.1 packet-mark=all-inpkt
new-packet-mark=master-pkt passthrough=no comment="MASTER UPSTREAM"

You might also like