Has anyone successfully replicated a datbase through VPN using posgreSQL ?

I am being told it cannot be done but I can't imagine why!
\
\Thanks