Getting Started: MikroTik Firewall

Sdílet
Vložit
  • čas přidán 9. 06. 2024
  • This video is aimed at giving you a general overview of how the MikroTik firewall works, what connection tracking is, how implement filter rules as well as mangle and fasttrack connections. Many of the topics are shown in real-time using an EVE-NG lab to show what the impact is on the network when creating firewall rules. Always treat firewall rules with caution and make sure that you do not accidentally configure a rule that will lock you out of your equipment.
    EVE-NG Setup:
    • EVE-NG - First Time Co...
    Timestamps:
    00:00 - Introduction
    00:48 - Logging onto Winbox and Accessing the Firewall
    01:40 - Connection Tracking overview
    05:22 - Firewall Filter Rules
    06:36 - Firewall Chains Explained
    09:41 - Configuring an Input Chain rule
    14:56 - Configuring an Output Chain rule
    16:00 - Configuring a Forward Chain rule
    17:30 - Explanation of Firewall allowing all traffic
    19:33 - Mangle Rules brief overview
    22:00 - FastTrack brief overview
    24:48 - Firewall Connection States
    27:05 - Inverse firewall rule
    Credits:
    Intro Music: Ringtail - Waking Up
    • Ringtail - Waking up
    Song: Max Brhon - Illusion [NCS Release]
    Music provided by NoCopyrightSounds
    Free Download/Stream: ncs.io/Illusion
    Watch: • Max Brhon - Illusion [...
    Song: Max Brhon - The Future [NCS Release]
    Music provided by NoCopyrightSounds
    Free Download/Stream: ncs.io/TheFuture
    Watch: • Max Brhon - The Future...
    Song: Max Brhon - Cyberpunk [NCS Release]
    Music provided by NoCopyrightSounds
    Free Download/Stream: ncs.io/Cyberpunk
    Watch: • Max Brhon - Cyberpunk ...
    Song: Max Brhon - Humanity [NCS Release]
    Music provided by NoCopyrightSounds
    Free Download/Stream: ncs.io/Humanity
    Watch: • Max Brhon - Humanity |...
    Thumbnail: Created on Canva
    Let's connect on Social Media!
    🌏 thenetworkberg.com 🌏
    🌏 / thenetworkberg 🌏
    🌏 / bergnetwork 🌏
    🌏 / the-network-berg-39451... 🌏
    Thanks again for watching

Komentáře • 43

  • @mmrk_
    @mmrk_ Před 2 lety +3

    Man i learn so much from your videos. Thanks for taking the time to upload these.

    • @TheNetworkBerg
      @TheNetworkBerg  Před 2 lety

      Thanks for the comment, happy you are learning from the videos :D!

  • @jakirbasha69
    @jakirbasha69 Před 3 lety +2

    Started watching your MTCNA Playlist.
    You videos are very helpful. i already do have experience with mikrotik and still have learnt a lot from your videos.
    gonna checkout all of your videos. Keep making them.

  • @BostjanCadej
    @BostjanCadej Před 3 lety

    I watched the video. I didn't learn anthing new, but still would like to thank you for work you are doing and giving us tutorials. Keep up the great work. And great video by the way!

  • @uknowimmad
    @uknowimmad Před 3 lety

    You are a great teacher...love the way you explained

    • @wyc2462
      @wyc2462 Před rokem

      He is a Network HERO. Like the movie Matrix. NEO.

  • @samiam9059
    @samiam9059 Před 3 lety +1

    Used them a long time and very secure for years.

  • @blindside995
    @blindside995 Před 3 lety +3

    This is truly a fantastic video! Great work. The mikrotik firewall is really what sold me and got me interested in networking.

    • @TheNetworkBerg
      @TheNetworkBerg  Před 3 lety

      Thanks Landon, when I started using mangle rules to make traffic do what I wanted it to do I was very impressed!

  • @giahoang8204
    @giahoang8204 Před 3 lety +1

    Thank you! Please make more videos about Mikrotik 😀

  • @klap7321
    @klap7321 Před 3 lety +1

    very helpful video thanks

  • @tamtamkeppah8723
    @tamtamkeppah8723 Před 2 lety

    Helpful slot of IT career

  • @chilli9129
    @chilli9129 Před 3 lety +1

    Dobra robota ;)

  • @marjoni
    @marjoni Před rokem

    good job

  • @joellemorris5684
    @joellemorris5684 Před 2 lety

    Thanks for making this video. I could not understand it all... But as I need to research for upgrading my office small network, I would like to know how you would compare a Mikrotik router firewall with Fortigate 40E for example. For kind of uses would you recommend each of those firewalls?

  • @bergertshitenge1375
    @bergertshitenge1375 Před 3 lety

    Hi, I would like you soon to be able to use a loop for your videos so that we can see clearly in any case! thank you

  • @geoffvandermerwe6220
    @geoffvandermerwe6220 Před 2 lety

    Yo, dude! Did you perhaps make an advanced mangle rule video as mentioned in this one ? Would like to know a bit more about mangle. Thank you

  • @DCikac
    @DCikac Před 2 lety

    Hi m8, your videos helped me a ton, even if I'm not new to mikrotik, and I wanted to ask you, do you maybe have a how to configure 2 gateways on the same interface. Long story short i have 2 public ip ranges that are on different sub nets and they are both on cisco port 2, and that's connected to mikrotik wan port who is in bridge mode. So i managed to get the route list to get the info of the second IP range and added it as second default ip with a different routing mark, but then I'm not sure should I use route rules, or firewall mangle or something third, I even got bridge-local to say it works for the new ip adress, but my FW rules don't get any packages when I try to go from a different ip ( inernet ) than my local. sry if I only confused you but the main idea is to have 2 public ip ranges that work on the same local network for web service hosting purpose, and my initial pack of static public ip.s were not enough.

  • @saifullucky
    @saifullucky Před 3 lety

    Awesome

  • @seychellesaccount546
    @seychellesaccount546 Před 7 měsíci

    what is the emulatopr u using here in your video? for virtual routers?

  • @jacobjasser7626
    @jacobjasser7626 Před 3 lety

    Hi The Network Berg! Really appreciate your video. Is forward chain primarily used for if you have a server behind your router?
    I know you mentioned its for forwarding packets between the router, but is this forwarding also for traffic internally? E.g. from PC1 to PC2 on the same router/bridge

    • @TheNetworkBerg
      @TheNetworkBerg  Před 3 lety

      If traffic is leaving from the server to something outside the router then it will use the Forward chain.

    • @jacobjasser7626
      @jacobjasser7626 Před 3 lety

      @@TheNetworkBerg does this also apply to traffic handled internally? E.g. internal host to internal host

    • @TheNetworkBerg
      @TheNetworkBerg  Před 3 lety

      @@jacobjasser7626 If the two hosts are on the same range then their traffic will be passed on a broadcast level and will not hit the router. So if two PCs in 192.168.10.0/24 want to communicate they will do it directly through the switch.

    • @jacobjasser7626
      @jacobjasser7626 Před 3 lety

      @@TheNetworkBerg if internal host on 192.168.10.0/24 wants to speak to a server out in the internet, would this be considered forward chain?
      Would most forward chain rules apply to traffic originating from behind the router since it's NAT'd?
      Thank you for your help!

  • @djvanvuuren8292
    @djvanvuuren8292 Před 2 lety

    Hi Mr, Please assist.. Apparently I have double NAT on my main router and clients router, How do I get rid of double NAT. I know I have to Masquerade , but is there a way to NOT Masquerade and bypass it to have a Open Firewall for VOiP to Register easier

  • @nikolashuminosky6987
    @nikolashuminosky6987 Před 3 lety +1

    Hi Berg,
    still we are waiting for you new video as your mentioned on this vide 21:23. Please we are so exciting

    • @TheNetworkBerg
      @TheNetworkBerg  Před 3 lety +1

      Working on them :D Just being kept a bit busy by my actual job right now so not having much flexibility with new videos at the moment :( As soon as they are ready I will upload!

  • @oschpelemuggn2385
    @oschpelemuggn2385 Před 3 lety +1

    Great video, thank you very much. Getting started with firewall rules is hard when you dont have a good teacher. 😎
    I've a question about the blocked pings. In the first case we got a timeout, in the other a net unreachable. Why the difference?
    Then I've a remark: On my device even in fullscreen mode the text remains unreadable. If you'd reduce your screen resolution while recording the content would be better accessible on smartphones etc.

    • @TheNetworkBerg
      @TheNetworkBerg  Před 3 lety +1

      Great suggestion! If you are watching from a smart phone I can see how the text on Winbox may be a bit small. The difference between the responses are the actions that was set. The following two actions have the two reactions:
      Drop: silently discards packet, person pinging will just see timeout.
      Reject: send a reject message, person pinging will see net unreachable error.

  • @Litdex
    @Litdex Před 3 lety +1

    I my opinion first should go data flow diagram and only then firewall explanation. It is hard to get truly understanding of how exactly rules works without it. But keep doing, anyway it is a great content! And You really should mention how useful too use "Save mode" button when You management firewall rules. Just to not get a silly ;)

    • @TheNetworkBerg
      @TheNetworkBerg  Před 3 lety

      Hahaha that is true the Safe Mode has helped out many people when they make a little or even big mistake :D!

  • @forex-chart-analysis-daily

    if packet come in the router lan what will rule aply input ? if packet come in router cloudside what will rule output

    • @TheNetworkBerg
      @TheNetworkBerg  Před 3 lety

      Hello, if the packet is the router's address then it will be input, so if it was coming from LAN and the router's ip is example 192.168.0.1 and the destination in the IP packet is 192.168.0.1 the router will treat the chain as "INPUT"

  • @sergeybiriukov5087
    @sergeybiriukov5087 Před 3 lety

    how to create a group of ip addresses without dhcp ?

    • @TheNetworkBerg
      @TheNetworkBerg  Před 3 lety

      Would you like to create a dynamic address list? What do you want to do with the group of IP addresses?

  • @tamtamkeppah8723
    @tamtamkeppah8723 Před 2 lety

    But it not visual and understandable

  • @mehdimj_ir
    @mehdimj_ir Před 2 lety

    So, That is very ugly "IN" :))

  • @chilli9129
    @chilli9129 Před 3 lety +1

    Dobra robota ;)