my common configurations. you're meant to know what you're doing.
$ 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
$ ufw allow 60000:61000/udp comment mosh