This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
mikrotik:fasttrack [2016/06/13 14:07] admin |
mikrotik:fasttrack [2016/06/13 14:15] (current) admin |
||
---|---|---|---|
Line 37: | Line 37: | ||
- | === Examples === | + | ===== Examples ===== |
==== Initial configuration ==== | ==== Initial configuration ==== | ||
+ | |||
For example, in home routers with factory default configuration, you could Fasttrack all LAN traffic with this one rule placed at the top of the Firewall Filter. The same configuration accept rule is required: | For example, in home routers with factory default configuration, you could Fasttrack all LAN traffic with this one rule placed at the top of the Firewall Filter. The same configuration accept rule is required: | ||
+ | <code bash> | ||
/ip firewall filter add chain=forward action=fasttrack-connection connection-state=established,related | /ip firewall filter add chain=forward action=fasttrack-connection connection-state=established,related | ||
/ip firewall filter add chain=forward action=accept connection-state=established,related | /ip firewall filter add chain=forward action=accept connection-state=established,related | ||
+ | </code> | ||
View of simple FastTrack rules in the firewall, it is important to have other filter or mangle rules to get the advantage of the FastTrack: | View of simple FastTrack rules in the firewall, it is important to have other filter or mangle rules to get the advantage of the FastTrack: | ||
- | * /ip firewall filter | + | |
- | [[File:Fasttrack1_example.png|center|frame]] | + | * /ip firewall filter |
- | * /ip firewall mangle | + | {{ :mikrotik:fasttrack1_example.png?nolink |}} |
- | [[File:Screenshot 2015-11-27 09.40.09.png|center|frame]] | + | * /ip firewall mangle |
- | {{ Warning | <b> Queues, firewall filter and mangle rules will not be applied for FastTracked traffic.</b>}} | + | {{ :mikrotik:screenshot_2015-11-27_09.40.09.png?nolink |}} |
- | * Connection is FastTracked until connection is closed, timed-out or router is rebooted. | + | <note warning> |
- | * Dummy rules will dissapear only after FastTrack firewall rules will be deleted/disabled and router rebooted. | + | Queues, firewall filter and mangle rules will not be applied for FastTracked traffic. |
+ | </note> | ||
+ | * Connection is FastTracked until connection is closed, timed-out or router is rebooted. | ||
+ | * Dummy rules will dissapear only after FastTrack firewall rules will be deleted/disabled and router rebooted. | ||
==== FastTrack on RB2011 ==== | ==== FastTrack on RB2011 ==== | ||
+ | |||
FastTrack is enabled on RB2011 at chain=forward with the rule from previous example. Bandwidth test with single TCP stream is sent, | FastTrack is enabled on RB2011 at chain=forward with the rule from previous example. Bandwidth test with single TCP stream is sent, | ||
- | [[File:Fasttrackon2011.png|center|frame]] | ||
- | [[Category:Manual|Fast]] | + | {{ :mikrotik:fasttrackon2011.png?nolink |}} |
- | [[Category:Routerboard|Fast]] | + | |
- | [[Category:Hardware|Fast]] | + | |
- | [[Category:Interface|Fast]] | + | |
- | [[Category:Case Studies|Fast]] | + | |