View Full Version : hyperlinks to LAN IP addresses
Cacus
03-04-2008, 06:05 PM
Hi all
Wonder if you can help. I have a machine accessible from the outside my building with a IP address (For example 101.123.8.210) now when you type in its IP you get the apache web server on that machine as you'd expect. However I have a second machine on the LAN which has a private IP of 10.0.0.20. If your on the LAN and you type in its IP (10.0.0.20) you'll get it's home page.
What I'd like is to be able to access it's homepage (and others) as a link through the 101.123.8.210 machine. So I can logo on to it and the main one when outside the building.
Is that possible?
Cheers
Steve
firepages
03-05-2008, 12:42 AM
not without 1) port forwarding on the router & 2) running apache on that server on a port other than 80
so change apache to run on (e.g.) port 2001 ['Listen' or 'Port' directive in httpd.conf] then port forward forward requests to 2001 to 101.123.8.210 in your router [... how you do that depends on the router]
oracleguy
03-05-2008, 01:58 AM
Or have two public internet IP addresses, once for each server.
sage45
03-05-2008, 03:20 AM
You can also configure a virtual directory that roots to the target computer. You can have it on port 80, so long as the host header values are different. Remember though, any host header values you set will have to be registered on the DNS servers both internally and externally.
-saige-
Cacus
03-05-2008, 10:47 AM
Hi all and thanks for the replies.
I figured it would not be easy.
The router is a Netpilot VPN - (which I hate cos it's bloody unhelpfull). This is the first port of call when you type in the external IP and has it's own web admin pages (which I need to access externally) the second device is a Stringray FTP server which also has a web admin area that I would also like to get into.
I'll have a play with port forwarding but I have a feeling you can't change the stingray http port from 80 (or that of the router).
Thanks anyway
Cacus
03-05-2008, 11:16 AM
UPDATE
Looking at the StingRay admin page it looks like I can change the HTTP-Port from 80 to anything I want.
So in if I was to change this to say 4 (which I believe is a unassigned port number) and then port forward from the router all information coming in externally on port 4 to 10.0.0.20 would this work.
I assume that the external address would be
http://101.12.131.34:4/
and that this should now load up the web pages from the Stingray unit (10.0.0.20)
the standard address
http://101.12.131.34/
would then load the routers admin pages.
Cheers
oracleguy
03-05-2008, 05:26 PM
Well you can leave the port 80 on the ftp server if your router supports redirecting traffic from another port.
So like if you connect to the external IP on port 90, it would redirect to the other server and it to the other server on port 80.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.