Replies: 1 comment 4 replies
-
Hi @deeptuuk, Circuit relay v1 For the v1 relay protocol you can follow https://github.com/libp2p/rust-libp2p/blob/master/protocols/relay/examples/relay.rs for both dialing client, listening client and relay server. Circuit relay v2 The v2 implementation is not yet merged (#2059). Still you can use https://github.com/mxinden/rust-libp2p-server/ as a server and https://github.com/libp2p/rust-libp2p/blob/b26d89f6982725cf60a0d8adfe3284c218725839/protocols/dcutr/examples/client.rs as a dialing client and as a listening client. Let us know if the above helps ;) |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hello
i want to setup a relay node , but i don't know how to do it,
Does anybody give me some suggestion,thank you
there is three node A,B,C
A and C under the NAT, B has public IP, A want dial C directly.
I browser the rust doc libp2p about relay section, but i get stuck with it!
Please help me, thank you !
here is my code
Beta Was this translation helpful? Give feedback.
All reactions