Forum Moderators: open
I've set my router up here at home to forward on port 80 to one of my test servers....but I'm fairly (read:very) new to this and I guess I've missed a step somewhere...whenever I access my external IP address it asks for a username and password (for my router), but I don't want this - I want to be forwarded!
If someone could shed some light on this it would be greatly appreciated! Ta!
B
The router is used to handling requests from the outside and forwarding them to the corresponding machine. In your case all port 80 traffic will be passed on port 80 to your test server. From the inside however your router treats these requests very differently. Any request that passes through the router from the inside will not pass through it, it will be presented with the router login page instead.
A good example is being inside your house and trying to post a letter to yourself.
One work around I have found is to alter the hosts file on your pc (the one you are surfing with) and add the following entry.
outside.ip.address server.lan.address
This means that every time you use the external address, your P will not request that address, it will instead send an http request for the servers internal IP.
If you have a domain name pointing to your ip address you could add the following to your hosts file.
www.example.com server.lap.ip.address
this way if www.example.com is typed into the address bar, your pc will request the servers LAN ip address instead of the domain.
Hope this helps.
Mack.