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.


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 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.

| improve this answer | |
  • thank you! I will try this. sysadmin is me (without a clue :-P ) – kevkev Nov 30 '15 at 11:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.