Docker swarm across remote networks


I’ve recently been using Docker swarm to deploy containers across multiple host computers in a LAN. The combination of swarm and network overlay was necessary to allow the containers to communicate with each other properly. Now, I’m trying to deploy containers to multiple hosts on different internet networks. I made one of the remote nodes a swarm manager and managed to link to it by port forwarding the swarm ports on both computers. Now, the containers cannot find one of the host computers. Is there an alternative approach to dealing with remote networks without using clouds?