Derek Jennings wrote:
Well if you are using the same IP address you sent this mail from (213.40.155.128 ), then I have already tried it.
The response is no reply.
The good news is that I do not get your router admin page. The bad news is I do not get your web server either.
Before you ask. The easy way to enable a web server in Mandrake is to install the drakwizard package and then start Mandrake Control Centre. There will be a new server section in which is a wizard to set up an Apache web server.
There will be a default home page provided. To add new pages insert them into the directory /var/www/html
derek
To add to the story, though i see various good answers, yet however do not really issueing some vital details.
Usually, if you would try to access your server *through* your WAN-ip you try to do some digital loopback request.
So you do a request to your server to your WAN ip, your router sends the request to the DNS server of your host provider (if you use the net-name of your ip) else it requests the route to it from the routing-table.
It notices that the originating IP is the same as the target-ip and shuts down the connection without replying.
If you are lucky, some routers are smart enough to figure out that the request was originated from an Internal LAN ip and interprets your request as trying to access the router's configuration page (that's why you get a login dialogue).
Most routers are not designed to do this and if you really would like to do that it would require some special settings if the router supports it, or you would require some trickery with another router that translates your WAN-ip to the IP of your host-server.
So in a lot of cases, you generally can reach your own server only by using it's LAN address from within your own LAN.
I read something about browsing to the http://localhost. However, this only works on the machine you run the server on. If this is however another machine within your LAN it would be better just to type in the ip-address of that machine.
Until so far this is only regarding internal traffic issues.
Now for external traffic (can people outside reach your server?): Good forwarding is being done through the Network Address Transalation table (NAT, NAPT or some vendors refer to Virtual Servers). These configurations can mostly be found inside the routers. Important things to know: outport: the port that broadcasts (listens to incoming request from the outside world) out-ip:usually this is 0.0.0.0 (WAN and open to everyone) inport:The port your local server runs on in-ip:Ip address of the computer, the server runs on.
The inport and outport do not necessarily have to be the same, specially if you would like to cloak a commonly known port you can change it.
(E.g. port 21 is usually ftp. You can run an FTP server on your local LAN-ip at port 21, however you can tell your router to accept ftp-incoming requests on a totally different port, so you make your server not so obvious to find)
Hope this helped a bit.
____________________________________________________ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com ____________________________________________________
