Go Back   RunUO - Ultima Online Emulation > RunUO > Server Support on Windows

Server Support on Windows Get (and give) support on general questions related to the RunUO server itself.

Reply
 
Thread Tools Display Modes
Old 08-02-2008, 02:18 AM   #1 (permalink)
Newbie
 
Join Date: Jul 2008
Posts: 61
Default Allowing others to connect to me.

Ive been trying to get help for this on many threads, and i have, but there are so many variables which i am having trouble. I need a step by step HOW-TO for getting a friend to connect to my shard. Here is my info.

ME: Using Ultima Online 9th aniversary. Patched up to 5.0.8.1 Patch40
- Windows Vista
- connect to home network router and then internet

FRIEND: Using Ultima Online 9th aniversary. Patched up to 6.0.9.2 Patch70
connected to home network (wireless. he can be connected straight into a router if needed)

We Both cannot patch futhur. Mine says "error during session". i dont think his does.

my ip is 64.231.255.239 (dynamic). I used No-ip to make it "craigcohen.no-ip.biz"
when i run my server is shows address of 10.5.1.2:2593

We both use razor, latest version as far as we know.

I am able to connect to my game fine.
We tried it over wireless. He has a wirelss router and we both have wiresless comps. He told into razor to connect to 10.5.1.2. It goes to "verifying account" and the times out. we tried the same thing with razor connecting to "craigcohen.no-ip.biz and it still stuck on verifying account.
We went into his wireless router settings and port forwarded using portforward.com (router is a smc8014w-g) we put in 2 into the initial box. I tried the "make your ip static" here PortForward.coml. but when i got to put in the new address, it said to put in any address as long as its the same as the router address but the last number needs to be different. i tried 10.5.1.xx (xx being any number) and it says invalid address for any number i put in for xx.

Im assuming here that when i go into the server, the 10.5.1.2 is the address of my router. if thats wrong then how do i find my routers ip (since im sure theres a diff between my comps ip and my routers ip).
What does he put into razor? We tried it with my comps ip, the ip given on the server, and craigcohen.no-ip.biz.
I assume the no ip thing and making a static ip are the same thing except one using a website right? is one preferred to use? cause im unable to make a static ip as stated above.

The last problem which i think i might have, is that i port forwarded UO using portforward.com which has a section for Ultima Online. but i never thought that the ports it lists for uo are for OSI and might be different from the ports in my comp. the only port i need open is 2593 right?

all firewalls are off. Im using AVG free version. so the only thing to disable is the resident shield.

There are so many variables here and so many things we could be doing wrong. we also have a regular router and tried connecting directly with LAN without success. any help is appreciated. The best is for someone to chat with me over msn and help me out. my msn is cohenc00@hotmail.com.

PLEASE HELP! thanks.

(anyone feel free to try and connect. ill leave the shard on)
Mockhazzard is offline   Reply With Quote
Old 08-02-2008, 03:55 AM   #2 (permalink)
Forum Expert
 
Join Date: Dec 2005
Posts: 272
Default

Forget about your friends PC for the moment and focus on getting your server published on the internet first. Have you made any changes to your /Scripts/Misc/ServerList.cs? If so, paste a copy of that in a reply, surrounded by code-tags. Check the LAN IP number of the PC running the server (>Command prompt>ipconfig/all) and post it.

Next, you should go in to the configuration of you router and look for 'Customer defined service' rule; that will enable you to do the port forwarding.

