Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ SMAUG ➜ Running the server ➜ Smaug behind a cable modem router

Smaug behind a cable modem router

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Halomantis   (27 posts)  Bio
Date Tue 20 May 2003 11:42 PM (UTC)
Message
Ok I have win xp and a linxus router. When I start Smaug 1.4 I can access the game from my computer using Zmud. I can access the game from my wives computer (also with Zmud and she is on the network). But if someone tries to access the game from outside the network through the net they can't find it.

We have tried several things. Number one I have already set myself as the DMZ host. We have tried the IP address of my computer, the router, and the ip address the router uses for the net.

Can anyone provide me with any more ideas?
Top

Posted by Nick Gammon   Australia  (23,131 posts)  Bio   Forum Administrator
Date Reply #1 on Wed 21 May 2003 01:22 AM (UTC)
Message
I'll assume from your description that the MUD is running on the XP machine and not the router.

I gather you have a network like this - I'll make up the IP addresses, but it is probably similar:


  • Router: 10.0.0.1 (internal) and 123.45.67.89 (external)
  • Yourself: 10.0.0.2
  • Your wife: 10.0.0.3


You can connect to yourself using 10.0.0.2 or 127.0.0.1 (localhost).

Your wife can connect to 10.0.0.2.

Nobody can connect (from outside) to any of those addresses. Correct?

For a start, they certainly won't be able to connect to the internal addresses because they are non-routable (private IP addresses) so you can forget trying 10.0.0.1, 10.0.0.2 or 10.0.0.3.

Plus, the problem is that the only IP address you have that is visible on the Internet is not actually running the MUD.

What you need is Port Forwarding - this lets the PC that is on the Internet (the router) forward incoming calls to a specified PC. I am using OpenBSD and not Linux so I can't give you an example that works for me, but I picked this up from the Linux link I give below.


ipmasqadm portfw -a -P tcp -L 123.45.67.89 4000 -R 10.0.0.2 4000


What this says is to take incoming TCP messages on 123.45.67.89 port 4000 and forward them to where you want them to go - in this case 10.0.0.2 port 4000.

Maybe your version of Linux uses slightly different commands, but that is the place to look.

Doing a Google search on "port forwarding" and "linux" revealed a heap of resources. Here is one that seems similar to what you are doing:


http://www.ox.compsoc.org.uk/~steve/portforwarding.html

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Boborak   USA  (228 posts)  Bio
Date Reply #2 on Wed 21 May 2003 01:27 AM (UTC)
Message
It could be any number of things. Setting yourself as the DMZ host isn't always the magical answer. You'll also want to ensure that the Winxp firewall is off or at least configured properly. The best way to fix something like that, is start from scratch, bring down all of your firewalls, route everything you can think of, ect. To make sure it works that way. Then start to tighten the nuts and bolts of your securitym until it's as locked down as you can get without restricting what you want to work. The main thing I'd check is the WinXp firewall settings. If that's enabled, nothing from the outside would get in without a request from your box. Finally, if push comes to shove try bypassing the router, in other words connect your cable-modem directly to your computer (assuming your setup supports such a config).
Top

Posted by Goblin   (39 posts)  Bio
Date Reply #3 on Sun 06 Jul 2003 11:21 PM (UTC)
Message
i know its a bit late for this. but i use a router and several puters connected to it running muds.

basically you go into the router config and select NAT and tell the router to point at a particular puter for each port your using.
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


15,937 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.