The NAT maze
Hairpin NAT, 1:1 NAT and the difference between masquerade and src-nat in a realistic DMZ.
Intermediate · 75 min · 5 devices · Basic plan
Scenario
ACME Corp publishes its DMZ web server on the Internet with an extra public IP from its provider. Employees cannot open the website through that public IP from the office, and the server goes out to the Internet with the link address instead of its own. You have to sort out the NAT so that each flow enters and leaves with the right address. You work on Router; PC-GUI5 and PC-Externa are there for testing from inside and from outside.
What you practise
- 1:1 NAT and hairpin NAT
- dst-nat and port forwarding
- Masquerade and src-nat
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
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.
- SecurityBasic plan
The honeypot
3-step port knocking with cascading address-lists and traps for scanners.
