Using DNS2Go with your Linksys Cable / DSL Router Many users with Cable and xdsl broadband connections are using hardware routers such as the Linksys Cable/DSL Routers to connect their local area network to the Internet. This tutorial explains basic configuration for your Linksys router with DNS2Go, and setting the router to run a mail and web server on your local area network. DNS2Go works great behind the Linksys Router, or any other hardware or software router (i.e. WinRoute Firewall.) The router WAN (Wide Area Network - or Internet) IP address is typically the only usable address on the router, and this is the IP address that gets published in the DNS2Go Dynamic DNS system. The WAN IP is also referred to as the Public Facing IP Address. Since this WAN IP is the incoming IP Address of the router, the router's PORTS need to be configured if you want to run a server. The router acts as a sort of firewall or NAT (Network Address Translator) and offers basic port filtering for security purposes. This port filtering also prevents you from running a web server, email server, or any other server. DNS2Go Client Installation This tutorial assumes you will be running the DNS2Go Client Software on one of the PC's behind the Linksys router, basically any PC on the local area network that is connected to the router will work. Download the latest version of the DNS2Go Client from: http://www.deerfield.com/download/dns2go/ Sign-up for a New DNS2Go domain or Transfer an existing Top Level Domain to the DNS2Go service. http://dns2go.deerfield.com/signup/ Once the DNS2Go Client software is downloaded and installed you will need to perform two initial tasks: Port 1227 will need to be opened in the router. The DNS2Go Client software communicates with our DNS2Go Servers using port 1227 for both UDP and TCP. (see Port Range Forwarding below) Enter your Domain Name and Registration Key into the DNS2Go Client Registration Tab.
With the DNS2Go Client running and connected to the DNS2Go Servers, the DNS2Go Client should show the IP address of the WAN port of the router. This is your Public Facing IP Address. The DNS2Go Rocket should appear in flight and indicate it is Connected to the DNS2Go Service.
Running Servers (Web, SMTP, FTP) on your Local Area Network (LAN) We assume that you have the DNS2Go Client software running, connected to the DNS2Go Server and displaying the correct Public Facing IP Address, and you have a web server, FTP server and or email server set up for your domain. Important: DNS2Go is NOT nor does it provide Web Server, FTP Server or Mail Server functionality. DNS2Go merely provides you the ability to run such servers on a dynamic (changing) IP address by associating your current IP address with your static domain name. The Main Setup Screen of the Linksys Cable/DSL BEFSR41 Router shows the Hostname, Firmware version and more. When you set the Linksys router up, you need to configure the WAN and LAN settings under the Linksys SETUP Screen. Once you get the router up and running DHCP will need to be configured properly. To use servers on your LAN behind the Linksys router, and host your own WWW and FTP servers on the Internet, you should use static IP's on your LAN. Please consult the Linksys User Guide for instructions on Initial Router Setup and how to configure DHCP. If using DHCP you should set the server to an IP address outside of the DHCP range. Since the screenshot below shows the starting DHCP range at 192.168.1.100, and 50 users, that means that we can set a static IP on our server to 192.168.1.10 and not have a problem or IP conflict. Some routers work fine with DHCP and port forwarding, and some do not. It all depends on the router and the firmware version. If you have problems with port forwarding and DHCP, set the server to a static LAN IP and that should fix the problem.
Port Range Forwarding To run Servers behind your router you need to know the Incoming PORT(s) of the desired service, and once you have the port(s), you can set the port as shown in the example below for Passive FTP (Port 20-21) and Web (port 80) as well as SMTP (25). Once you decide what PC is going to run the web, ftp, or email server, you need to forward the proper port to the proper Internal IP address of the server. For example: - We have 1 PC on the internal network; the server is set at 192.168.1.100. - We also have another PC, that has a Web, FTP and Mail Server that has the LAN IP Address of 192.168.1.100, so in the example below, we set SERVICE PORT 80 to IP ADDRESS 192.168.1.100 - We have a FTP and SMTP Mail Server as well, so these ports (20-21 and 25) are also set to 192.168.1.100. After you configure the ports to the proper IP Address, then click the apply button. This sets the router to forward the proper ports to your servers. To add other applications, you need to know the Service Port(s) and then you need to set the server up on your LAN and set the proper IP address. For more information on the Linksys cable and DSL router, please see the Linksys website at http://www.linksys.com
Common Service Ports 20 - FTP data 21 - FTP 22 - SSH 23 - Telnet 25 - SMTP 43 - whois 53 - DNS 68 - DHCP 80 - HTTP 110 - POP3 115 - SFTP 119 - NNTP 123 - NTP 137 - NetBIOS-ns 138 - NetBIOS-dgm 139 - NetBIOS 143 - IMAP 161 - SNMP 194 - IRC 389 - LDAP 443 - SSL 445 - SMB 666 - Doom 993 - SIMAP Ports between 1024 and 29151 are known as the Registered Ports. Basically, programs are supposed to register their use of these ports and thereby try to be careful and avoid stomping on each other. Here are some common ports and their programs. 1227 - DNS2Go Client 1352 - Lotus Notes 1433 - Microsoft SQL Server 1494 - Citrix ICA Protocol 1521 - Oracle SQL 1604 - Citrix ICA / Microsoft Terminal Server 2049 - NFS (Network File System) 3306 - mysql 4000 - ICQ 5010 - Yahoo! Messenger 5190 - AOL Instant Messenger 5632 - PCAnywhere 5800 - VNC 5900 - VNC 6000 - X Windowing System 6699 - Napster 7070 - RealServer / QuickTime 7778 - Unreal 8080 - HTTP 26000 - Quake 27010 - Half-Life 27960 - Quake III 32000 - VisNetic MailServer Control DNS2Go Support Additional DNS2Go Support Options and Material is available at: http://www.deerfield.com/support/dns2go/