24.11.2014 Views

General Information

General Information

General Information

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

How to Mangle NATted Traffic<br />

Suppose you need to limit both download and upload peer-to-peer data rate for NATted local users.<br />

It can be achieved using queue trees and mangle facility.<br />

To mangle traffic from NATted users, do the following:<br />

/ip firewall mangle add src-address=192.168.0.0/24 action=passthrough<br />

mark-connection=nat_conn<br />

/ip firewall mangle add connection=nat_conn mark-flow=my_clients<br />

Now you can add queues to /queue tree submenu matching my_clients flowmark.<br />

Page 254 of 568<br />

Copyright 1999-2005, MikroTik. All rights reserved. Mikrotik, RouterOS and RouterBOARD are trademarks of Mikrotikls SIA.<br />

Other trademarks and registred trademarks mentioned herein are properties of their respective owners.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!