Replies: 1 comment 10 replies
-
There are two options, either the workers are on the same network (then they need to know the host ip/port to connect to), or they are on a separate network (then they need to know the ip/port of the remote end of the tunnel). The tunneling is "step 0", so it occurs before launching workers. It is active before because it launches the proxy, which in turn launches the workers. The tunnel and proxy will stay active because they forward worker traffic to/from the host (using two reverse tunnels, one for controlling the proxy and one for forwarding traffic). This is why, in the SSH.tmpl file, you can see: Lines 2 to 3 in 7812577 Workers behind a proxy (tunnel) need to connect to the |
Beta Was this translation helpful? Give feedback.
-
From #208 (comment) and https://mschubert.github.io/clustermq/articles/technicaldocs.html#worker-startup, I understand this part of the worker initialization process:
clustermq:::worker("IP_OF_LOCAL_PROCESS")
to connect back to the local R process.After that, how exactly does the tunneling and reverse tunneling work? I am not sure I understand mrc-ide/rrq#64 (comment):
For the tunneling that happens from the local machine to the remote machine, is that a step after (2)? I thought (2) involved a new SSH connection from the remote process to the local process.
Beta Was this translation helpful? Give feedback.
All reactions