Skip to content

← Week 14 - Firewalls and SSH in depth

Week 14 - Firewalls and SSH in depth: notes

Status: Not started

Exercise 1

Learn nftables basics under ufw; inspect rules with nft list ruleset.

Commands, results, what surprised me.

Exercise 2

SSH tunnels: -L, -R and -D; ProxyJump; reach a private database through a bastion.

Commands, results, what surprised me.

Exercise 3

rsync flags you will actually use (-avz, --delete, --dry-run); scp versus rsync.

Commands, results, what surprised me.

Exercise 4

Restrict SSH further: AllowUsers, key-only, a non-default port debate (pros and cons).

Commands, results, what surprised me.

Deliverable

A documented tunnel setup that exposes the database only to your laptop.

Write-up.