Re: Firewalls and Postgres - Mailing list pgsql-general

From Tony Grant
Subject Re: Firewalls and Postgres
Date
Msg-id 1043878034.2496.30.camel@localhost
Whole thread Raw
In response to Re: Firewalls and Postgres  (Holger Klawitter <lists@klawitter.de>)
List pgsql-general
On Wed, 2003-01-29 at 10:47, Holger Klawitter wrote:

> > I can not figure yet how to do ssh port forwarding on it. Any tips
> > appreciated.
>
> No problems with that (at least with openssh), even through a firewall:
>
> ssh -l my-secret-key-file -n -N \
>     -L 15432:other.host.com:5432 \
>     other.host.com </dev/null
>
> psql -h localhost -p 15432 my_database
>
> However,you have to keep in mind that this connection ends up on
> other.host.com as a tcp/ip connection on 11.22.33.44, not on 127.0.0.1.
> Might need some tweaking in postgresl.conf and pg_hba.conf.

I thought it might be something like that. Not going to be easy with a
dynamic IP...

Thanks

Tony

--
www.tgds.net Library management software toolkit,
redhat linux on Sony Vaio C1XD,
Dreamweaver MX with Tomcat and PostgreSQL


pgsql-general by date:

Previous
From: Tony Grant
Date:
Subject: Re: Website troubles
Next
From: Tony Grant
Date:
Subject: Re: Firewalls and Postgres