inexorgame-obsolete / deprecated-cube-engine-inexor

UNMAINTAINED: Please have a look at the vulkan-renderer
https://inexor.org
zlib License
11 stars 1 forks source link

Get rid of port forwarding #488

Open a-teammate opened 6 years ago

a-teammate commented 6 years ago

The casual player should be able to host a server for his clanmates just as an experienced server owner would want to do. (Currently you would need to have access to your router and be familiar with forwarding ports to your local PC when they arrive at the router)

I think this feature is mostly interesting for noobs and mappers in small groups. (the clanscene has their hq servers)

This could be possible by providing a STUN service (when we have the masterserver rolling). The masterserver could get contacted by these STUN servers, but they should be marked.

Fohlen commented 6 years ago

When we choose libp2p we could also help them built a NAT traversal for Node.js Unfortanly their GO library is not even ready at https://github.com/libp2p/go-libp2p-nat, so porting that to JS might take even longer.

Fohlen commented 6 years ago

Here is a good paper on port forwarding

http://www.bford.info/pub/net/p2pnat/index.html