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

ROS Network through firewall

asked 2012-09-16 05:03:46 -0600

Jep gravatar image

updated 2020-11-20 16:40:20 -0600

lucasw gravatar image

Hi there,

I have to say I'm a newbie working with networks. I have the following problem:

  • I have a remote machine where my roscore and some other nodes are running.

  • I need to run the nodes in my laptop with that machine as ROS master but there is a firewall between them.

  • I can connect to a server (in the same network as the remote machine) and from that server to the remote machine. So I can skip the firewall...

So, how can I stablish the connection between the two machines?

Somebody told me that I can use ssh -L to make a tunnel for a specific port, but not for all... And this ROS tutorial http://www.ros.org/wiki/ROS/NetworkSetup is talking about OpenVPN that I don't have idea how to use it...

Thanks in advance,

Josep

edit retag flag offensive close merge delete

Comments

Hi Josep, I have a similar problem as you did, can you tell me how to solve it ? I've followed the how to page on openvpn site, but I get tls handshake error when I try to connect the server from the client. This is my post http://answers.ros.org/question/22599...

Thx

yizheng gravatar image yizheng  ( 2016-02-07 15:26:36 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2012-09-16 05:16:08 -0600

As the NetworkSetup wiki page says, if you're behind a firewall, the best solution is to use a VPN. OpenVPN's HOWTO page should help get you started.

If the firewall is provided by something like a home router, you could also set the DMZ host to the IP address of the computer you want to be able to access.

Since ROS uses lots of arbitrary ports, ssh tunneling is not a realistic solution.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-09-16 05:03:46 -0600

Seen: 2,820 times

Last updated: Nov 20 '20