Hosting behind router

  • Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

gal-z

New Member
May 20, 2003
420
0
0
Ramat-Hasharon, Israel
Visit site
I tried forwarding 7777 and 7778 TCP and UDP, then saw that I also need 27900 UDP and forwarded that too. I created a server and checked the "advertise server" box, yet my friend couldn't join. My network is set to lan, I tried setting "webserver port no." to 7777 just in case, didn't work either that way nor at default (set to 80).
Anything else I need to do in order to host a game? My computer itself has no firewall or anything.
 

(SDS)benmcl

Why not visit us here in the real world.
May 13, 2002
1,897
0
0
Visit site
Last edited:

gal-z

New Member
May 20, 2003
420
0
0
Ramat-Hasharon, Israel
Visit site
No... I got a ROUTER, and I connect to it with telnet and type in some commands that tell it to forward specific ports to my comp. I used to be unable to host games on Warcraft 3. I forwarded the port listed in the game options to my computer, and VOILA! I can host games now.
Forwarding the ports listed above didn't work for inf though. Didn't try UT, but it's porbably the same. My friend gets "connecting" forever when he tries to join, while on other servers (that work) it takes less than a few seconds.
 

(SDS)benmcl

Why not visit us here in the real world.
May 13, 2002
1,897
0
0
Visit site
Does this help? This is what I was looking for in my earlier post.

What OS is running for your server?

From the Admin Page.

The ports that UT uses are :
UDP 7775 and 7776 are used only for LAN games. You don't need to route them
through a firewall.
UDP 7777 is for gameplay.
UDP 7778 is for server querying.
UDP 7779+ are allocated dynamically for each helper UdpLink objects,
including UdpServerUplink objects.
UDP 27900 is for server querying, if you enable the master server
uplink. Some master servers use other ports,
like 27500.
TCP 80 or 8888 or whatever listenport number you use for your Remote Admin Webserver.

UT dynamically allocates 2 ports DIRECTLY after the port you specify in your
UT.ini . So... If you use the default 7777, then it would allocate 7778 to
UdpServerQuery and 7779 to UdpServerUplink. If you specified your server
port to be 7779, then it would allocate 7780 to UdpServerQuery and 7781 to
UdpServerUplink.

If your firewall is blocking outgoing UDP packets, you will need to open up
all those. If it just blocks incoming UDP packets, you shouldn't need to
open any for the server to function.

Edit: Ok here is some stuff from another site. I think the TCP is the only difference.

Unreal Tournament Server
IN UDP 7777 (default gameplay port)
IN UDP 7778 (server query port
IN UDP 7779+
Note: UDP 7779+ are allocated dynamically for each helper UdpLink objects, including UdpServerUplink objects. Try starting with 7779-7781 and add ports if needed.
IN UDP 27900 (Server query, if master server uplink is enabled. Some master servers use other ports, like 27500)
IN TCP 8080
Note: Port 8080 is for UT Server Admin. In the [UWeb.WebServer] section of the server.ini file, set the ListenPort to 8080 (to match the mapped port above) and ServerName to the IP assigned to the router from your ISP.

There is some usful stuff here. UT & UT2003 Firewall Setup. Yes its from Game Spy but the info looks good.

Other Links Port Settings for Special Applications

The Admin Port Forwarding
 
Last edited:

Aegis

More INF, less chit chat
Dec 29, 2002
37
0
0
Herndon, VA
Visit site
I had to open up ports 7777-7779 on my routers firewall to get ppl to be able to connect/play.

If your DSL is using dynamic IP, you may want to have him try the ip directly, sometimes it takes awhile to show up on the server lists...

-A
 

gal-z

New Member
May 20, 2003
420
0
0
Ramat-Hasharon, Israel
Visit site
I forwarded 7777-9 UDP and 27900 UDP to my internal IP. My friend could see my game on the server list, but got a "connecting" message and couldn't join (that message usually only shows for a few seconds at max).
He could join other servers, so even though he also uses LAN, the problem isn't on his side.
BTW I could join games without forwarding any ports.
Anything else I missed?!
I WANT TO PLAY INF! :(
 

gal-z

New Member
May 20, 2003
420
0
0
Ramat-Hasharon, Israel
Visit site
I can probably try that, though I'll have to look for something/someone to find out how.
Will it change how other computers on the network act? As in, will my brother still be able to host WC3 games (he can now)?
 

Exar

INForcer
Nov 7, 2001
103
0
0
The Netherlands
www.inforcers.net
gal-z said:
I can probably try that, though I'll have to look for something/someone to find out how.
Will it change how other computers on the network act? As in, will my brother still be able to host WC3 games (he can now)?
If he doesn't use DMZ now, then it won't change anything.....
Only problem is only 1 person can be in DMZ mode at any given time (well at least thats the case on my router), so if he needs DMZ, then you guys have to change the DMZ computer everytime you need it to yours... :)
 

gal-z

New Member
May 20, 2003
420
0
0
Ramat-Hasharon, Israel
Visit site
I the following commands:
nat defserver addr <my internal IP here>
nat save
Then my friend could join! But stupid windows gave me a wierd message saying the computer will restart in 60 seconds, and it did. Same thing happened when I ran inf again.
Then I canceled the command by doing:
nat defserver addr 0
nat save
Then I didn't have the stupid windows problem, but my friend could still join! I have no idea what did that. Maybe I did forward all the ports right, but it didn't work until my modem/router was restarted?
Anyway, now I can make games, yet some guy who joined me and my friend got a nasty ping of 7000 :( (my friend had 80).