Linux Network Configuration
Configure and verify addresses, routes, name resolution, a host firewall and SSH access on a Linux server.
4 objectives 6 steps about 130 min
Check what you know
The lessons are coming later. The knowledge check is ready now.
This skill page is a public outline. Its lessons and knowledge check appear here as subject-matter experts approve them.
Learning objectives
- Inspect and configure interfaces, addresses (DHCP or static), neighbour entries and routes with ip, and make them persistent with NetworkManager, systemd-networkd or netplan.
- Configure and debug name resolution through nsswitch, /etc/hosts, systemd-resolved and resolv.conf.
- Map listening sockets to processes with ss, restrict inbound traffic with an nftables-based host firewall (nft, firewalld or ufw), and confirm with tcpdump whether packets reach the host.
- Harden SSH with key-only authentication and no root login, and verify the configuration from a second machine.
Lesson plan
6 steps, about 130 min · 0 of 5 lessons available so far
- The host's network stack: interfaces, addresses, neighbours, routes and the routing decision Concept · 20 min · coming later
- Lab: from DHCP to a static address and route that survive a reboot Lab · 25 min · coming later
- How Linux resolves names: nsswitch, hosts, systemd-resolved and resolv.conf Concept · 20 min · coming later
- Lab: listening services with ss, a default-deny host firewall and tcpdump to prove it Lab · 25 min · coming later
- Worked example: hardening sshd and testing it from another host Worked example · 20 min · coming later
- Check: fix three broken network configurations Knowledge check · 8 questions
Practise it
Configure a VM with static IPv4 and IPv6 addresses, a custom DNS server and search domain, a default-deny host firewall that allows only SSH and HTTPS, and key-only SSH; submit the config files plus ip, resolvectl, ss and nft list ruleset output.
Build it from scratch
Practice builds that exercise this skill by re-creating a real technology.
- Build your own VPNAdvanced · 15–30 h
References
Hard prerequisites
Unlocks
Nothing depends on this skill yet.
On these roadmaps
Progress and evidence for this skill are shared across all of them.