Mangle: classify before you decide
Mangle, connection-mark and packet-mark: classify traffic before making decisions.
Intermediate · 75 min · 6 devices · Basic plan
Scenario
The company firewall lets LAN traffic out, but it cannot tell normal browsing apart from voice calls or large downloads. Before deciding anything, that traffic has to be classified with Mangle, leaving marks that the firewall and other policies can use later. You work on Router, which already has the LAN, DHCP, NAT and a basic firewall; PC-Web, PC-VoIP and PC-Descargas each generate one type of traffic towards the test server.
What you practise
- connection-mark and packet-mark
- Classify by volume
Practise this lab
It deploys in your account in under a minute and you connect over VPN with WinBox, SSH or WebFig. The panel checks each objective.
Requires the Basic plan. You can create a free account and look at the lab before subscribing.
More Security labs
- SecurityBasic plan
Order is everything
Order matters: connection states, shadowed rules and diagnosis with counters.
- SecurityBasic plan
Tailor-made chains
Reorganize a flat firewall into custom chains per traffic flow, using interface-lists.
- SecurityBasic plan
The silent spy
Detect data exfiltration without blocking, using address-lists and selective logging.
- SecurityBasic plan
The NAT maze
Hairpin NAT, 1:1 NAT and the difference between masquerade and src-nat in a realistic DMZ.
- SecurityBasic plan
Under siege
Defend a server with the RAW table, before conntrack. The detect-ddos pattern.
- SecurityBasic plan
The selective bouncer
connection-limit, dst-limit and tarpit: contain abusers without touching legitimate users.
