Servers on a private LAN can be made visible to the Internet by routing appropriate ports to the servers on the private LAN. The traffic type is determined by the port number in the TCP/IP packet. Some well known ones are port 80 traffic for http Web traffic, and port 21 for ftp traffic.
To configure the RT311/RT314 router:
- On a system connected to the router (on the LAN), click Start (The Windows Start Button).
- Choose Run.
- Type telnet 192.168.0.1 in the dialog box. (The address is the default. If the address has been changed, use that instead.)
- Type the user name and password to access the internal menu of the router.
- Type 15 (for menu 15), then Enter.
- Configure the port number (E.g., for Web server, 80 is the port number) and the IP address — the private address where you want you traffic routed.
The RT311/RT314 contains a default filter that prevents Web (HTTP), telnet or FTP servers on the LAN side of the router from being accessed from the Internet, even if you configure the proper port forwarding in the PORTS menu. If you want to run a Web, telnet or FTP server on your LAN and allow access from the Internet, you must change the appropriate filter rule for the service that you want to run.
To change a filter rule:
- Use a telnet client to access the internal configuration Manager at 192.168.0.1.
- Login using your current router management password (default is 1234).
- Select Menu 21 – Filter Set Configuration.
- Enter 3 to select Filter Set Number 3 (TEL_FTP_WEB_WAN) for editing.
- Press ENTER three times to reach Menu 21.3 – Filter Rules Summary. Three rules are shown: Rule 1 for Telnet (Port 23), Rule 2 for FTP (Port 21), and Rule 3 for HTTP (Port 80)
- Enter the number of the rule that you want to change and press ENTER
- In the Filter Rule menu, use Tab or Enter to reach the Action Matched parameter.
- Press Space Bar until Action Matched = Forward.
- Press ENTER three more times to save the menu and exit to the previous menu.
- Press ESC twice to return to the top menu, and type 99 to exit the telnet session.
- For information on filters and using the router’s Telnet interface, refer to the Reference Guide on the Resource CD.
Internet users can now access the Web server through the router. It is recommended to give the Web server a static IP address to ensure routing is done correctly. If it is configured to obtain a IP address dynamically everytime it boots, it will likely get a different IP address each time and the router will be routing the traffic to the wrong system.