My bad, forgot to add [email protected] in my reply to Ken, here it is for the record.

The default value for 'ssh' in /etc/services would be 22. So you're
going to have to remember to change either /etc/pf.conf or
/etc/services to avoid the problem. You don't describe enough of your
situation to make clear why editing /etc/services would make more
sense than editing /etc/pf.conf.

I'm not talking about /etc/pf.conf, but the default pf-ruleset loaded
during startup (in /etc/rc).

Hmm. In that case I'm not sure /etc/services is actually accessible at
that time. And what if it is missing? We would not want to make the
system come up wide open.

But there are 4 other rules using /etc/services already?

If you had started with "Other default rules use /etc/services, why
not ssh?" there would have been less confusion in the minds of
slackers like myself who did not go look at /etc/rc. :-)

.... Ken

As Ken perfectly wrote it: "Other default rules use /etc/services, why not ssh?"


--
bsv

Reply via email to