I want to create environment that allows the limited number of machines connect to my database server. For debugging needs all IP address have the remote access to PostgreSQL server
listen_addresses = '*'
host all all 0.0.0.0/0 md5
I want to limit access. What is the canonical way to do that? I though of using proxy server to connect from local machines to PostgreSQL server, but I'll appreciate other ideas.