The router has an address on the LAN, in this case 192.168.1.1. The router determines the destination of the data going to and coming from the PCs on the LAN. The router assigns a local IP address for all PCs on the network and includes a firewall that passes or blocks data depending on the destination and port number.
If you are using a different Linux distribution, simply point the gateway at the router's IP address. The Linux ifconfig and route commands are used to set the static LAN IP and other network parameters of the PC.
Caution: Do not change the Router IP address or DNS Address Settings! Unless you know what you are doing, you might not be able to get back on the Internet.
Navigation of the router's configuration screens vary by manufacturer, but they are generally easy to follow. You want to configure the virtual servers, so you must navigate to that screen in the router's setup. The sample screen, shown here, is an example of a typical virtual server configuration page.
Configuration of the virtual servers is straightforward. For the Airlink router in this example, the various servers are selected from a list box on the top of the page. In this screen shot, the web server is configured at port 80 (the standard default). The Slax+8 PC LAN IP address for this server is selected from a drop-down or by entering the IP address directly - 192.168.1.103.
So this screen shows that the Slax+8 PC at LAN IP address 192.168.1.103 will be allowed to act as a webserver by the router for requests coming from the Internet to static Internet IP address 184.108.40.206. Obviously, only one PC at a time on the LAN can be the webserver for the Internet from this static IP and this is why the router must be configured for the Slax+8 PC.
Similarly, the Telnet and FTP servers, both at port 22 for secure SSH communications, are set to the Slax+8 PC LAN address at 192.168.1.103. Be sure to update the virtual server settings to your router's non-volatile memory so the settings are saved in case of a power failure.
The first obvious step is to verify operation of the Channel 8 servers over the LAN. To do this, launch a browser on a Windows PC on the LAN and set the address to: http://192.168.1.103. Since the Windows PC is on the same LAN and behind the router firewall, you should quickly see the Channel 8 opening screen in the browser.
To test the outside Internet access to the Slax+8 PC will require the use of a proxy server. A PC on the same LAN cannot set its browser to the static Internet IP address: the request will not be passed by the router. So a proxy server is used. A proxy server is simply another Internet site that will re-route your browser's request through its own static IP. So your webpage request to your Internet IP address looks like an external request and it will be passed by your router to the virtual webserver you just configured.
One proxy server that can be used is at http://anonymouse.ws
You simply put this address into your browser, and anonymouse.ws provides a box for the website URL or IP address you want to view by proxy. You may have to ignore the advertisements - that is the price of a free proxy server.
Enter the your static IP address into the anaonymouse URL box: 220.127.116.11.
If everything has been configured correctly, you should see the Channel 8 opening screen.
Naturally, if you are outside of your own LAN, you will not have to use the proxy server. It should be possible to connect by simply setting the broswser address to http://18.104.22.168.
Congratulations! You now have a data logging system accessible by Internet from anywhere in the world.