{"id":9647,"date":"2019-01-24T15:18:39","date_gmt":"2019-01-24T17:18:39","guid":{"rendered":"http:\/\/made4it.com.br\/netflow-configuration-on-mikrotik-routeros-routers\/"},"modified":"2023-02-13T08:33:05","modified_gmt":"2023-02-13T11:33:05","slug":"netflow-configuration-in-mikrotik-routers","status":"publish","type":"post","link":"https:\/\/made4it.com.br\/en\/netflow-configuration-in-mikrotik-routers\/","title":{"rendered":"Netflow Configuration on Mikrotik RouterOS Routers"},"content":{"rendered":"\n<p>Hello<br\/><br\/>Today we will demonstrate how simple it is to configure your Mikrotik router to export Netflow.<br\/><br\/>Here we have our Server information that will receive the Streams:<br\/><br\/><\/p>\n\n<pre class=\"wp-block-preformatted\">Source IP (Src-address): 192.168.210.49<br\/>Netflow's server: 192.168.210.47<br\/>Netflow port: 2055<br\/>Netflow version: 9<br\/><\/pre>\n\n<p>The first step to configure the Mikrotik is to access it through Winbox or if you prefer CLI, in this first example we will demonstrate through Winbox<br\/><br\/>Go to Menu: IP -&gt; Traffic Flow<\/p>\n\n<figure class=\"wp-block-image\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"586\" src=\"https:\/\/www.made4it.com.br\/wp-content\/uploads\/2019\/01\/Screen-Shot-2019-01-24-at-16.17.36-1024x586.png\" alt=\"\" class=\"wp-image-682\" srcset=\"https:\/\/made4it.com.br\/wp-content\/uploads\/2019\/01\/Screen-Shot-2019-01-24-at-16.17.36-1024x586.png 1024w, https:\/\/made4it.com.br\/wp-content\/uploads\/2019\/01\/Screen-Shot-2019-01-24-at-16.17.36-300x172.png 300w, https:\/\/made4it.com.br\/wp-content\/uploads\/2019\/01\/Screen-Shot-2019-01-24-at-16.17.36-768x439.png 768w, https:\/\/made4it.com.br\/wp-content\/uploads\/2019\/01\/Screen-Shot-2019-01-24-at-16.17.36-1536x878.png 1536w, https:\/\/made4it.com.br\/wp-content\/uploads\/2019\/01\/Screen-Shot-2019-01-24-at-16.17.36-2048x1171.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption>Menu: IP -&gt; Traffic Flow<\/figcaption><\/figure>\n\n<p>Inside the Traffic Flow menu you need to configure<br\/><br\/>Mark the Enabled option<br\/>Configure which interface(s) you will export Netflow<br\/>Cache Entries: Usually values are 1M to 4M (depending on your router&#8217;s memory)<br\/><br\/>By configuring these options your router is Netflow enabled, but you still need to configure Targets to export to your Netflow server.<\/p>\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"684\" height=\"912\" src=\"https:\/\/www.made4it.com.br\/wp-content\/uploads\/2019\/01\/Screen-Shot-2019-01-24-at-16.17.52-1.png\" alt=\"\" class=\"wp-image-683\" srcset=\"https:\/\/made4it.com.br\/wp-content\/uploads\/2019\/01\/Screen-Shot-2019-01-24-at-16.17.52-1.png 684w, https:\/\/made4it.com.br\/wp-content\/uploads\/2019\/01\/Screen-Shot-2019-01-24-at-16.17.52-1-225x300.png 225w\" sizes=\"(max-width: 684px) 100vw, 684px\" \/><figcaption>Traffic Flow<\/figcaption><\/figure>\n\n<p>Next step is to configure the Targes, they are the server(s) that will receive the Netflow data<br\/><br\/>Click on the Targets Option and then on Add<br\/><br\/>Set the options as configured in your Netflow Server<br\/><br\/>Src. Address (Source IP): 192.168.210.49<br\/>Dst. Address (Netflow Server IP): 192.168.210.47<br\/>Port: 2055<br\/>Version: 9<\/p>\n\n<p><\/p>\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"828\" height=\"656\" src=\"https:\/\/www.made4it.com.br\/wp-content\/uploads\/2019\/01\/Screen-Shot-2019-01-24-at-16.18.02.png\" alt=\"\" class=\"wp-image-684\" srcset=\"https:\/\/made4it.com.br\/wp-content\/uploads\/2019\/01\/Screen-Shot-2019-01-24-at-16.18.02.png 828w, https:\/\/made4it.com.br\/wp-content\/uploads\/2019\/01\/Screen-Shot-2019-01-24-at-16.18.02-300x238.png 300w, https:\/\/made4it.com.br\/wp-content\/uploads\/2019\/01\/Screen-Shot-2019-01-24-at-16.18.02-768x608.png 768w\" sizes=\"(max-width: 828px) 100vw, 828px\" \/><figcaption>Configuring Targets within Traffic Flow<\/figcaption><\/figure>\n\n<p>With these settings your router will already be exporting data, if you want to check it you can go into the Menu: IP -&gt; Traffic Flow, into the Status Option and check if the Flows are finished or Active.<br\/><\/p>\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"718\" height=\"950\" src=\"https:\/\/www.made4it.com.br\/wp-content\/uploads\/2019\/01\/Screen-Shot-2019-01-24-at-16.18.11.png\" alt=\"\" class=\"wp-image-685\" srcset=\"https:\/\/made4it.com.br\/wp-content\/uploads\/2019\/01\/Screen-Shot-2019-01-24-at-16.18.11.png 718w, https:\/\/made4it.com.br\/wp-content\/uploads\/2019\/01\/Screen-Shot-2019-01-24-at-16.18.11-227x300.png 227w\" sizes=\"(max-width: 718px) 100vw, 718px\" \/><figcaption>Traffic Flow Status<\/figcaption><\/figure>\n\n<p>With these settings your router is already exporting Netflow information.<br\/><br\/>If you want to configure by CLI (command line) here are the commands used:<br\/><\/p>\n\n<pre class=\"wp-block-preformatted\">\/ip traffic-flow<br\/>  set cache-entries=2M enabled=yes<br\/>\/ip traffic-flow target<br\/>  add dst-address=192.168.210.47 src-address=192.168.210.49<\/pre>\n\n<p>Check out the video of Netflow configuration on RouterOS<\/p>\n\n<figure class=\"wp-block-embed aligncenter is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Configura\u00e7\u00e3o de Netflow - Traffic Flow em Mikrotik RouterOS\" width=\"800\" height=\"450\" src=\"https:\/\/www.youtube.com\/embed\/_Ixp91X8i-g?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe>\n<\/div><figcaption>Configuring Traffic Flow in Mikrotik<\/figcaption><\/figure>\n\n<p>For more information access Mikrotik&#8217;s Documentation at: <a href=\"https:\/\/wiki.mikrotik.com\/wiki\/Manual:IP\/Traffic_Flow\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"https:\/\/wiki.mikrotik.com\/wiki\/Manual:IP\/Traffic_Flow (abre em uma nova aba)\">https:\/\/wiki.mikrotik.com\/wiki\/Manual:IP\/Traffic_Flow<\/a><\/p>\n\n<p>Subscribe to our newsletter and receive this and many other networking tips.<br\/><br\/>Big hug and see you next time.<\/p>\n\n<p><br\/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Netflow Configuration on Mikrotik Routers<\/p>\n","protected":false},"author":13,"featured_media":8406,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"postBodyCss":"","postBodyMargin":[],"postBodyPadding":[],"postBodyBackground":{"backgroundType":"classic","gradient":""},"footnotes":""},"categories":[326,327],"tags":[329,328,302,330,331,332,333,334],"class_list":["post-9647","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mikrotik-en","category-netflow-en","tag-configure-netflow-mikrotik","tag-how-to-configure-netflow-on-mikrotik-routers","tag-mikrotik-en","tag-netflow-en","tag-netflow-mikrotik-en","tag-netflow-v5-en","tag-netflow-v9-en","tag-winbox-en"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/made4it.com.br\/en\/wp-json\/wp\/v2\/posts\/9647","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/made4it.com.br\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/made4it.com.br\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/made4it.com.br\/en\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/made4it.com.br\/en\/wp-json\/wp\/v2\/comments?post=9647"}],"version-history":[{"count":0,"href":"https:\/\/made4it.com.br\/en\/wp-json\/wp\/v2\/posts\/9647\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/made4it.com.br\/en\/wp-json\/wp\/v2\/media\/8406"}],"wp:attachment":[{"href":"https:\/\/made4it.com.br\/en\/wp-json\/wp\/v2\/media?parent=9647"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/made4it.com.br\/en\/wp-json\/wp\/v2\/categories?post=9647"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/made4it.com.br\/en\/wp-json\/wp\/v2\/tags?post=9647"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}