thanks for the reply.

I had intended to use for the tunnel: autossh

in the configuration of postgresql:
allowed the ip of the vps, running the app


the ideas of restricting access only to 127.0.0.1
not thought of it.


My new question:
to making the tunnel, the connection to the db is done as if you were on 
127.0.0.1?

Reply via email to