mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-30 08:19:09 +00:00
- dns queries might go also over TCP, so allow it.
Approved by: rink MFC after: 1 week
This commit is contained in:
parent
9a75ea2333
commit
f8c76347e1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=180577
@ -194,6 +194,7 @@ case ${firewall_type} in
|
||||
${fwcmd} add deny tcp from any to any setup
|
||||
|
||||
# Allow DNS queries out in the world
|
||||
${fwcmd} add pass tcp from me to any 53 setup keep-state
|
||||
${fwcmd} add pass udp from me to any 53 keep-state
|
||||
|
||||
# Allow NTP queries out in the world
|
||||
@ -294,6 +295,7 @@ case ${firewall_type} in
|
||||
${fwcmd} add pass tcp from any to any setup
|
||||
|
||||
# Allow DNS queries out in the world
|
||||
${fwcmd} add pass tcp from ${oip} to any 53 setup keep-state
|
||||
${fwcmd} add pass udp from ${oip} to any 53 keep-state
|
||||
|
||||
# Allow NTP queries out in the world
|
||||
|
Loading…
Reference in New Issue
Block a user