![]() ![]() What you need is a good primer on how the Internet Protocol suite works. That approach has none of the problems of UPnP, and usually works even if the home router does not support UPnP (some don't support it some come with it default off some are intentionally disabled by people who don't want random programs re-configuring their firewall.) Second, what if two different machines within the network want to host the same game on the same port? The alternative is to use an introducer/match-maker server on the outside of the NAT, which can also do lobbying and game discovery/server lists. First, it's a bad idea to give random devices on your network control over how the firewall operates. Note that clients within your local network may not be forwarded, depending on whether your router does "hairpin" NAT or not.įourth, UPnP is a broken concept. Third, yes, the client should connect to the external IP and port configured. Second, yes, the server needs to listen to the port that you told the router to forward to (not from). ![]() This may be different - you might be running Apache locally on port 8080. Say, port 80 for a web server.Ģ) Which port should it forward to on the inside. No for the client: Does the client only have to connect (with RakNet) with the external ip of the server and again the same port? Or does he also need to open a port or something?įirst, there needs to be two ports, because you need to specify:ġ) Which port should your router open to the external world. ![]() Now as you can see I use the same port for external and internal port but I don't know why there are 2.?Īfter that I create the server (with RakNet), with again the same Port. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |