Ask Your Question
0

ROS Network thourgh firewall

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

Jep gravatar image

updated 2014-04-20 14:09:28 -0500

ngrennan 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 imageyizheng ( 2016-02-07 15:26:36 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

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

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

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

Seen: 1,223 times

Last updated: Sep 16 '12