Thread: Thru Proxy

Thru Proxy

From
"Uday"
Date:
How can I connect to a remote PG database from my office theu a proxy in my office.
 
Regards
-Uday

Re: Thru Proxy

From
"Dave Page"
Date:
Well on my system I would use ipfwadm to add a forwarding rule for the source/destination IP & port. Not knowing specifically about your system makes it difficult for me to make suggestions I'm afraid.
 
Regards, Dave.
-----Original Message-----
From: Uday [mailto:uday@accord.co.in]
Sent: 23 August 2002 12:17
To: pgadmin-support@postgresql.org
Subject: [pgadmin-support] Thru Proxy

How can I connect to a remote PG database from my office theu a proxy in my office.
 
Regards
-Uday

Re: Thru Proxy

From
"Thomas A. Lowery"
Date:
What we have to do is ssh into a machine at the office, then use a tunnel over
ssh to forward a port to the database.

Example:
ssh -L5432:dbmachine:5432 username@site.com

Then connect using:
psql -h localhost -p 5432 -d dbname -U username

Tom

On Fri, Aug 23, 2002 at 04:46:55PM +0530, Uday wrote:
> How can I connect to a remote PG database from my office theu a proxy in my office.
>
> Regards
> -Uday