fbpx

Can you filter packets in a mikrotik running torch?

Yes, it is possible to filter packets when running the Torch tool on a MikroTik device. Torch is a traffic analysis utility that allows users to observe in real time the traffic passing through specific interfaces on the MikroTik device.

Although Torch is not a packet filtering tool per se, it does provide options to view and monitor packets based on certain criteria, which can be useful for network diagnostics and analysis.

To use Torch with filters, you can follow these steps in the WinBox interface or via the RouterOS command line:

  1. Access Torch:
    • In WinBox: Go to Tools and then to Torch.
    • On the command line: Use the command /tool torch.
  2. Select interface:
    • Specifies the interface over which you want to monitor traffic.
  3. Set filters:
    • You can filter traffic by IP address, port or protocol. This allows you to focus on a specific type of traffic or packets from/to specific addresses.
    On the command line, you can add filters like this:

    /tool torch interface=ether1 src-address=192.168.1.1/24

    This will filter and display traffic only to and from the 192.168.1.0/24 network on the ether1 interface.
  4. Observe traffic:
    • Torch will display traffic in real time, including details such as source address, destination, protocol, and amount of data transferred.

Torch is particularly useful for understanding the type of traffic that is flowing through your network and can be a valuable resource for network troubleshooting and performance optimization.

However, for advanced traffic filtering and control, it would be more appropriate to use MikroTik's firewall rules, which allow traffic to be blocked or allowed based on much more specific rules and with the ability to take actions based on those rules.

There are no tags for this post.
Did this content help you?
Facebook
Twitter
LinkedIn
WhatsApp
Telegram

Other documents in this category

Leave your comment

Your email address will not be published. Required fields are marked with *

Tutorials available at MikroLABs

No Courses Found!

DISCOUNT CODE

AN24-LIB

applies to MikroTik books and book packs

Days
Hours
Minutes
Seconds

Introduction to
OSPF - BGP - MPLS

Sign up for this Free course

MAE-RAV-ROS-240118
Days
Hours
Minutes
Seconds

Sign up for this Free course

MAS-ROS-240111

Promo for Three Kings Day!

KINGS24

15%

all the products

MikroTik courses
Academy courses
MikroTik books

Take advantage of the Three Kings Day discount code!

* promotion valid until Sunday January 7, 2024
** the code (KINGS24) applies to shopping cart
*** buy your course now and take it until March 31, 2024

New Year's Eve Promo!

NY24

20%

all the products

MikroTik courses
Academy courses
MikroTik books

Take advantage of the New Year's Eve discount code!

* promotion valid until Monday, January 1, 2024
** the code (NY24) applies to shopping cart
*** buy your course now and take it until March 31, 2024

Christmas discounts!

XMAS23

30%

all the products

MikroTik courses
Academy courses
MikroTik books

Take advantage of the discount code for Christmas!!!

**codes are applied in the shopping cart
Promo valid until Monday December 25, 2023

CYBER WEEK DISCOUNTS

CW23-MK

17%

all MikroTik OnLine courses

CW23-AX

30%

all Academy courses

CW23-LIB

25%

all MikroTik Books and Book Packs

Take advantage of the discount codes for Cyber ​​Week!!!

**codes are applied in the shopping cart
Promo valid until Sunday December 3, 2023

BLACK FRIDAY DISCOUNTS

BF23-MX

22%

all MikroTik OnLine courses

BF23-AX

35%

all Academy courses

BF23-LIB

30%

all MikroTik Books and Book Packs

Take advantage of the discount codes for Black Friday!!!

**Codes are applied in the shopping cart

codes are applied in the shopping cart
valid until Sunday November 26, 2023

Days
Hours
Minutes
Seconds

Sign up for this Free course

MAE-VPN-SET-231115

Halloween promo

Take advantage of discount codes for Halloween.

Codes are applied in the shopping cart

HW23-MK

11% discount on all MikroTik OnLine courses

11%

HW23-AX

30% discount on all Academy courses

30%

HW23-LIB

25% discount on all MikroTik Books and Book Packs

25%

Register and participate in the free course Introduction to Advanced Routing with MikroTik (MAE-RAV-ROS)

Today (Wednesday) October 11, 2023
7pm to 11pm (Colombia, Ecuador, Peru)

MAE-RAV-ROS-231011