Router Configuration GuideYeOldeStonecat's Router Configuration Tips2003.03.30 17:11 by YeOldeStonecat Keywords: subnet, router, gateway, DNS, WAN, LAN, IP Address, DHCP, NAT
One of the most common questions I see is how to run a game server behind a router, or how to make the network more stable when behind a router. This can also apply when you wish to run any other services from any computer on your network, and have them available from the public side of your router, such as an FTP server, PcAnywhere host, web server, mail server, etc etc. As for how it applies to making a network more stable, I've found that a router's DHCP service isn't the most reliable... sometimes a workstation will lose its IP information, and appear to fall off the network, or not be able to access the Internet. Users may find that rebooting the computer helps, or for those who know how to WINIPCFG (Win9X) or IPCONFIG (WinNT), and release/renew, find that is easier. This is a more common problem with Win9X users. What I find is more reliable for home and small offices where an NT Server is not available to manage IP, is to create static IP addresses on all your computers. The idea behind running a server that can be seen from the public side of your router, is you need to open up ports on the router, and forward those to an internal LAN IP address on your network. Since you're going to be plugging in your internal LAN IP address on the port forwarding section of your router, once that's set, you want that IP address to always be the same. You don't want to keep trying to hit a moving target. If your workstation is set to "Obtain IP address automatically" there’s a chance that LAN IP address could change one day. Usually computers will pickup the same IP address from a DHCP server each time, however it is possible it can change at some point in time. So I recommend locking down that IP address manually. For a computer to gain internet access out through your router, it will need three components specified in the TCP/IP properties of your workstations. 1) The same IP scope as the router WINS is not used/needed on small networks, it's for larger networks where an NT Server is present running that WINS service. On most home networks, you'll be leaving WINS disabled if Win9X, or empty if WinNT. IP address and subnet mask Gateway DNS
If you are running a server, or other service, and have forwarded the necessary ports to the IP of the computer running that application, when clients will connect from the outside world, the public, or "wild side" of the router, they will be connecting to the WAN IP address of your router in order to connect to your computer. Remember, Class C private IP addresses are what the LAN side of broadband NAT routers use, and these cannot be used on the public side - they are not routable outside the LAN. Let's take Quake 3 for an example. Say you setup your Q3 server on the LAN, its IP address is 192.168.1.11. You have forwarded the necessary ports on your router, Q3 only uses 27,960... so you've forwarded that port to 192.168.1.11 in your router's web admin interface. And let's say your ISP has given your router a WAN IP address of 216.239.57.100... your buddies will be connecting to the router's 216. address, not your computer's 192. address. By the way, that 216. address is Google's... so don’t try connecting for a Quake 3 game ;)
User Reviews/Comments:
rate:
avg:
![]() ![]() ![]() ![]()
by
mcenac - 2007.05.14 00:10
After 3 days of hard work in trying to setup my router paradyne 6218, to be able to access internet from both computers.Internet connection was on but I only could connect one PC with IE7.
After having read this article and followed your DNS setup recommandation everything is working fine. Thanks a lot!! One computer ıs runnıng Vısta ultımate and the other XP sp2
Amazing! I already knew about 95% of what was talked about here, so in essence, it didn't help me too much, but man oh man do I wish I had found this article a few years back when I struggled wih this stuff. This is by far the celarest and best written article I have seen yet! Thanks for everything:-)
Great article indeed. I only have a question, when someone from the internet is accessing your router, they will be using just the IP address or the IP address ":" and then the "Port no." to connect to the game server you are running on that port on that particular machine. Could you please clarify this?
Thanks.
When accessing websites, the browser assumes that you want to connect to port 80 (default for HTTP traffic). So, any address (or IP address) you type as www.somewhere.com is essentially www.somewhere.com:80
To connect to a port different than 80, you have to specify it after the hostname, separated by a comma - as in: hostname:port_number If you'd like to connect to port 8080 on a remote host, you'd have to type: www.somewhere.com:8080 Or, for IP addresses: 192.168.1.1:8080 |