An error in Handbook IPFW example

Petri Riihikallio petri.riihikallio at metis.fi
Sat Oct 8 07:34:19 UTC 2016


About half way through https://www.freebsd.org/doc/handbook/firewalls-ipfw.html it says:

> # Allow outbound NTP
> $cmd 00260 allow tcp from any to any 37 out via $pif setup keep-state

But that doesn’t allow NTP. NTP uses UDP 123. TCP 37 is the obsolete TIME protocol. (Unless I am completely at a loss, of course.)

-- 
Cheers
Petri
GSM +358 400 505 939




More information about the freebsd-doc mailing list