Skip to content

enable nat Traversal in p2p#30

Open
Liuhaai wants to merge 1 commit into
masterfrom
enableNat
Open

enable nat Traversal in p2p#30
Liuhaai wants to merge 1 commit into
masterfrom
enableNat

Conversation

@Liuhaai

@Liuhaai Liuhaai commented Apr 16, 2022

Copy link
Copy Markdown
Member

No description provided.

Comment thread p2p.go
discovery "github.com/libp2p/go-libp2p-discovery"
dht "github.com/libp2p/go-libp2p-kad-dht"
pubsub "github.com/libp2p/go-libp2p-pubsub"
secio "github.com/libp2p/go-libp2p-secio"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why these? b/c go fmt?

@Liuhaai Liuhaai Apr 22, 2022

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For example, secio is package name in github.com/libp2p/go-libp2p-secio

Comment thread p2p.go
ConnectTimeout: time.Minute,
MasterKey: "",
Relay: "disable",
Relay: "nat",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how's the test result? does it help connect to private IP?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to be tested

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants