i am trying to configure my dispynode network using a public server (with a reachable IP address) where i can expose any port i want with a(or more) node under a NAT (unreachable directly).
The schema is this:
i would to do this:
I read this topic from dispy official Documentation:
https://dispy.org/examples.html#port-fo ... g-with-ssh
and my configuratio is exactly the opposite.
I try, from node behind NAT to use:
Code: Select all
ssh -L 9700:localhost:9700 <remote client ip>
Code: Select all
dispynode.py -i <remote client ip>
Could it work with an SSh port forwarding tunnel from client to nodes? In case wich ports are to forward?Traceback (most recent call last):
File "/usr/local/bin/dispynode.py", line 2217, in service_schedule
yield self.broadcast_ping_msg(task=task)
File "/usr/local/lib/python3.7/dist-packages/pycos/__init__.py", line 3688, in _schedule
retval = task._generator.send(task._value)
File "/usr/local/bin/dispynode.py", line 887, in broadcast_ping_msg
sock.bind((addrinfo.ip, 0))
OSError: [Errno 99] Cannot assign requested address
Is there a configuration for manage fort forwarding and correct dispy communication in this schenario?
So many many thanks in advance