Question:
There are 2 debian servers available:
- A regular server that can be accessed from anywhere in the world.
- Local server that can connect to server # 1.
How to send data from server # 2 to the Internet without "bicycles", at least just via rsync.
If it is not clear, then here is the scheme: Internet <-> # 1 <-> # 2
Answer:
In fact, there are many methods, here already masquerading or NAT suggested. You can put a proxy on the border, for example, "socks" socks
http://www.stokebloke.com/wordpress/2008/12/17/ssh-and-rsync-through-a-socks-proxy/