Is it possible to use the postgis database with a VPN tunnel? The database tells me there is no connection possible.
I'm using VPN Tracker 365.
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.Sign up to join this community
That error message is coming from PostGIS (well Postgresql) and is saying that it "sees" you but that there is no entry in the pg_hba.conf file for the IP address you are coming from. You need to log on to (or ask your sysadmin) to edit the
pg_hba.conf file to add 172.20.10.2 to the list of acceptable hosts.
Another option (if your server supports SSH) is to use an SSH connection to the server with port forwarding set, then PostGIS thinks your local pgadmin (or whatever) is connecting from localhost and is therefore (more) trustworthy.