HTML Code:
1. Enter in a Description [Name] for this custom setting (RunUO)
2. Configure the Traffic or Data [Type] that you want to forward. (TCP)
3. Set the [LAN Server IP] of the PC that you want this traffic/data redirected to (10.5.2.2?)
4. You can also configure [Remote IPs] option to limit access to this specific port from the WAN side. This can be configured for 3 different access types: 
a. Any IP Address [Any] - choose this option to allow access from any public IP address. (Default)
b. Single IP Address [Single Address] - choose this option to only allow access from a single public IP address. 
c. IP Address Range [Address Range] - choose the option to only allow a range of public IP addresses. (Default)
5. Set the [Start Public Port] and [End Public Port] that this application will use on the WAN (Internet) side. The Gateway will listen for incoming traffic/data to its WAN IP on these ports. (2593)
6. Set the [Private Ports] that the Gateway will forward this traffic to on the LAN. If there is a range of ports, enter the starting private port in [Private Ports], select [Enable Port Range] checkbox, and the Gateway will automatically calculate the end private port. The LAN PC server will listen for traffic/data on this/these ports.(2593)
I'm not sure if it will accept a public and private port that are identical; if not change the port of your local server to something else (like 2592) and put that in as your local port above.

When done, saved, and restarted you should try the following link: Open Port Check Tool and enter your public port (2593).


Edit: At this time 'craigcohen.no-ip.biz' resolves to: 64.231.254.213 and I get no ping response. I do get it from 64.231.255.239; is your NO-IP setup correctly?

Last edited by Melchior; 08-02-2008 at 04:48 AM.
Melchior is offline   Reply With Quote
Old 08-02-2008, 11:41 AM   #3 (permalink)
Newbie
 
Join Date: Jul 2008
Posts: 61
Default

SERVERLIST.cs

the only change is to that one ip address. "public cont string address". and we tried using multiple ips for it and no success. im not sure exactly which ip to put in there.

