diff --git a/etc/hosts.allow b/etc/hosts.allow index 47d57d11f2ac..5af0f0ec3b5f 100644 --- a/etc/hosts.allow +++ b/etc/hosts.allow @@ -36,7 +36,9 @@ ALL : PARANOID : RFC931 20 : deny # Allow anything from localhost. Note that an IP address (not a host # name) *MUST* be specified for rpcbind(8). -ALL : localhost 127.0.0.1 [::1] : allow +ALL : localhost 127.0.0.1 : allow +# Comment out next line if you build libwrap with NO_INET6=yes. +ALL : [::1] : allow ALL : my.machine.example.com 192.0.2.35 : allow # To use IPv6 addresses you must enclose them in []'s