That page has some outdated information. There's an official guide on OpenBSD's own website: https://www.openbsd.org/faq/pf/example1.html - No need to rely on third party blogs with BSD most of the time. Official docs and man pages are always better and up to date.
(I wish this was true for Linux too...)