Add IP addresses to the rules required to "Allow anything from
localhost", since portmap(8) is included in "anything". Submitted by: Doug Barton <Doug@gorean.org>
This commit is contained in:
parent
54e0092517
commit
8172e29086
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=60031
@ -29,9 +29,10 @@ ALL : ALL : allow
|
|||||||
# Prevent those with no reverse DNS from connecting.
|
# Prevent those with no reverse DNS from connecting.
|
||||||
ALL : PARANOID : RFC931 20 : deny
|
ALL : PARANOID : RFC931 20 : deny
|
||||||
|
|
||||||
# Allow anything from localhost
|
# Allow anything from localhost. Note that an IP address (not a host
|
||||||
ALL : localhost : allow
|
# name) *MUST* be specified for portmap(8).
|
||||||
ALL : my.machine.example.com : allow
|
ALL : localhost 127.0.0.1 : allow
|
||||||
|
ALL : my.machine.example.com 192.0.2.35 : allow
|
||||||
|
|
||||||
# Sendmail can help protect you against spammers and relay-rapers
|
# Sendmail can help protect you against spammers and relay-rapers
|
||||||
sendmail : localhost : allow
|
sendmail : localhost : allow
|
||||||
|
Loading…
Reference in New Issue
Block a user