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

SSH Tunnels and ROS

asked 2011-09-09 10:04:15 -0500

Ibrahim gravatar image

updated 2011-09-12 20:05:46 -0500

kwc gravatar image

Hi,

Is there a way to tunnel ROS traffic over SSH, for example in cases where the ROS MASTER is not on the same network as another machine that I want to be able to connect to it. Thanks!

Edit: Never mind, I figured out how to use openvpn to achieve the same result from http://lists.willowgarage.com/pipermail/pr2-admins/2010-June/000055.html . But maybe this is useful for other people.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2011-09-09 12:57:56 -0500

Tully gravatar image

As you mentioned OpenVPN is the most common solution to this, and is what we use at Willow and on the PR2s.

edit flag offensive delete link more

Comments

That's what I had thought, but after figuring it out I'm still a little curious as to whether it's possible to do it via ssh tunnels or not. But I guess because ROS nodes use a lot of different ports it'd be hard to do.
Ibrahim gravatar image Ibrahim  ( 2011-09-09 12:59:26 -0500 )edit
ROS uses ports allocated to it by the system, so they're not known ahead of time which makes setting up the forwarding hard, unless you basically forward all ports.
tfoote gravatar image tfoote  ( 2011-09-10 06:09:44 -0500 )edit

Question Tools

Stats

Asked: 2011-09-09 10:04:15 -0500

Seen: 2,242 times

Last updated: Sep 09 '11