s/portmap/rpcbind
Pointed out by: Hajimu UMEMOTO <ume@mahoroba.org>
This commit is contained in:
parent
bbf084795e
commit
a45654ed88
@ -30,7 +30,7 @@ ALL : ALL : allow
|
||||
ALL : PARANOID : RFC931 20 : deny
|
||||
|
||||
# Allow anything from localhost. Note that an IP address (not a host
|
||||
# name) *MUST* be specified for portmap(8).
|
||||
# name) *MUST* be specified for rpcbind(8).
|
||||
ALL : localhost 127.0.0.1 : allow
|
||||
ALL : my.machine.example.com 192.0.2.35 : allow
|
||||
|
||||
@ -54,9 +54,9 @@ exim : ALL : allow
|
||||
|
||||
# Portmapper is used for all RPC services; protect your NFS!
|
||||
# (IP addresses rather than hostnames *MUST* be used here)
|
||||
portmap : 192.0.2.32/255.255.255.224 : allow
|
||||
portmap : 192.0.2.96/255.255.255.224 : allow
|
||||
portmap : ALL : deny
|
||||
rpcbind : 192.0.2.32/255.255.255.224 : allow
|
||||
rpcbind : 192.0.2.96/255.255.255.224 : allow
|
||||
rpcbind : ALL : deny
|
||||
|
||||
# Provide a small amount of protection for ftpd
|
||||
ftpd : localhost : allow
|
||||
|
Loading…
Reference in New Issue
Block a user