diff --git a/etc/hosts.allow b/etc/hosts.allow index 8f9aa22ab0c7..8b97752215e6 100644 --- a/etc/hosts.allow +++ b/etc/hosts.allow @@ -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