Skip to content

Commit

Permalink
DIsable libp2p nat (#3761)
Browse files Browse the repository at this point in the history
  • Loading branch information
dapplion authored Feb 15, 2022
1 parent 178850e commit 2d4c9c2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/lodestar/src/network/nodejs/bundle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ export class NodejsNode extends LibP2p {
threshold: 10,
},
config: {
nat: {
// libp2p usage of nat-api is broken as shown in this issue. https://github.com/ChainSafe/lodestar/issues/2996
// Also, unnsolicited usage of UPnP is not great, and should be customizable with flags
enabled: false,
},
relay: {
enabled: false,
hop: {
Expand Down

0 comments on commit 2d4c9c2

Please sign in to comment.