Code:
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 = "127.0.0.1";

		public const string ServerName = "Warriors Haven";

		public static void Initialize()
		{
			Listener.Port = 2593;

			EventSink.ServerList += new ServerListEventHandler( EventSink_ServerList );
		}

		public static void EventSink_ServerList( ServerListEventArgs e )
		{
			try
			{
				IPAddress ipAddr;

				if ( Resolve( Address != null && !IsLocalMachine( e.State ) ? Address : Dns.GetHostName(), out ipAddr ) )
					e.AddServer( ServerName, new IPEndPoint( ipAddr, 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;
		}
	}
}
in ipconfig/all there was no Lan IP. but this is what there was. Nothing else had an ip address beside it.
IPV4 ADDRESS
Subnet MASK
Default Gateway
DHCP Server
DNS servers

There was also no customer defined service rule. I looked for anything that redirects ip's but no. My interface is also strange (ive never used it). its called ZyXEL. i have a linksys WRT54GL. it didn't ask me to log in or anything. i used 192.168.1.1 to get to it (i think thats right).

Here is what it gives me.

HOME

REGISTRATION

NETWORK
LAN
WAN
DMZ
WLAN
WIRELESS CARD

SECURITY
FIREWALL
IDP
ANTI-VIRUS
ANTI-SPAM
CONTENT FILTER
VPN
CERTIFICATES
AUTH SERVER

ADVANCED
NAT
STATIC ROUTE
POLICY ROUTE
BW MGMT
DNS
REMOTE MGMT
UPnP
ALG

REPORTS
SYSTEM REPORTS
THREAT REPORTS

LOGS

MAINTENANCE


LOGOUT

you pinged my ip? (im kinda wondering how you did that. seems useful to test for open ports and firewalls). yes my No ip was setup INCORRECTLY. it has been fixed and is now "Warriorshaven.servegame.com"

thanks for the help.
Mockhazzard is offline   Reply With Quote
Old 08-02-2008, 12:50 PM   #4 (permalink)
Forum Expert
 
Join Date: Dec 2005
Posts: 272
Default

I checked your new IP config (Warriorshaven.servegame.com) and it resolved to IP 64.231.255.239 and I was able to ping to that address (command promt>ping 64.231.255.239). The instructions I gave regarding port forwarding were for the smc8014w-g, but you are using a ZyXEL; I need to know what type of ZyXEL you have (look for a type on the rear, or bottom). Probably both devices need to be enabled for port forwarding.

Edit: Or are you using a laptop with a ZyXEL wireless (interface card)? If not, describe how your computer is connected to the Linksys device.

Last edited by Melchior; 08-02-2008 at 01:05 PM.
Melchior is offline   Reply With Quote
Old 08-02-2008, 01:06 PM   #5 (permalink)
Newbie
 
Join Date: Jul 2008
Posts: 61
Default

damn sorry about that. i moved home and forgot my router was different. And i also just noticed that my folks have 2 routers. im plugged directly into the wireless one. and thats plugged into a normal router.
Wireless one is linksys WRT54GL. and the other one is a Speedstream 5200 (part number: 060-E240-014). theres also a mac address on the router and an HW number. not sure if they are needed.
Mockhazzard is offline   Reply With Quote
Old 08-02-2008, 01:38 PM   #6 (permalink)
Forum Expert
 
Join Date: Dec 2005
Posts: 272
Default

LOL! You are in luck? This is about the most complicated router available It can be a Siemens, Efficient or Bell Sympatico. And there are many different versions of firmware for those routers, so there is no standard way to enable port forwarding. Now I need to match your unit with a specific one (5200,5210 ...etc) and (sub) brand. Look at the unit from all sides please, and write down whatever you can find and post it. Furthermore, it would help me (and you obviously!) if you could make a few screen prints of the first pages of the configuration software of the router (probably 192.168.254.254) and/or those you already found, from your previous post.

Edit: To see if I would get some identification from the device, i tried to login your router via Telnet, and this is what i got: (NSA?)

Quote:
CCC
+--------------------------------------------------------+
| National Security Agency |
| |
| Field Office - Elmvale, Ontario Canada |
| |
| Access Restricted and Logged |
+--------------------------------------------------------+


Begin Authentication Sequence....



User Access Verification

Username:

Last edited by Melchior; 08-02-2008 at 01:50 PM.
Melchior is offline   Reply With Quote
Old 08-02-2008, 01:56 PM   #7 (permalink)
Newbie
 
Join Date: Jul 2008
Posts: 61
Default

ok i will. one sec. As for the NSA. umm lol. no idea. my brother set up the network and such here so he probably made it say that to be funny.

Last edited by Mockhazzard; 08-02-2008 at 01:59 PM.
Mockhazzard is offline   Reply With Quote
Old 08-02-2008, 02:00 PM   #8 (permalink)
Forum Expert
 
Join Date: Dec 2005
Posts: 272
Default

You tell me! Perhaps your father is not really an accountant (True lies)?

You can try this yourself: CommandPrompt>Telnet Warriorshaven.servegame.com
Melchior is offline   Reply With Quote
Old 08-02-2008, 02:19 PM   #9 (permalink)
Newbie
 
Join Date: Jul 2008
Posts: 61
Default

Firstly it says Sympatico on it.
Speedstream 5200

MAC - 0220EAF2C3D0
US - 65YDL01B5152
IC - 3271A-E240A08
HW - 059-E240-A08
Also on the bottom. E240014A04 A Q25 1305
That IP for the router you posted doesn't work. not in Firefox or IE. it says "timed out".

the one i had before looks like this
Mockhazzard is offline   Reply With Quote
Old 08-02-2008, 02:33 PM   #10 (permalink)
Forum Expert
 
Join Date: Dec 2005
Posts: 272
Default

On the ZyXEL: Go to (click) SUA/NAT (below Advanced). On the first line (1) check check box active, name RunUO (arbitrary name), start port 2593, end port 2593 and click Apply. Maybe you need to restart the unit.

Let's see how far we get with this (ports forwarded on the ZyXEL).

When restarted, try this again: http://www.canyouseeme.org/
Melchior is offline   Reply With Quote
Old 08-02-2008, 02:45 PM   #11 (permalink)
Newbie
 
Join Date: Jul 2008
Posts: 61
Default

Somethings wrong here. i put in 192.168.1.1 into internet explorer (doesn't work with firefox) and it just comes up with a search. the top one being

192.168.1.1 - ZyXEL ZyWALL 70 Internet Security Appliance
Interfaces: Status: IP/Netmask: IP: Assignment: Renew: WAN 1: Up 199.227.88.162/ 255.255.255.240 : Static: WAN 2: Down: 0.0.0.0/ 0.0.0.0 : DHCP client

zywall70utmdemo.zyxel.com

i go to that and it opens the iterface. i go to the port forwarding and put in exaclty what you gave me, but when i hit apply, the box at the bottom which previously said "ready" now says

NOT FOUND The requested URL /Forms/SUA_Server_1 was not found on this server.

Whats the deal?
Mockhazzard is offline   Reply With Quote
Old 08-02-2008, 03:00 PM   #12 (permalink)
Newbie
 
Join Date: Jul 2008
Posts: 61
Default

ok it seems im not actually logged into the interface. or logged in as "testuser". there is a thing for "register". so i guess i need to register.
...
...
...
ok i registered, and but im still getting errors "NOT FOUND". same as before.

Last edited by Mockhazzard; 08-02-2008 at 03:02 PM.
Mockhazzard is offline   Reply With Quote
Old 08-02-2008, 03:00 PM   #13 (permalink)
Forum Expert
 
Join Date: Dec 2005
Posts: 272
Default

Don't know for sure, but perhaps you simply need to restart the box (power off, wait 20 seconds and power up again.

Edit: Perhaps you need to logon as admin, hit logout left below and restart the IE session.

Edit: Documentation: http://dl01.zyxel.com/DownloadLibary...%2070_4.03.pdf

Last edited by Melchior; 08-02-2008 at 03:23 PM.
Melchior is offline   Reply With Quote
Old 08-02-2008, 03:28 PM   #14 (permalink)
Newbie
 
Join Date: Jul 2008
Posts: 61
Default

Thanks. im off to work for today. I will do all this afterwards. cheers.
Mockhazzard is offline   Reply With Quote
Old 08-03-2008, 02:28 AM   #15 (permalink)
Forum Expert
 
Join Date: Dec 2005
Posts: 272
Default

Quote:
damn sorry about that. i moved home and forgot my router was different. And i also just noticed that my folks have 2 routers. im plugged directly into the wireless one. and thats plugged into a normal router.
Wireless one is linksys WRT54GL. and the other one is a Speedstream 5200 (part number: 060-E240-014). theres also a mac address on the router and an HW number. not sure if they are needed.
Still don't get this one: Linksys + Speadstream, but the configuration software above referred to a ZyXEL ZyWALL 70 unit? Is the Speadstream unit the one that physically connects to the internet? Please explain how things are connected. Is your PC a laptop with a wireless connection? And that goes to where (the ZyXEL?). If you say 'directly plugged in to the wireless one' that would imply a cable connection, and in that case, why not plug it in directly in to the Speadstream?

Last edited by Melchior; 08-03-2008 at 02:51 AM.
Melchior is offline   Reply With Quote
Old 08-03-2008, 10:59 AM   #16 (permalink)
Newbie
 
Join Date: Jul 2008
Posts: 61
Default

deleated post.

Last edited by Mockhazzard; 08-03-2008 at 02:06 PM.
Mockhazzard is offline   Reply With Quote
Old 08-03-2008, 02:05 PM   #17 (permalink)
Newbie
 
Join Date: Jul 2008
Posts: 61
Default

ok my brother has apperently forwarded my port for me. 2593 should be perfect.

i used canyouseeme.com (which i didn't relise you have to do WHILE ULTIMA IS RUNNING. lol duh.)

SO YAY.

so. for people to connect to me, in razor need to use what ip. my inside ip? 10.5.1.2. or my gateway ip 10.5.1.1 or something else? My inside ip is what is given on my server when i start so i assume its that. everything should be good right?!?!?!?
Mockhazzard is offline   Reply With Quote
Old 08-06-2008, 05:50 PM   #18 (permalink)
Newbie
 
Join Date: Jul 2008
Posts: 61
Default

Can someone please try to connect to me. My info is in the last few posts. no patching at the moment. i just wana see someone connect and walk around. Thanks.
Mockhazzard is offline   Reply With Quote
Reply

Bookmarks

Tags
connecting, no-ip, router, shard, static


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5