Robotics StackExchange | Archived questions

[ROS2] Port Forwarding

Anyone know how I can setup port forwarding for ROS2. With the current WFH atmosphere, I'm trying to connect to a remote system over the cell modem. I'd like to be able to interact with it as if it was local. With ros1 I just needed to forward port 11311, but with ROS2, it's dynamic. I'm ok forwarding large sections, I just need to know what sections to forward. Anyone get this working yet?

Thanks!

Asked by stridera on 2020-03-26 13:55:07 UTC

Comments

I'm not sure how to do this and am interested in learning how. This might be a function of the dds implementation you're using, I would add that to the question.

Asked by johnconn on 2020-03-27 11:12:39 UTC

I'm just using the default one.

Asked by stridera on 2020-03-27 11:15:06 UTC

Have you got it working fully yet? I understand that you would have to do port-forwarding on the remote network. But how and where do you point to the public IP so that a Ros2 node can send messages to the remote network?

Asked by a.g on 2020-04-17 08:14:23 UTC

Answers