MatthewL246 / pretendo-docker

An unofficial Docker Compose setup for self-hosting a Pretendo Network server.
https://matthewl246.github.io/pretendo-docker/
GNU Affero General Public License v3.0
54 stars 9 forks source link

Can we make servers available outside the network? #123

Closed Gabriel-Chevallier closed 2 months ago

Gabriel-Chevallier commented 3 months ago

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.

MatthewL246 commented 3 months ago

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:

MatthewL246 commented 2 months ago

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.