ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

ros cell network

asked 2018-01-08 11:53:31 -0600


I'm using ROS on a robot with a netgear cell modem. The modem says it supports port forwarding but I have spent hours trying to get it to work to no avail. So instead I setup reverse ssh which works great but now I want to use RVIZ, and using it over SSH is too slow. Does anyone know how to do a 'reverse ros connection' that would establish an outbound connection to a server and allow tools like rviz, rostopic, and rqt to work from behind a firewall.

edit retag flag offensive close merge delete



Wouldn't a VPN make this much easier? That way your robot would be part of the same network as your PC, without any port-forwarding or other tricks needed.

I've always wanted to use tinc-vpn for something like this. Appears as a NIC to your OS, so should be easy with ROS.

gvdhoorn gravatar image gvdhoorn  ( 2018-01-08 12:38:21 -0600 )edit

Thank you. That's sounds like what I have been looking for. Also thanks for the tinc suggestion. I'll look into that.

shoemakerlevy9 gravatar image shoemakerlevy9  ( 2018-01-08 17:27:14 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-01-08 16:44:18 -0600

tfoote gravatar image

A VPN is the standard way to allow ROS to work on separate networks.

There's a good question and answer here:

edit flag offensive delete link more


Awesome, I'll look into that.

I also saw someone mention that ROS2 is going to have some features relating to this, but I couldn't find any details. Do you know anything about that?

shoemakerlevy9 gravatar image shoemakerlevy9  ( 2018-01-08 17:26:34 -0600 )edit

ROS2 will have more granular control of transport settings such as reliability and other QoS settings which will help in cases like this. But it will still need to be routable, which is much of what the VPN provides. There are other DDS specific solutions that may be available from vendors.

tfoote gravatar image tfoote  ( 2018-01-08 17:50:33 -0600 )edit

Okay, so I got a VPN working, the robot computer is now the client. But I also want access to the GPS which is on the same LAN as the robot computer. So I think what I want is a router level VPN. Ever set one of those up? or have suggestions of a good router to use when setting up a router level VPN

shoemakerlevy9 gravatar image shoemakerlevy9  ( 2018-01-09 13:35:41 -0600 )edit

You can likely setup your curren VPN endpoint to forward local network traffic through without separate hardware. It will take a little bit of adjustment of our network topology but the computer's VPN is fully capable of doing that.

tfoote gravatar image tfoote  ( 2018-01-09 13:55:21 -0600 )edit

Hot dog! that sounds like a good idea to me :) I was already redesigning the robot in my head to fit these large routers inside.

shoemakerlevy9 gravatar image shoemakerlevy9  ( 2018-01-09 14:15:53 -0600 )edit

Question Tools



Asked: 2018-01-08 11:53:31 -0600

Seen: 418 times

Last updated: Jan 08 '18