Search Postgresql Archives

Re: Distinguishing between connections in pg_hba.conf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 16, 2005 at 03:31:27PM -0500,
 Scott Marlowe <smarlowe@xxxxxxxxxxxxxxxxx> wrote 
 a message of 48 lines which said:

> > but how do you assign it so that requests from apache appear on
> > the db box as one IP address, and requests coming through stunnel
> > appear as the second IP address?
> 
> That's kinda OS dependent.  On RedHat you should have some kind of
> netconfig command 

I do not think it was the question.

For stunnel, the solution is probably : 

       -I host
           IP of the outgoing interface is used as source for remote connections.
           Use this option to bind a static local IP address, instead.



---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux