Page 1 of 1

Dedicated server with ngrok

Posted: 13 Apr 2020, 23:20
by ketrab
Hello,

I cannot enable port forwarding, because of my Internet provider.
Once I used sth called ngrok, to host my webpage without port forwarding.
https://ngrok.com/

Is it possible to run ManiaPlanet server on localhost and force other players
to send TCP requests to ngrok server and port, which will be redirected
to my localhost server? Has anybody done it ever?

I want to have situation like this:

Image

I'm not sure how to write settings for that configuration.
If I have the configuration like below, I get info:
> Error, this is not ManiaPlanet server.
Exactly... Because I haven't run MP server on localhost on that port.
How to do that?

Code: Select all

	<force_ip_address>3.125.223.134</force_ip_address>
	<server_port>13780</server_port>
	<server_p2p_port></server_p2p_port>
	<client_port></client_port>
	<bind_ip_address></bind_ip_address>
	<use_nat_upnp></use_nat_upnp>
Greetings,
ketrab

Re: Dedicated server with ngrok

Posted: 14 Apr 2020, 16:28
by undef.de
ketrab wrote: 13 Apr 2020, 23:20 I cannot enable port forwarding, because of my Internet provider.
Hmmm... well, your internet provider can't disable port forwarding on your internet connection, unless you didn't have access on your router.
ketrab wrote: 13 Apr 2020, 23:20 I'm not sure how to write settings for that configuration.
I'll bet you can't use ngrok services with a Maniaplanet dedicated server, because <force_ip_address>/<bind_ip_address> will let the dedicated server try to bind at that IP which isn't local and because of that it will fail (that's how I understand it).

Re: Dedicated server with ngrok

Posted: 14 Apr 2020, 20:11
by ketrab
Yep, I do not have an access to router settings.
Thank you for reply and information about impossibility.
If anyone claims it is possible, please let us know here.

Re: Dedicated server with ngrok

Posted: 15 Apr 2020, 08:15
by undef.de
Well... you could install a WLAN-Router after your Internet-Router and setup the port forwarding there, with that your Internet-Router just acts like a modem. Something like this: https://www.tp-link.com/en/home-network ... l-wr1043n/