Port Forwarding Help

Forum Archive - from http://theuniversal.net
Locked
AlphaOne
Posts: 3
Joined: Fri Nov 17, 2006 11:20 pm

Port Forwarding Help

Post by AlphaOne »

Hello,

I'm trying to get a world up and running so I can start doing some serious work ok it, and ran into an issue with port forwarding.

Here are my stats-

-512+ Cable Internet Connection
-Linksys WRT54G Router
-Motorola SB4100 Cable Modem

I am wired directly to my router, not through a wireless connection

I was following the tutorial on TUWR.net on port forwarding when I ran into this problem, when it comes to the part where you enter the last digits of the IP, it doesn't state what IP very clearly. You external IP as seen thorugh whatismyip.com? Your router IP? Something else?

Any help with this would be greatly appreciated.
User avatar
Fooli
Staff
Staff
Posts: 1957
Joined: Sun Oct 05, 2003 2:38 pm
Location: Mars

Post by Fooli »

I haven't seen that tutorial, and it does depend on your particular router. But, in general:

1. You've got an external IP (eg 65.87.98.32), which the rest of the world sees as "your PC"

2. You've got a router, which represents your PC or LAN to the outside world in the form of your external IP. It also has an internal IP address (typically 192.168.0.1 or something similar, depending on the make/model).

3. You've got the PC your world is running on. It has an internal IP.

4. And, you've got internet traffic for your world on a specific port, which you set up in your world's serverconfig.txt.

Port forwarding is simply the process of telling your router what it should do with traffic destined for your world: traffic that is going to be aimed at your external IP address (cos that's what your world broadcasts to the game) but which actually needs to end up at an internal IP address - the one the router "sees" your world PC on.

Soo.. what you need to do (again, depending on your router's make/model) is set up the rules required to make your router send all traffic that comes in on the port you establish for your world, to the internal IP address of the PC the world's running on.

For example, you might need to set up a rule in your router that says "forward all traffic on port 2345 to internal IP address 192.168.0.2". So all you need to know is your world's port, and whatever internal address the PC running the world has.

Sometimes it does get more complicated if you have a separate modem and router: because your modem and router might have different internal IP addresses, and you might need to forward traffic from modem to router (or something) before you can deal with forwarding to your world... I dunno about that, that's why I bought an integrated router/modem unit :)

Um, reading that back I may have confused things even more, but... well, see how u go :)
f
Locked