Thread: TUNNEL RESOLVED

TUNNEL RESOLVED

From
"James M Doherty PGADMIN"
Date:
LeavesThe problem I was having with ssh tunneling was resolved by making the
following change to the port
forward scenario:


pg_hba.conf:


#TYPE  DATABASE     USER          IP-ADDRESS      IP-MASK             METHOD
local   all                             all
trust
host    all                             all            127.0.0.1
255.255.255.255          trust
host    all                             all           172.16.1.0
255.255.255.0              trust                 <<<---------Added


-L8887:172.16.1.17:5432      <<<----------Used the local private IP addres
in the port forward argument.

Without this I get the connection refused by host in the Putty log .


Jim