Answer the question
In order to leave comments, you need to log in
How to set up PostgreSQL replication from a gray IP address?
It is not possible to set up PostgreSQL replication, where the master server has a "white" IP address, and the slave has a "gray" one (read "behind NAT's"). In general, it is clear that in 99% of cases this is not necessary, but I have exactly that case out of 1% ... Of course, Google could not answer, or I searched badly.
Answer the question
In order to leave comments, you need to log in
So set up an (open)VPN tunnel or ssh -N -f -L.... or in any other way out of a dozen possible, from localhost to localhost and never show anyone that postgre is hanging on the external interface. They throw bast shoes.
make the simplest ipigre tunnel
, it will restore itself if the connection
appears again
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question