Dedicated server with ngrok

Moderator: NADEO

Post Reply
ketrab
Posts: 8
Joined: 07 Apr 2014, 07:53

Dedicated server with ngrok

Post 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
User avatar
undef.de
Posts: 2095
Joined: 06 Apr 2011, 21:57
Location: Germany, North Sea Coast
Contact:

Re: Dedicated server with ngrok

Post 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).
Developer of UASECO, a controller with support of the Modescript Gamemodes for TM².
Visit the official website for more: UASECO.org


Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name

You like what I do? Then award a ManiaStar.
ketrab
Posts: 8
Joined: 07 Apr 2014, 07:53

Re: Dedicated server with ngrok

Post 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.
User avatar
undef.de
Posts: 2095
Joined: 06 Apr 2011, 21:57
Location: Germany, North Sea Coast
Contact:

Re: Dedicated server with ngrok

Post 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/
Developer of UASECO, a controller with support of the Modescript Gamemodes for TM².
Visit the official website for more: UASECO.org


Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name

You like what I do? Then award a ManiaStar.
Post Reply

Return to “Dedicated Server”

Who is online

Users browsing this forum: No registered users and 1 guest