NTP is UDP port 123.

PR:		213365
Submitted by:	Tim Moore <tmoore@iXsystems.com>
Reported by:	petri.riihikallio@metis.fi
Sponsored by:	iXsystems
Differential Revision:	https://reviews.freebsd.org/D8375
This commit is contained in:
Warren Block 2016-10-28 15:31:21 +00:00
parent 9a9f8e9d97
commit f9a0848f46
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=49600

View file

@ -2064,7 +2064,7 @@ pif="dc0" # interface name of NIC attached to Internet</programlisting>
&dollar;cmd 00250 allow icmp from any to any out via &dollar;pif keep-state
# Allow outbound NTP
&dollar;cmd 00260 allow tcp from any to any 37 out via &dollar;pif setup keep-state
&dollar;cmd 00260 allow udp from any to any 123 out via &dollar;pif setup keep-state
# Allow outbound SSH
&dollar;cmd 00280 allow tcp from any to any 22 out via &dollar;pif setup keep-state