router-setup.txt

###


### Setting the router for World Wide Web service

### It took me a long time to finally figure out how to set up the router so most people could do it without too much trouble. My routers are old so will be different than newer ones, but I will go through three routers that I have and that might help.

### 1:  D-Link GO-RT-N300, 12VDC @ 0.5 Amps. Out of the box, it's address is: 192.168.0.1 but I set mine to: 192.168.19.1, just so it would have less trouble with neighboring routers. In the setup page, under "Local Network" and on "DHCP Server Settings" I selected my IP Pool Range from 192.168.19.10 to 192.168.19.254, that blocked the section of addresses of 192.168.19.2 through 192.168.19.9 so I could use them for static IP Addresses, and used 192.168.19.2 for my web server.
#    The next header "DHCP Static IP Configuration" has: 
#    
#    IP Address:     0.0.0.0
#    Mac Address:  000000000000      (ex. 00E086710502)
#    
#    followed with selections: Add, Update, Delete Selection, and Reset.
#
#    The next header "DHCP Static IP Table"
# 
#    Select  IP Address         MAC Address
#      ()    192.168.19.2    DC:A6:32:19:95:B9
# 
#    As I remember it would say that "192.168.19.2" was not in the pool, but I think I managed to get it to accept it by clicking the Select and then the update choice.
# 
#    Click on the top header "Advanced" and then at the bottom of the list "Virtual Server". On this page, the box will list "Virtual Service Name" and the choice that is right is "WEB" which will bring up "WEB" Protocol "TCP" WAN Port "80" LAN Port "80" LAN IP Address "xxx.xxx.xxx.xxx" (actually no xxx's) but is where you enter the IP Address of your web server. Then click "apply changes" (Since) The header below is: 
#    "Current Virtual Server Forwarding Table"
#    ServerName      Protocol    Local IP Address    Local Port      WAN Port    State            Action
#        WEB           tcp         192.168.19.2        80-80          80-80      Enable       Delete Disable
#
#
### 2:  Zonet, ZSR4154WE(01), 802.11n Wireless Broadband Router, Power: 9V-1A, IEEE 802.11n - 150Mbps, RJ-45 10/100Mbps, IP Address: 192.168.0.1
#    On "192.168.0.1/main.html", Select "Virtual Server", then "Port Range Forwarding", and under "Well Known Service Ports", select "HTTP(80) and then "ADD" (1-10) for possible selections. This populates the selected line with: "Start Port - End Port" with "80 - 80", "To IP Address" "192.168.0.""100", "Protocol", "TCP", "Enable", "checked". Then click "Apply", and "Logout".
# 
#
### 3:  Western Digital My Net N750, 12 VDC @ 2 Amps, Tabs: Additional Features / Port Forwarding
# 
#    Under Advanced Settings, LAN, DHCP Server: Enable DHCP Server = ON; DHCP IP Address Range = 192.168.1.10 to 192.168.1.254 then under "Device and Client Tables" at the bottom: 

Manually Added Devices

IP Address: 	192.168.1.2
MAC Address:	(dotted hex address)
Device Name: 	AC0XL-WWW-Pi-4B
 and then "save".

#    Under Advanced Settings, Additional Features, Port Forwarding: 

#    Port Forwarding
#    This option is used to open multiple ports or a range of ports in your router and redirect data through those ports to a single computer on your network. This feature allows you to enter external start port, external end port, and internal start port in the fields. The internal end port will be generated automatically. This option is only applicable to the Internet session.
#
# Enabled    Name: HTTP              Application Name: HTTP          External Port Range     From: 80        To: 80  Protocol TCP
# IP Address: 192.168.1.138  Computer Name: frank-desktop (102.168.1.138)    Internal Port Range     From: 80        To: 80

# Port Forwarding Rules

Enabled check box.
	
Application Name: HTTP - Populates Name.
External Port Range
From: 	80
To: 	80
Internal Port Range
From: 	80
To: 	80

	Protocol
TCP - set by program.

Computer Name: AC0XL-www-Pi-4B (192.168.1.2) - Populates IP Address and may check enabled.
IP Address: 192.168.1.2
	
Computer Name: Enabled 	
	
#
#            Then "SAVE".
#
#    This pretty much automates the process. One would need to set a static IP address on the web server machine so it would always be at the same address.
#
# *****************************
