|
79 | 79 | @remove-line-for-nolocal@# "local" is for Unix domain socket connections only
|
80 | 80 | @remove-line-for-nolocal@local all all @authmethodlocal@
|
81 | 81 | # IPv4 local connections:
|
82 |
| -#host all all 127.0.0.1/32 @authmethodhost@ |
83 |
| -host all all 0.0.0.0/0 @authmethodhost@ |
| 82 | +host all all 127.0.0.1/32 @authmethodhost@ |
84 | 83 | # IPv6 local connections:
|
85 | 84 | host all all ::1/128 @authmethodhost@
|
| 85 | +# IPv4 remote commections: |
| 86 | +# Uncomment following line to allow network access. You'll also need to |
| 87 | +# add listen_addresses='*' into your postgresql.conf file |
| 88 | +# host all all 0.0.0.0/0 @authmethodhost@ |
| 89 | +# IPv6 remote connections: |
| 90 | +# host all all ::/0 @authmethodhost@ |
86 | 91 | # Allow replication connections from localhost, by a user with the
|
87 | 92 | # replication privilege.
|
88 | 93 | @remove-line-for-nolocal@#local replication @default_username@ @authmethodlocal@
|
|