I am running OpenBSD 4.4, I copied the template from https://markshroyer.com/guides/router/ch07.html for
/etc/pf.conf and edited it to match my network.
When I start it I get syntax errors on only three lines that I didn't need to edit:
match on $if_wan scrub (reassemble tcp random-id max-mss 1440),
match out on $if_wan from $net_private to !(if_wan) nat-to ($if_wan)
which I tried editing to
match out on $if_wan from $net_private to !($if_wan) nat-to ($if_wan), and
pass in on $if_lan net photo tcp to port ftp rdr-to 127.0.0.1 port 8021
These are the only lines that claim a syntax error. Anyone know what the problem is and how to fix it?