-
Notifications
You must be signed in to change notification settings - Fork 150
Open
Description
sudo socat TUN:$TUNNEL_IP/16,iff-up UDP:$TO_NODE_IP:9000,bind=$NODE_IP:9000 & |
This command expects a UDP server to be running on the target node ($TO_NODE_IP) on port 9000. Otherwise, we get the following error:
$ sudo socat TUN:$TUNNEL_IP/16,iff-up UDP:$TO_NODE_IP:9000,bind=$NODE_IP:9000
2024/06/10 05:27:47 socat[4826] E read(7, 0x5e426d5e2000, 8192): Connection refused
I tried running a small UDP echo server on both nodes on port 9000 and slightly modified the socat command in setup.sh
to make it work-
$ sudo socat TUN:$TUNNEL_IP/16,iff-up UDP:$TO_NODE_IP:9000,bind=$NODE_IP:9001
Is there any misunderstanding? Shall I send a pull request?
Metadata
Metadata
Assignees
Labels
No labels