Running ROS on multiple machines in a remote environment
Hello.
I'm suffering form problem described below. These are link of organized picture of problem.
I have two routers, one in the home and the other in the lab. Both routers have public ip.
laptop (Master) and desktop are connected to home router, and server is connected to lab router. I set DMZ to my laptop and server.
Laptop and desktop can communicate each other by ros topic. Laptop and server can communicate each other by ros topic. But, Desktop and server cannot communicate each other by ros topic. Topic only goes one direction. (server to desktop)
Settings of Laptop
Network router
DMZ for laptop local ip (Allow every port for Master)
/etc/hosts
Laptop_local_ip laptop
Desktop_local_ip desktop
Lab_public_ip server
~/.bash
ROS_MASTER_URI=http://laptop:11311
ROS_HOSTNAME=laptop
ROS_IP=laptop
Settings of Desktop
Network router
Nothing
/etc/hosts
Laptop_local_ip laptop
Desktop_local_ip desktop
Lab_public_ip server
~/.bash
ROS_MASTER_URI=http://laptop:11311
ROS_HOSTNAME=desktop
ROS_IP=desktop
Settings of Server
Network router
DMZ for server local ip
/etc/hosts
Server_local_ip server
Home_public_ip laptop
Home_public_ip desktop
~/.bash
ROS_MASTER_URI=http://laptop:11311
ROS_HOSTNAME=server
ROS_IP=server
Please help me. Thank you!
I have not read all, but why don't you just run a VPN on top of your network? Would me much easier then forwarding all ports in all directions on all hosts.
It works. Thank you!