Okay... so you
want your client to connect to your modem. That's not so bad then. Only you said earlier that you set your server on 127.0.0.1. (confused me
very much)
Switching from localhost to modem is a major change to the server. (changing from LAN to WAN is quite a change)
So you need to change servers hotuk.ini, system registry and forward port 10009 to ... whatever the statically allocated (or reserved) IP for your server PC is.
What do I mean "statically allocated (or reserved) IP for my server"? Well, servers should be either outside the IP range allocated by your DHCP server, but within the hostmask for your local subnet and have (at least) their IP allocated manually in the TCP/IP configuration of their network connection, (if not bypass DHCP entirely and configure all network settings manually ... this would provide fail-over resilience should the DHCP server service fail) or they should have an IP "reserved" for use by their MAC only in the DHCP server configuration.
Woa! WTF!?
Here's a basic run down on how DHCP works. If you look at your network connection (on a Windows PC) open the properties of (what is probably called) "Local Area Connection" (but it could, theoretically be called anything, 'coz that's just a default) then show the properties of your "Internet Protocol TCP/IP Version 4 (TCP/IPv4)" protocol, you can see radio buttons for "Obtain and IP address automatically" or "Use the following IP address:" with a group of controls below and "Obtain DNS server address automatically" or "Use the following DNS server addresses:" with a group of controls below that.
Normally, they are both set to automatic, which means this network connection will broadcast to a DHCP server in order to get these details during the "driver" startup. You can't use the device (network connection) until it has received a suitable response from the DHCP server and filled in the details which are currently greyed out. (I'm a little fuzzy on how it actually does that without having an IP to send from or to, but I can think of several ways it may and it doesn't really matter which it uses)
Before DHCP servers popularly existed (which isn't all that long ago) we used to have to manually fill in all the details on that form before we could install our OS (in the case of Linux, BSD and MacOS) unless ever part of the OS was contained on the physical media (as Windows and MacOS always is, but many *nix distributions, typically are held mostly on an FTP server so you get the latest release at the time you install, not when the disc was burned) and then you could boot up with no networking first and fill those details in later. Regardless, you would have no network and no internet until you provided all that guff.
So, anyone who set the internet up on their computer at that time (around 2000 ish being the change over from "maybe you got it, but probably not" to "chances are, it'll be there") will have some idea what IP address, Subnet mask, Default gateway, Primary and Secondary DNS server are all about.
For anyone too young to remember that, I will elaborate.
The IP address should uniquely identify a device on the internet / intranet. It doesn't, because that would only allow 4,294,967,293 devices attached to the internet at any one time in the entire world. (actually, when the internet was first conceived, they thought that was an impossible number, and there would never, ever, ever be that many computers in the world, never mind that many attached to the internet

) So the internet, and intranets are broken down into subnets accessed via gateways, which is what the subnet mask (more commonly called "hostmask" on *nix) and gateway server is about. It basically defines which IPs are LAN IPs and which must be outside your LAN. It's compared with the IP allocated to this interface with a binary AND operation, so if your machines IP is 192.168.1.69 and your subnet mask is 255.255.255.0 then any IP from 192.168.1.0 to 192.168.1.255 is effectively within your LAN. And unless you are in a large corporation, or you want to limit your LAN below 250 odd devices, that's usually pretty much how it goes.
The "default gateway" is essentially a proxy server. Any request to an IP outside the hostmask (or subnet mask) will be directed to this "gateway" IP for routing on outside your LAN. The gateway is typically used to provide firewalling and NAT.
What? The interwebs has gnatts? No, not gnatts, NATs. Network Address Translation enables a message from IP 192.168.1.2 in your LAN to reach IP 192.168.1.2 on *my* LAN. Without it both our machines would simply be talking to them self, right? ^_^ Simply put (though, it's not that simple underneath) NAT translates LAN IPs to WAN IPs and back again.
Now. That's what DHCP works out and manages for you, (aren't you glad it's there?) but what if you *need* to take back some control to make this "static IP" for your server? Well, as I say, you can restrict the maximum, or minimum IP your DHCP server will hand out within that "hostmask" and manually give the TCP/IP stack all the details. So, using the previous example, if we told the DHCP server to allocate IPs from 192.168.1.1 - 192.168.1.250 we could manually set our server TCP/IP stack to work from the IP 192.168.1.251, and know that it will never check for an IP with the DHCP server, and never collide with another computer which the DHCP server has allocated the same IP as it is set to. (and it's still within the Subnet mask 255.255.255.0) Alternatively (and in modern literature, this is usually the preferred method) you can set the DHCP server to assign a static IP to the MAC address of the network interface of the server. Then it really doesn't matter what IP it has, so long as it's within range and always the same.
MAC who? Okay. Every device has a Machine Access Control address. This is a 12 digit hexadecimal number burned into a prom on the interface board... or, these days more often "chip". Again, originally it was considered that no two interfaces in the world or throughout history would ever have the same MAC. Meaning that they where absolutely positive that during the remaining life of planet earth, there would be considerably less than 281,474,976,710,655 network capable devices manufactured. considerably less because several of those digits where to be reserved to be unique to each manufacturer. :O: We exceeded that a long time ago, and almost every modern network interface will have
some way to change it's MAC, in case of collision. (originally, that was strictly forbidden, because it could
allow collision)
Once I've got an IP, why would I have to reserve it? Well, actually DHCP doesn't just allocate a new IP every time it sees a new device, and then fall over and crash the entire internet when it's seen more than 255 devices on your LAN. No, of course it doesn't. How would WiFi hotspots work then? (not that it falling over would have that serious a consistence anyway ... but it may feel that way to you if it did) DHCP only "leases" or rents out IP addresses on a per-MAC basis for X amount of time. After that time is up, the device knows it's lease has expired and it will need to re-apply to extend the lease. What happens then depends on the programming of the server. Some will allocate a new IP, others will reallocate the same IP, if the lease is re-applied for quickly enough. If the device isn't even on when the lease runs out... well, then it depends how heavily subscribed the LAN is. If the DHCP server is short of available IPs when your servers lease runs out, and it's not switched on at that time, then it will certainly loose it's IP. As unlikely as that may be to happen with your server, you'd probably rather not take the risk.
Additionally, when looking at port forwarding, or port triggering, you may find you can only forward to, or trigger from an IP which is statically assigned. This is a common security feature because if you forward port 80 (the web) from the internet to your home web server, and run WebDAV (webfolders in Microsoftees) to share your home accounts from your local NAS (Network Attached Storage device) and stream TV to your Digibox or what have you... should DHCP switch the IPs of these two devices, your Web server is no longer available to the outside world (not good) but instead, they get all the details of your personal home banking. (really, really, REALLY not good)
What's the difference between forwarding and triggering? Well forwarding ports means that connections coming in to your modem on that port will be diverted to the IP it is set to forward to. Port triggering will mean that the port is not normally open for machines on your network to broadcast on, but if that particular LAN IP tries, it will trigger the port open. So forwarding for incoming calls. (Listening ports) Triggering for outgoing calls. (Transmitting ports)
