Apache server in network

Hya,

I've got a question. I have apache webserver software running on one of the PC's in my local network, with IP 192.168.1.4. From within the network, I can reach a certain site by typing http://192.168.1.4/website/index.html

Now here's my question. I wanna know how I can reach my webserver from other PC's, not connected to my LAN. Note that the PC with apache installed has no direct connection to the internet, but indirect, using the 192.168.1.1 machine for the WWW.

Anyone?
 
to be able to access the webserver from the internet you need some portforwarding:
the machine with the direct connection to the internet must forward all the requests on port 80 (http) to the machine with the webserver
if and how you can do this depends on the machine with the connection to the internet, if it supports portforwarding
i've got a lan here too and i'm using an old 486 as router for the internet as software i use fli4l (h**p://www.fli4l.de/) but it's mostly german ...
if you're using winxp as router i dunno if it supports that, but i thought so ... perhaps someone else can help then
FortiTude
 
I have 4 machines, all running windows 2000. The machine connected to the internet is running WinRoute Pro, wich should be capable of doing this. But when I read the help file, and set everything up the way they tell me to do, it doesn't work...
 
sorry but i never used winroute pro ..
but perhaps there is a firewall running on the machine running winroute (that denys port 80 from outside) or perhaps on the machine with the webserver (allowing port 80 only from pcs within the lan)
only guesses ...
FortiTude
 
I'm running BBIagent on an old 486 with two nics :

one nic connected to internet
the second nic connected to a hub

- use port forwading and works great
to be able to test the port forwarding inside my lan and to access the apache webserver with the internet address I use an external proxy , there are many free proxy servers, and I setup IE with this proxy ( internet options , connections, lan parameters, check use a proxy server, then you fill address and port )

- from the outside i have this url type

_hXXp://xxxx.gotdns.com:yyyy/
then you have to make a forward rule in BBIagent

in virtual services :

fill Router Port with the value equal to yyyy
fill Service Host on LAN with the internal ip address where Apache Server is running
fill Service Port with the value equal to your real port where the Apache Server is bound ( if you did not make any change in your httpd.conf file , the port is equal to 80 )

Click on Insert and that's all

For example when i type :

_hXXp://xxxx.gotdns.com:2500/

the request is redirected to

_hXXp://192.168.0.2:80/

for more informations :

_hXXp://www.bbiagent.net/en/index.html
 
Last edited:
Top