|
||
|
|||||||
| Server Support on Windows Get (and give) support on general questions related to the RunUO server itself. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Join Date: Jul 2003
Posts: 19
|
OK. I tried to make a shard ages ago only to find to my dismay that I could not host it due to my netgear router. I forward the port. I have tried everything. It works without the router but I cannot remove the router. So what can I do? I can't find the FAQ either. But I did find it before and im sure it didn't work. I have tried other servers like POL and Sphere but they don't work either. So could someone please post some help to me or the link.
|
|
|
|
|
#2 (permalink) |
|
Moderate
Join Date: Nov 2002
Location: USA
Posts: 6,598
|
Netgear routers have an issue with connecting to the external address from the LAN side. You can open the port (TCP 2593) to your RunUO server but you cannot connect to it in exactly the same fashon as your clients. What you will need to do is edit your ServerList.cs file to provide two entry points for your server. One will work for Internet users and one will work for LAN users. I do not have the details at my fingertips, but try doing a search on ServerList and Netgear. Or maybe some of our users that have overcome this issue may jump in....?
Good luck!
__________________
David Forum Moderator The RunUO.com Forum Moderator Team Forum Rules and Guidelines RunUO Forum Search Engine Download RunUO 2.0 RC2 |
|
|
|
|
#3 (permalink) | |
|
Account Terminated
|
Quote:
|
|
|
|
|
|
#5 (permalink) | |
|
Account Terminated
|
Quote:
2) You need to follow the directions in my FAQ, explains the problem you have. |
|
|
|
|
|
#8 (permalink) |
|
Join Date: Jul 2003
Posts: 19
|
using System;
using System.Net; using System.Net.Sockets; using Server; using Server.Network; namespace Server.Misc { public class ServerList { /* Address: * * The default setting, a value of 'null', will attempt to detect your IP address automatically: * private const string Address = null; * * This detection, however, does not work for servers behind routers. If you're running behind a router, put in your IP: * private const string Address = "12.34.56.78"; * * If you need to resolve a DNS host name, you can do that too: * private const string Address = "shard.host.com"; */ public const string Address = "80.5.141.144"; public const string LocalServerAddress = "192.168.0.6"; public const string ServerName = "Majestic"; public static void Initialize() { Listener.Port = 2593; EventSink.ServerList += new ServerListEventHandler( EventSink_ServerList ); } public static void EventSink_ServerList( ServerListEventArgs e ) { try { IPAddress ipAddr; IPAddress LocalAddress = IPAddress.Parse( LocalServerAddress ); if ( Resolve( Address != null && !IsLocalMachine( e.State ) ? Address : Dns.GetHostName(), out ipAddr ) ) { e.AddServer( ServerName, new IPEndPoint( ipAddr, Listener.Port ) ); e.AddServer( "Local Server", new IPEndPoint( LocalAddress, Listener.Port ) ); } else e.Rejected = true; } catch { e.Rejected = true; } } public static bool Resolve( string addr, out IPAddress outValue ) { try { outValue = IPAddress.Parse( addr ); return true; } catch { try { IPHostEntry iphe = Dns.Resolve( addr ); if ( iphe.AddressList.Length > 0 ) { outValue = iphe.AddressList[iphe.AddressList.Length - 1]; return true; } } catch { } } outValue = IPAddress.None; return false; } private static bool IsLocalMachine( NetState state ) { Socket sock = state.Socket; IPAddress theirAddress = ((IPEndPoint)sock.RemoteEndPoint).Address; if ( IPAddress.IsLoopback( theirAddress ) ) return true; bool contains = false; IPHostEntry iphe = Dns.Resolve( Dns.GetHostName() ); for ( int i = 0; !contains && i < iphe.AddressList.Length; ++i ) contains = theirAddress.Equals( iphe.AddressList[i] ); return contains; } } } |
|
|
|
|
#14 (permalink) |
|
Join Date: Jul 2003
Posts: 19
|
I have had the port forwarded all along. It's not the forwarding. And at the start I said it's people from the outside (internet) connecting to me. You just assumed it was the same problem. So do you have any answers to my problem? Or is it unfixable? Do I need to forward more than just 2593?
|
|
|
|
|
#15 (permalink) | ||
|
Account Terminated
|
This is why I thought you had the same issue as everyone else that has problems using a setup where they use a router. You don't say what part doesn't work.
That was properly used, right? It still doesn't work. So it is me, or what? With that said, I don't think I like how your treating me... So you know I did read your question: Quote:
Quote:
This tells me you didn't forward the right traffic. Or simply the server isn't running. Try allowing ALL traffic on port 2593 I know both are not needed but this will get rid of the confusion. In the future try more mellow, I almost don't feel like helping you after your last reply. |
||
|
|
|
|
#16 (permalink) |
|
Join Date: Jul 2003
Posts: 19
|
OK. It wasn't meant to sound like that. Only after reading the second time did I notice it could be taken offensivly. The server may not have been running. It is now. On a side note can you get a world with pre-spawned monsters? Because the dungeons...etc aren't spawned and I don't have the knowledge to create spawn points
|
|
|
|
|
#17 (permalink) |
|
I'm having the same problem myself with my dsl router. I've used no-ip and it shows the ip address for the router but runuo shows the ip address for my network card. I've tried to change the settings on no-ip to not detect my router ip address but it wont work to let me friends over the internet connect. Setting up no-ip to not detect my ip address wont connect to the no-ip servers for some reason, but my question to the problem is, is there something I should do to my script serverlist.cs to get it to work over the internet without having to give out my ip address everytime for my friends to connect.
|
|
|
|
|
|
#20 (permalink) |
|
Join Date: Jul 2003
Posts: 19
|
When did you tell me what im supposed to do. I sent you my serverlist.cs and you didn't say there was something wrong with it. I have it fully updated and my port is forwarded.
. I can't see where you said how to fix it. I've looked over the FAQ repeatedly and it doesn't tell me how to fix my problem. I will detail what im having problems withI cannot log into Local Server how ever I can log into the other and that works fine. Other people can't even connect to my shard as it would display it in the server console. Do you have any idea why this might happen? Is there an extra bit in my router I have to configure? |
|
|
|
|
#21 (permalink) |
|
Account Terminated
|
Well lets just say this.
The only way you would be able to login from another computer on the Lan besides you logging in the server which case you would use 127.0.0.1 is for you to connect and login to the your Server's Lan address. If people cannot login to your public server listing, then try forwarding ALL traffic through port 2593 to your Server's lan address. |
|
|
|
|
#22 (permalink) |
|
Join Date: Oct 2003
Posts: 23
|
Hey man, I was having the same trouble with my router and i found out that it wasnt my router, it was my modem. Im using a westell DSL modem, I called the tech support on it and they told me that theres a built in firewall on it and that i needed to perform a IP passthrough. If they wouldve said this on the box it wouldve saved me ALOT of trouble and getting pissed off...lol. What i did was went to Modem settings page, went to IP passthrough part and set it to let everything throu to my Router WAN IP address whick was 192.168.1.97, then i went to my router setting page and set Port forwarding to forward TCP port 2593 to my LAN IP address which was 192.168.2.101(btw i have 3 comps on my LAN) Now once i did that it was fixed. Next goto www.findmyip.com and thats the IP u need to give everyone. This may not be your problem, but it was mine, I hope it helps...
|
|
|
|
|
#23 (permalink) |
|
Ok this is wat i got am i anywere close? is so what do i put in the fields? my port is 8080 and i cant change that not allowed...so for port from and to wat do i put in those fields? and wat port type is it TCP or UDC? and what do i put in for host ip address? cos it keeps changing ip but no-ip redirects it so i dnt have actual same address? or do i put in my LAN ip??
once this is done what the public put in for IP in gateway to connect to my server host? in custom shard settings do they put in my LAN ip? cos my net WAN ip keeps changing so they cant put that in? Virtual Server Configuration ID Port (From) Port (To) Port Type Map To Host IP Address -------------------------------------------------------------------------------- - Use the following form to add special port that you want to be opened for your special application ID Port (From) Port (To) Port Type Map To Host IP Address ~ TCP UDP ---> Settings need to be saved to Flash and the system needs to be rebooted for changes to take effect. Number of Virtual Servers 0 |
|
|
|
|
|
#24 (permalink) |
|
I have a question. How can I get runuo to use my dsl ip address intead of my network card address? When runuo loads it only shows what my ip address is for my network card and the ip address 127.0.0.1 . I've tried the serverlist.cs like this;
public const string Address = "xxx.xxx.xx.xx"; with the ip address of my dsl modem in it but when it loads it still uses my ip address of my network card. Any help with this is greatly appreciated. |
|
|
|
|
|
#25 (permalink) |
|
Join Date: Oct 2002
Posts: 196
|
I have a dsl router too.
The server showing you the two addresses is normal and correct. You need to let no-ip.com detect your router-thats the whole point in it. Your router has a address(the side thats plugged in your wall and constantly is changing) and the other side has an address too going to your net card(its gonna be one of the two addresses that your runuo server is showing and its not gonna be the 127.0.0.1). Somehow the info at the outside of your router needs to 'relay' that info to your net card-the solution is IP forwarding. You go to your router configuration setup and in the IP forwarding section you tell it port 2593 to port 2593 (or maybe your setup just allows one box for a port) and tell it that its TCP (if applicable) and give it the net card address that runuo server shows(not the 127.0.0.1) Now it knows how to forward stuff going into your router-thru your router-to your net card and runuo is waiting there at your net card to handle the rest. Now you give your friends your yourname.no-ip.com port 2593 to put into their uogateway, but in your uogateway you put the 127.0.0.1 port 2593. Also, in your serverlist.cs you need to put in "yourname.no-ip.com" but use your own full no-ip.com name like this: [code:1] * If you need to resolve a DNS host name, you can do that too: * private const string Address = "shard.host.com"; */ public const string Address = "runuo.dyndns.org"; <=yourname.no-ip.com goes here [/code:1] I know this ip forwarding crap and ports and routers can be intimidating at first but once you have done it a time or two you'll be a professional newb just like the rest of us Hope this helps |
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|