Announcement

Collapse
No announcement yet.

Running a server behind a NAT router (Windows)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Running a server behind a NAT router (Windows)

    I managed to successfully host an UT3 server behind a router on a windows machine. Ofcourse port forwarding has to be setup correctly.

    I found a workaround for the problem that the server is sending the internal ip to the server list. You have to make sure that your external ip address is provided with a DNS name (although supplying an ip address in the regeditor instead of a DNS name might also work). Then you have to change the server's hostname using regedit. Go to:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Tcpip\Parameters

    And change the values of "Hostname" and "NV Hostname" to the DNS name of the external ip address (e.g. myserver.com). (Perhaps either one of those is enough; I didn't test that).

    That should do the trick. Have fun!

    #2
    Next time explain better. I understood most of it but wtf is the "DNS name of the external ip address"?!?

    Still, we shouldn't have to do that much messing-around to make out server work. There will be very few people online if Epic isn't inteligent enough to fix this before releasing the game. Usualy for any game, port forwarding is enough to make it work (-_-).

    Comment


      #3
      Originally posted by sappie123 View Post
      I found a workaround for the problem that the server is sending the internal ip to the server list.
      I am looking at what the GameSPy server browser is providing - 400 or so servers, THERE IS NOT A SINGLE ONE using IP address from the private block (internal addresses).

      Where do you guys are getting these ideas is a mystery to me.

      I am not sure what is the most common problem with UT3 server behind NAT, but trust me, the server is not registering with its internal IP address.

      Comment


        #4
        Originally posted by L'enculeur View Post
        Next time explain better. I understood most of it but wtf is the "DNS name of the external ip address"?!?
        Your router (connected directly to the internet) will be provided with the "external" ip address. That ip address should be bound to a domain name.
        Still, we shouldn't have to do that much messing-around to make out server work. There will be very few people online if Epic isn't inteligent enough to fix this before releasing the game. Usualy for any game, port forwarding is enough to make it work (-_-).
        I may hope that for the final release this workaround is not neccesary anymore; this workaround is thus for the beta demo only. (that's why we're in the "Beta Demo Feedback" subforum)
        Originally posted by devnulll View Post
        I am looking at what the GameSPy server browser is providing - 400 or so servers, THERE IS NOT A SINGLE ONE using IP address from the private block (internal addresses).

        Where do you guys are getting these ideas is a mystery to me.

        I am not sure what is the most common problem with UT3 server behind NAT, but trust me, the server is not registering with its internal IP address.
        Well this does seem to be the most common problem actually (I don't know why you guys are getting the idea that that's not the case ). Check for example here or here ...

        When I don't use this workaround the launch.log for the server reads:

        I am <hostname> (<Internal ip address>:0)

        When i do use it, the log reads:

        I am <hostname> (<External ip address>:0)

        Comment


          #5
          What is in the log should be the internal IP address of the server. It the router's job to translate that to the correct one to the outside world.

          I think the whole thing started from the sticky about the server installation:
          joeGraf Quote:
          "browser, but noone seems to be able to connect to it."
          That's because your advertising an internal IP address, which is not directly addressable by the outside world. You need to publish the server on an external ip address.
          I think the above statement is wrong and I can prove it. The list bellow is the full list with UT3 demo servers at the moment. Would you please show me where are the servers advertising their INTERNAL IP ADDRESS (blocks 192.168.x.x 10.x.x.x and 172.16.x.x link)

          Resolving master.gamespy.com ... 207.38.11.34:28900
          -----------------------
          12.219.169.75 2524
          121.93.45.216 1029
          122.102.7.33 3531
          122.102.7.33 3530
          122.102.7.33 2340
          125.254.30.142 4775
          134.82.37.115 3458
          141.30.218.54 2052
          142.46.207.218 2569
          144.140.154.129 1069
          144.140.154.129 1089
          144.140.154.129 1080
          165.123.191.134 32857
          166.70.135.171 47651
          190.72.47.39 3878
          193.138.206.100 3362
          193.34.68.125 34138
          193.34.68.129 33295
          193.34.68.243 2648
          193.71.196.35 39461
          193.84.20.131 55628
          194.116.82.3 60973
          194.116.82.5 60227
          194.9.58.72 33832
          195.13.62.45 33005
          195.149.21.188 1946
          195.149.21.217 1863
          195.149.21.217 1349
          195.149.21.217 1692
          195.149.21.217 1819
          195.214.251.194 4544
          195.242.236.37 2364
          195.242.236.37 2374
          195.242.236.37 2369
          195.242.236.37 2379
          195.242.236.37 2384
          195.242.236.37 2396
          195.242.236.37 2391
          195.245.9.170 1494
          195.250.34.34 3178
          195.66.83.240 44060
          195.66.83.250 39194
          195.70.93.16 23168
          196.4.79.64 1055
          196.4.79.8 1051
          203.116.28.25 33782
          203.13.37.40 4178
          203.13.37.48 4635
          203.145.58.19 34959
          203.145.58.26 34417
          203.26.94.41 3572
          203.26.94.41 2673
          203.26.94.41 2980
          203.26.94.41 3588
          203.34.186.16 38638
          203.34.186.17 38868
          205.134.191.4 1107
          205.134.191.5 1039
          205.134.233.2 1626
          205.234.153.66 1362
          205.234.153.66 1350
          206.212.241.26 2284
          206.83.242.242 32902
          208.109.237.21 58549
          208.122.56.10 34866
          208.68.174.40 47455
          209.190.24.34 2483
          209.51.200.250 2555
          209.51.200.250 1780
          210.131.245.229 3765
          210.131.245.229 3896
          210.14.110.16 51196
          212.112.232.73 33793
          212.116.37.94 53660
          212.144.253.93 32979
          212.200.115.2 3659
          212.26.140.48 1224
          212.26.140.48 1207
          212.66.110.57 36372
          212.66.110.57 36371
          212.66.110.57 36370
          212.69.36.85 4779
          212.69.36.85 4757
          212.72.175.58 32895
          213.114.104.240 1045
          213.114.104.240 1034
          213.114.104.240 1039
          213.114.104.240 1050
          213.133.99.163 33123
          213.160.2.190 1046
          213.160.2.190 1040
          213.160.2.190 1035
          213.160.2.190 1051
          213.189.89.7 32792
          213.208.119.97 3880
          213.208.119.97 4040
          213.8.154.126 36844
          216.240.133.68 3241
          216.246.108.50 1084
          216.246.108.50 1082
          216.246.108.50 2237
          216.246.108.50 2225
          216.246.108.50 2299
          216.246.108.50 2290
          216.246.108.50 2339
          216.246.108.50 2319
          216.52.178.82 2581
          216.52.178.82 2140
          216.52.178.82 2768
          216.52.178.82 1218
          216.52.178.82 3995
          216.81.36.13 38533
          216.83.137.88 1093
          216.98.148.20 34327
          217.146.154.205 1036
          217.146.154.205 1031
          217.146.154.205 1046
          217.146.154.205 1041
          217.146.154.205 1051
          217.159.171.155 1559
          217.199.122.51 1190
          217.77.133.70 15692
          219.121.56.159 15438
          24.169.225.182 32785
          24.169.225.183 32872
          24.255.216.67 4422
          38.101.79.96 1033
          38.105.80.42 33179
          38.115.135.121 1742
          58.121.172.207 64771
          58.6.56.26 51007
          62.141.50.138 1671
          62.141.50.138 1551
          62.16.9.29 63928
          62.24.64.67 60123
          62.4.74.194 2669
          62.4.74.194 3169
          62.4.74.194 3992
          62.4.74.194 3667
          62.4.74.194 3621
          62.4.74.194 3546
          62.75.202.129 57724
          63.113.60.2 3073
          63.113.60.2 3068
          64.27.11.18 4138
          64.27.11.18 4464
          64.27.11.18 3253
          64.27.11.18 3760
          64.27.13.29 1114
          64.27.13.29 2589
          64.34.47.100 2823
          64.37.73.194 1959
          64.37.73.194 1950
          64.37.73.194 1954
          64.37.73.194 1944
          64.69.40.98 3525
          64.69.40.98 2447
          64.69.77.148 3651
          64.94.100.20 38986
          65.175.119.197 2602
          65.23.129.29 1057
          65.99.193.2 2293
          65.99.193.2 2302
          65.99.246.210 1052
          65.99.246.210 1053
          66.135.48.54 2299
          66.148.71.12 1457
          66.211.16.167 1069
          66.225.31.82 32771
          66.225.31.82 32772
          66.225.31.82 32769
          66.225.31.82 32770
          66.230.72.250 1202
          67.159.5.169 1220
          67.159.5.169 1227
          67.19.202.226 2442
          67.19.202.226 1610
          67.19.248.138 1392
          67.84.147.122 33389
          68.44.34.220 1516
          68.44.34.220 1526
          68.44.34.220 1667
          68.78.143.171 3218
          69.136.13.61 52550
          69.28.220.155 4598
          69.28.220.80 1040
          69.28.220.80 1050
          69.28.220.80 1059
          69.65.20.150 1525
          70.159.97.27 1615
          70.159.97.27 1610
          70.159.97.27 1640
          70.159.97.28 1621
          70.159.97.28 1583
          70.159.97.30 4208
          70.159.97.30 4218
          70.159.97.30 4306
          70.61.50.48 32957
          71.115.194.197 32985
          71.224.104.38 50077
          71.6.194.189 54943
          71.83.35.78 2514
          71.91.7.35 3219
          72.18.246.220 1037
          72.249.51.11 4825
          72.29.117.194 1099
          72.51.60.51 4995
          72.51.60.51 3213
          72.51.60.51 4062
          74.52.126.194 2701
          74.53.115.90 32779
          74.53.173.178 1417
          74.53.96.18 59432
          74.54.72.146 3719
          74.63.64.12 3544
          74.63.64.12 3668
          74.63.64.12 3636
          74.63.64.12 2759
          74.63.64.12 4761
          74.86.143.26 4094
          74.86.143.26 3176
          74.86.143.26 3169
          74.86.166.98 33213
          74.86.80.106 1059
          75.126.150.42 34776
          75.183.55.253 60014
          77.237.241.20 34076
          8.2.121.182 59889
          80.248.215.45 32829
          80.70.176.232 33017
          80.81.242.4 2426
          80.81.242.4 2811
          80.86.85.67 32771
          81.169.179.75 2403
          81.19.219.125 3863
          81.19.219.125 1830
          81.217.4.163 32770
          81.3.59.135 1244
          81.3.59.235 1255
          81.57.233.16 1985
          82.139.88.10 4056
          82.139.88.10 4868
          82.192.78.45 34263
          82.94.217.194 1589
          82.94.228.180 33055
          82.94.228.90 33360
          82.96.64.40 3274
          83.142.28.138 2750
          83.142.28.138 3840
          83.142.28.138 3582
          83.170.86.129 2852
          83.170.86.129 1501
          83.170.86.129 2901
          83.177.29.132 1538
          83.96.144.160 32811
          83.96.144.170 3159
          83.98.163.84 32772
          84.12.89.140 1567
          84.12.89.140 1814
          84.16.252.57 37525
          84.185.123.103 33912
          84.233.233.32 32770
          84.244.131.163 53094
          84.244.182.240 1479
          84.52.230.123 1588
          85.105.178.144 32769
          85.115.164.2 1339
          85.131.132.121 32769
          85.14.219.51 3844
          85.17.157.23 4602
          85.17.177.2 4885
          85.17.177.2 4894
          85.176.246.160 1131
          85.177.171.224 1032
          85.223.49.52 3961
          85.234.155.252 34264
          85.234.155.252 34291
          85.236.100.212 3181
          85.236.100.212 3679
          85.236.100.212 2619
          85.236.100.212 4174
          85.236.100.212 2637
          85.236.100.212 3125
          85.236.100.212 2490
          85.236.100.213 3062
          85.236.100.213 4236
          85.236.100.213 3370
          85.236.100.213 1057
          85.236.100.213 1873
          85.236.100.213 2027
          85.236.100.213 1542
          85.236.100.214 4023
          85.236.100.214 4267
          85.236.100.214 2909
          85.236.100.214 3564
          85.236.100.214 1093
          85.236.100.214 1568
          85.236.100.214 3862
          85.236.100.217 2254
          85.236.100.217 2218
          85.236.100.217 3036
          85.236.100.217 3961
          85.236.100.217 2884
          85.236.100.217 4242
          85.236.100.217 4715
          85.236.100.219 2081
          85.236.100.219 3812
          85.236.100.219 2254
          85.236.100.219 2607
          85.236.100.219 3610
          85.236.100.219 3451
          85.236.100.220 3574
          85.236.100.220 2953
          85.236.100.220 2789
          85.236.100.220 2862
          85.236.100.220 2453
          85.236.100.220 1998
          85.236.100.221 4919
          85.236.100.221 4374
          85.236.100.221 4316
          85.236.100.221 3582
          85.236.100.221 4350
          85.236.100.221 3051
          85.236.100.222 2330
          85.236.100.222 4858
          85.236.100.222 3256
          85.236.100.222 1411
          85.236.100.222 1572
          85.236.100.222 3070
          85.236.100.224 3649
          85.236.100.224 4556
          85.236.100.224 3737
          85.236.100.224 1814
          85.236.100.224 1355
          85.236.100.224 3069
          85.236.100.225 3413
          85.236.100.225 3442
          85.236.100.225 4689
          85.236.100.225 3792
          85.236.100.225 4085
          85.236.100.225 1430
          85.236.100.226 2621
          85.236.100.226 1927
          85.236.100.226 1601
          85.236.100.226 4767
          85.236.100.226 4341
          85.236.100.226 1377
          85.236.100.227 2858
          85.236.100.227 1884
          85.236.100.227 4843
          85.236.100.227 3729
          85.236.100.227 4198
          85.236.100.227 4565
          85.236.100.230 1286
          85.236.100.230 3323
          85.236.100.230 3894
          85.236.100.230 1236
          85.236.100.230 3041
          85.236.100.230 3246
          85.236.100.231 2236
          85.236.100.231 2436
          85.236.100.231 4981
          85.236.100.231 3879
          85.236.100.231 1567
          85.236.100.231 1150
          85.236.100.232 1421
          85.236.100.232 4764
          85.236.100.232 2554
          85.236.100.232 2126
          85.236.100.232 3793
          85.236.101.131 2678
          85.236.101.131 3033
          85.236.101.92 2870
          85.236.101.92 4647
          85.236.101.92 3496
          85.236.101.99 2510
          85.25.145.80 35530
          85.25.20.179 34482
          87.106.92.179 3102
          87.127.68.14 32788
          87.230.34.51 40531
          87.238.170.60 33723
          87.238.170.60 33724
          87.239.10.35 1041
          87.245.62.149 49343
          87.79.64.23 1316
          88.149.151.196 1031
          88.149.151.196 1036
          88.159.80.75 1512
          88.191.47.249 33062
          89.109.8.34 1338
          89.149.207.115 1045
          89.21.11.18 1223
          89.234.99.7 3919
          89.3.49.236 49320
          90.5.67.224 1833
          91.121.80.109 39088
          91.121.90.162 32802
          91.191.242.122 1605
          99.230.23.227 4421

          400 servers found

          Comment


            #6
            Originally posted by devnulll View Post
            I think the above statement is wrong and I can prove it. The list bellow is the full list with UT3 demo servers at the moment. Would you please show me where are the servers advertising their INTERNAL IP ADDRESS (blocks 192.168.x.x 10.x.x.x and 172.16.x.x )
            Maybe the master browser filters private ips from the list?

            Comment


              #7
              Originally posted by Str1der View Post
              Maybe the master browser filters private ips from the list?
              Riiiight.... and how do you see them in the server browser then - when you try to connect but you can't?

              Comment


                #8
                Originally posted by devnulll View Post
                Riiiight.... and how do you see them in the server browser then - when you try to connect but you can't?
                It dosen't matter. Of course this will be fixed in the final release as they have stated.

                Comment


                  #9
                  Actually what I am trying to prove is that there is nothing to fix. Everything works as it should be, just the router (NAT) device has to be configured properly.

                  So, do not expect it to be 'fixed' as they can not. There is nothing to fix.

                  The only thing they can change is to make the UT3 Server Query port static. As you can see from the server list above, it is dynamic at the moment.

                  Comment


                    #10
                    Sorry for my ignorance, but is this a fix for a listen server or a dedicated server?

                    Due to my router, people have been unable to connect to my listen server (I properly forwarded port 7777).

                    I have not tried setting up a dedicated server as of yet, but I was under the impression that people would be able to connect, since the problem seemed to be with listen servers.

                    Comment


                      #11
                      Originally posted by devnulll View Post
                      Actually what I am trying to prove is that there is nothing to fix. Everything works as it should be, just the router (NAT) device has to be configured properly.

                      So, do not expect it to be 'fixed' as they can not. There is nothing to fix.

                      The only thing they can change is to make the UT3 Server Query port static. As you can see from the server list above, it is dynamic at the moment.
                      Bullsh*t, as I did forward the port just like any other game but ONLY UT2004 and UT3 doesn't work with my Router so the problem isn't me but Epic with their **** that need to be fixed...

                      Comment


                        #12
                        Well all I can say if your behind a router you in deep do do. I have tried 3 different routers. I even bought a brand new linksys and it still did not work then I called linksys and was on the phone with them for hour and a half and still did not work. Even setup a static ip still did not work with the ports foward to 7777 both UDP and TCP. Even Turned Off my firewall. Still did not work. So just for SH!TS and GIGGLES I took off the router and guess what IT WORKED!! Now there is no way in hell somebody going to convience me that the router problems are at my end that for **** sure!!!

                        Comment


                          #13
                          OK I will try it myself - most likely Monday. I have one Linksys router and will see what is so hard about getting it work with UT3.

                          Comment


                            #14
                            Ya there's just no f*cking way to run a server behind a NAT, no matter what you try to do. Since so many person have a router and also don't want to pay for a dedicated server, it would be a shame if Epic release the game with this thing not fixed.

                            Comment


                              #15
                              I did it yesterday!! I was sure i had the solution... Afther i played co-op with a m8 for like 3 hours.. he had to reboot..after that, he could still just connect! I was not sure what did it..but what we did: We both installed the beta-patch. I opened all ports, but i still got the error that i couldnt host (new feature from the patch), so I (the host) enabled DMZ and i hosted a game as a LAN!!! game.. My m8 also forwarded 7777, while he wasnt a host.. Then he could join @ the console!!!

                              But now, a day later.. it wont work anymore.. we didnt change anything!! I hope you guys can do something with this info... Because we dont hear anything from Epic :S:S

                              Comment

                              Working...
                              X