pretendo-docker icon indicating copy to clipboard operation
pretendo-docker copied to clipboard

Can we make servers available outside the network?

Open Gabriel-Chevallier opened this issue 1 year ago • 1 comments

I tried to open the ports of my network to redirect port 8080 and 8081, when a Wii U tries to connect with Inkay by entering my public ip as host and port 8080, I can't see any request on mitmproxy. I would like to point out that everything works very well on the local network.

So I'm wondering if it's possible to host servers that can be connected outside the local network.

Gabriel-Chevallier avatar Aug 19 '24 19:08 Gabriel-Chevallier

It's definitely possible, but you need to modify the mitmproxy configuration to make it work. Connecting from outside your local network is disabled by default, as exposing an open proxy to the internet can be dangerous. I made a comment in another issue explaining how to do this and add proxy authentication for safety reasons.

Since you didn't mention it in your comment, I'll also add that you need to add the following port forwarding rules on your router:

  • TCP port 8080 for mitmproxy
  • Every one of the UDP ports for the game servers (such as 6000 and 6001 for Friends)
    • Check compose.yml to see all of the ports for the games, making sure to forward the authentication and secure server ports.
    • You can ignore the Go debugger ports, which don't need to be forwarded.

MatthewL246 avatar Aug 19 '24 19:08 MatthewL246

I'm going to assume this is solved due to the lack of updates. Feel free to reopen this if you're still having issues.

MatthewL246 avatar Sep 05 '24 17:09 MatthewL246