# TYPE DATABASE USER IP-ADDRESS IP-MASK METHOD # Database administrative login by UNIX sockets local all postgres ident sameus er # # All other connections by UNIX sockets local all all trust # # All IPv4 connections from localhost host all all 127.0.0.1 255.255.255.255 trust # # All IPv6 localhost connections host all all ::1 ffff:ffff:ffff:ffff:ffff:ffff: ffff:ffff ident sameuser host all all ::ffff:127.0.0.1/128 ident sameus er # # reject all other connection attempts host all all 0.0.0.0 0.0.0.0 reject