Configuring a Proxy Connection

You can configure the connector to connect to PostgreSQL through a proxy server, so that communications between the connector and your PostgreSQL data source are passed through the proxy server.

You can set the connection properties described below in a connection string or in a DSN (in the odbc.ini file). Settings in the connection string take precedence over settings in the DSN.

To configure a proxy connection:

  1. Set the ProxyHost property to the host name or IP address of the proxy server.
  2. Set the ProxyPort property the number of the TCP port that the proxy server uses to listen for client connections.
  3. If the proxy server requires authentication, then do the following:
    1. Set the ProxyUid property to your user name for accessing the proxy server.
    2. Set the ProxyPwd property to the password corresponding to the user name.
  • Additional Driver Configuration Options on page 1
  • Configuring the Driver on page 1