From: Richard Broersma Jr <rabroersma@yahoo.com>
To: Adam Fernie <adam@mysi.co.uk>
To: pgsql-admin@postgresql.org
Subject: Re: pg_hba.conf includes
Date: Mon, 7 Aug 2006 06:57:56 -0700 (PDT)
Message-ID: <20060807135756.59980.qmail@web31810.mail.mud.yahoo.com> (raw)
In-Reply-To: <20060807132355.41D625AF032@svr4.postgresql.org>
> host dbname all @myhosts 255.255.255.255 md5
>
> If I put a single ip or hostname in the file it works a treat but I
> don't know how to include more than 1 host or IP address is the file.
> Should it be comma seperated, newline for each file or something
> different?
You can add additional lines for each IP.
Or if all of your clients are on the same sub-network, then you can alter your net mask in the
above line to allow them. i.e. <255.255.255.0> So for example if your client is 191.168.1.100 and
your next mask is 255.255.255.0, then all ip like 192.168.1.* will be allowed to connect.
Regards,
Richard Broersma Jr.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: rabroersma@yahoo.com, adam@mysi.co.uk
Subject: Re: pg_hba.conf includes
In-Reply-To: <20060807135756.59980.qmail@web31810.mail.mud.yahoo.com>
References: <20060807132355.41D625AF032@svr4.postgresql.org> <20060807135756.59980.qmail@web31810.mail.mud.yahoo.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox