I have not seen a fundamental breakdown of the Packet Flow at a level that I can grasp. (RouterOS - RouterOS - MikroTik Documentation).
What I would like to do is break it down for basic traffic first, then how the default FW rules affect on traffic but with real world information.
In other words work my way around the diagram.
Before I get to tracing real world traffic as per below, I think it would be worthwhile to discuss blocks in the diagram so that the tracing flows faster LOL.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Scenario
- Fibre ISP, internet comes through their VLAN24 network.
- Hex Router, WAN1 to be setup for Fibre ISP ( assuming setup up WAN as DHCP static 0.0.0.0 IP and mask 0.0.0.0) Plus create VLAN24 on HEX and assign to WAN1
- Ether 2 -5 standard simple HEX LAN 192.168.88.1 gateway.
- PC on ether2 assigned 192.168.88.10
- normal web browsing
- Https bank sessions
- Host FTP server non encrypted
Packet Flow Tracking
(traffic that passes)
A. web browsing to a website
B. web site visit encrypted (Bank)
C. Incoming unsolicited traffic for FTP server (password entry)
(traffic that is stopped)
D. Scans/ probes from threat vectors (PC bot etc).
E. Rogue application (or evil link in email) phoning home.
(FW rules)
default rules in place (invalid connection, not on this LAN, and DNAT)
IP Firewall FILTER with address lists
IP Firewall FILTER (input) vs IP RAW (prerouting)
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
BLOCK DISCUSSION
Block Entry - Physical In-Interface: I'm assuming this refers the actual physical entry point into the router for traffic and could be one of Five ports (HEX router).
Block Exit - Physical Out-Interface: I'm assuming this refers to the actual physical exit point for traffic out of the router and could be one of the five ports.
Block 1 - In-Interface Bridge Port Decision Box: I'm assuming this is asking, is the traffic coming in on the WAN or LAN?
If WAN go to MPLS Traffic decision box.
If LAN go to A. Bridging Block