Re: Proxy Server ... - Mailing list pgsql-general

From Bill Moran
Subject Re: Proxy Server ...
Date
Msg-id 3D17D9C7.4030801@potentialtech.com
Whole thread Raw
In response to Proxy Server ...  ("Marc G. Fournier" <scrappy@hub.org>)
List pgsql-general
Marc G. Fournier wrote:
> does anyone know of a proxy server that i can run on a server to "pretend"
> its a postgresql server?  so that I can connect to IP:port and have it
> establish a connection to IP:5432?
>
> Basically, I have a domain running in a FreeBSD jail, with a database
> server behind it ... the database server isn't accessible from the
> Internet, only from the local network ... so I need to run a proxy server
> in the jail that will accept connections, thru it, to the database server
> ...
>
> I need it to work for JDBC connections as well as ODBC (pgAdminII) ...
> which I don't think is any different, but figured i'd mention it "just in
> case" ...
>
> I've looked at SSLProxy (JDBC Proxy server), but its SSL only, which makes
> pgAdminII a problem :(

You can use FreeBSD's IPFW to "forward" the port.
See the man pages.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com




pgsql-general by date:

Previous
From: "Marc G. Fournier"
Date:
Subject: Re: Proxy Server ...
Next
From: Gordon Luk
Date:
Subject: [Please Help!!!!!!!!] Problem in Chinese (Big5)!!! Version 7.2.1 (come with Redhat 7.3)