diff --git a/CHANGELOG.md b/CHANGELOG.md index 930411c..09031dc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,12 @@ The following emojis are used to highlight certain changes: ### Security +## [v0.4.1] + +### Fixed + +- enabled NAT port map and Hole Punching to increase connectivity in non-public network topologies + ## [v0.4.0] ### Changed diff --git a/server.go b/server.go index 3b16511..be979f4 100644 --- a/server.go +++ b/server.go @@ -186,6 +186,10 @@ func newHost(cfg *config) (host.Host, error) { libp2p.UserAgent("someguy/"+buildVersion()), libp2p.ConnectionManager(cmgr), libp2p.ResourceManager(rcmgr), + libp2p.NATPortMap(), + libp2p.DefaultTransports, + libp2p.DefaultMuxers, + libp2p.EnableHolePunching(), ) if err != nil { return nil, err diff --git a/version.json b/version.json index 372b6ea..26a7d47 100644 --- a/version.json +++ b/version.json @@ -1,3 +1,3 @@ { - "version": "v0.4.0" + "version": "v0.4.1" }