Skip to content

tun device setup is failing #2

@rajesh1084

Description

@rajesh1084

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions