I would like to configure my Postgres DB to be accessed by any IP 10.8.101.*. I know I have to create a rule in pg_hba.conf
but I'm not sure what it should look like. My LAN IP is currently 10.8.101.128 so I thought this would work:
# TYPE DATABASE USER ADDRESS METHOD
host all all 10.8.101.0/128 md5
But I'm getting an error could not load pg_hba.conf
. Does anyone know how to do this properly?