← Week 13 | Overview | Week 15 →
Week 14 - Firewalls and SSH in depth¶
Phase 4: Networking, Bash, troubleshooting (Weeks 13-16)
- Done
Goal: Control access and move traffic safely.
Reading: Ch. 16 Networking (ssh including Tunneling with SSH, scp, sftp); Ch. 18 Archiving and Backup (rsync). Firewalls are not covered.
Exercises:
- Learn nftables basics under ufw; inspect rules with nft list ruleset.
- SSH tunnels: -L, -R and -D; ProxyJump; reach a private database through a bastion.
- rsync flags you will actually use (-avz, --delete, --dry-run); scp versus rsync.
- Restrict SSH further: AllowUsers, key-only, a non-default port debate (pros and cons).
Deliverable: A documented tunnel setup that exposes the database only to your laptop.
My notes: week-14-notes.md