Replies: 3 comments
-
Hi @magladko , We have never tested routing data through an SSH tunnel, have you maybe tried with another application to verify it is not a setup issue? Best regards |
Beta Was this translation helpful? Give feedback.
-
Hi @juanlofer-eprosima, The situation is as follows, both machines are connected to a single VPN, but only the ssh port is available to establish communication (others are blocked by quite a complicated configuration of firewalls which I cannot change). So my only option of getting data sent between hosts is through port 22. Both hosts run up to date versions of ROS2 Humble and DDS-Router (not in containers) on Ubuntu 22.04. Best |
Beta Was this translation helpful? Give feedback.
-
Well just in case anyone would need it, I tried using the sshuttle and it work. Not entirely sure where the difference lies, yet unfortunately the connection I got was many seconds apart, only getting worse over time. |
Beta Was this translation helpful? Give feedback.
-
Hi all!
I am trying to run remotely ROS2 topics and have them visible among themselves.
I use vpn connection with a lot of firewall configuration that I cannot modify. Yet I have the ssh channel open and tunneling is possible there as I tested with netcat.
But I can't really make the routers to actually pass topic data between themselves, they just acknowledge their existence which I can see in wireshark. The dump for a single round of communication is here (the rest is almost identical):
Here I attach the config files:
My local machine:
Remote machine (acting as a server):
The ssh tunnel command that I use on my local machine is:
ssh -N -L 11666:localhost:11666 <user>@<remotehost>
Additional note: I managed to make the setup work on the localhost only, setting different domains in local participants, but I still have no idea on how to make this connection work through ssh.
Beta Was this translation helpful? Give feedback.
All reactions