1 (edited by tydatee 2019-06-11 23:18:05)

Topic: [Tutorial] Host a TeeWorlds server using UPnP!

You must have it enabled in your router.

How to do this:
1) Download this jar file.
2) Run it with java 11.
3) Try to connect to your router with the Connect button.
3.a) If it works, proceed to step 4.
3.b) If not, change the PortMapper Settings' UPnP Library to something else.
3.c) If it asks which router, pick the main one (i.e. the one in your wall).
4) Click Create by the Port mapping configs.
5) Type in a description (i.e. teeworlds server)
6) Click the Use local host box once, to remove it's check.
7) Set internal client to the IP of the server.
8) Click add twice.
9) Set one to UDP (click tcp and then udp).
10) Change both of the TCP ports to the port of your server.
11) Repeat 10 with the UDP ports.
12) Click save, then use.

Then, try googling "what's my ip", typing in that then ":" and the port, and connect!

Enjoy your server!

2

Re: [Tutorial] Host a TeeWorlds server using UPnP!

So you use a BitTorrent Client to do the forwarding? i'm mean thats cool. exceptionally if you don't use a router.

3

Re: [Tutorial] Host a TeeWorlds server using UPnP!

Bolto wrote:

So you use a BitTorrent Client to do the forwarding? i'm mean thats cool. exceptionally if you don't use a router.

Yep. Transmission does the work for me, no port forwarding needed!

4

Re: [Tutorial] Host a TeeWorlds server using UPnP!

Bolto wrote:

So you use a BitTorrent Client to do the forwarding? i'm mean thats cool. exceptionally if you don't use a router.

Sometimes you don't have admin access on your router

Not Luck, Just Magic.

5 (edited by Slayer *gV* 2019-06-11 16:40:09)

Re: [Tutorial] Host a TeeWorlds server using UPnP!

I am very puzzled about how this would work **technically**. Could you please elaborate on this? I couldn't find ANY information about this Transmission's functionality on the internet. Especially I can not think of any way how this work for IPv4.

6

Re: [Tutorial] Host a TeeWorlds server using UPnP!

Slayer *gV* wrote:

I am very puzzled about how this would work **technically**. Could you please elaborate on this? I couldn't find ANY information about this Transmission's functionality on the internet. Especially I can not think of any way how this work for IPv4.

So, it turns out that it STOPPED working, so I changed the thread title.

7

Re: [Tutorial] Host a TeeWorlds server using UPnP!

Your new tutorial still lacks some meta information:
  - what is happening
  - why is it working
  - pro
  - con
  - ...

Anyway, thanks for your work!

Imho forwarding the port via UPnP-IGD is not an ideal alternative. Basically, it will just configure the port forwarding at the router without having to use the router's interface.

That could introduce some new problems, e. g. that it is not quite obvious for the common user what is happening ("configurity through obscurity" :-) ).  E. g. your server might stop working the other day, when another housemate sets up another server running on the same port.

On the other hand, it will hardly solve any existing problem. You probably still need access to the router to enable UPnP for your host machine (e. g. when using FritzBox router).

8

Re: [Tutorial] Host a TeeWorlds server using UPnP!

what do you mean with repeat 10 with the udp ports?

9

Re: [Tutorial] Host a TeeWorlds server using UPnP!

Wdym with repeat 10 for udp ports