ufw configuration

my common configurations. you're meant to know what you're doing.

sshd

$ ufw allow 22/tcp comment sshd
$ ufw allow in on any to any port 22 proto tcp comment sshd
$ ufw allow in on wg0 to any port 22 proto tcp comment sshd

mosh

$ ufw allow 60000:61000/udp comment mosh