View previous topic :: View next topic |
Author |
Message |
sndarthcode n00b
Joined: 08 Jun 2005 Posts: 10
|
Posted: Thu Jun 09, 2005 8:06 pm Post subject: LAN from the WAN + A Firewall: apache |
|
|
Hi Everyone,
I have an old computer running Gentoo, that both localhost, and the LAN can connect to, to view my webpage. This server is running Apache, and seems to work fine. My question is how to get the website from a non-networked computer, a remote client on the world wide web. This is my network: Direct Cable Connection to Cable Modem to Firewall/Router. This Firewall/Router has multiple clients that run as DHCP clients of the Firewall/Router. My web server computer is one of those clients. I have to go through the Firewall/Router. The problem here is I don't know how to get the Firewall/Router to setup a Virtual Server that would forward web HTTP requests to port: 80 of the server computer, nor do I think it can. This is because it is a very old ( discontinued ) piece of hardware. It is a 3com Officeconnect Firewall 25 ( not DMZ or whatever... ) )with DHCP capiblities, hooked up to a hub. The hub just allows for more clients then the back of the Firewall alows; it has only one LAN port, and one WAN port.
I am not sure if this is posible, but in the same manner of requesting a port ( example: http://www.site.com:80 ) , is it posible to request a certain DHCP Client that way? Making the websites address: http://myIP:myServerDhcpIP:PORT ?
Is there a better way of doing this, or if it is not posible, what is a better way?
THANK YOU ALL! |
|
Back to top |
|
|
MrUlterior Guru
Joined: 22 Mar 2005 Posts: 511 Location: Switzerland
|
Posted: Thu Jun 09, 2005 8:41 pm Post subject: |
|
|
If your firewall supports DNAT, then you can use that to redirect inbound port 80 to any host you like on your internal network. If not, then you've two options: either replace your router with a newer one that can, or chuck it away completely and make your gentoo box the router/firewall. _________________
Misanthropy 2.0 - enough hate to go around
|
|
Back to top |
|
|
sndarthcode n00b
Joined: 08 Jun 2005 Posts: 10
|
Posted: Thu Jun 09, 2005 8:47 pm Post subject: |
|
|
The second one, ( gentoo router ) how would I do that? Would a 386 be fast enough? |
|
Back to top |
|
|
sndarthcode n00b
Joined: 08 Jun 2005 Posts: 10
|
Posted: Thu Jun 09, 2005 8:53 pm Post subject: |
|
|
The 386 has two ETHs: eth0 and eth1. |
|
Back to top |
|
|
MrUlterior Guru
Joined: 22 Mar 2005 Posts: 511 Location: Switzerland
|
|
Back to top |
|
|
sndarthcode n00b
Joined: 08 Jun 2005 Posts: 10
|
Posted: Thu Jun 09, 2005 9:13 pm Post subject: |
|
|
THANX!!!! |
|
Back to top |
|
|
|