Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
LAN from the WAN + A Firewall: apache
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
sndarthcode
n00b
n00b


Joined: 08 Jun 2005
Posts: 10

PostPosted: Thu Jun 09, 2005 8:06 pm    Post subject: LAN from the WAN + A Firewall: apache Reply with quote

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
View user's profile Send private message
MrUlterior
Guru
Guru


Joined: 22 Mar 2005
Posts: 511
Location: Switzerland

PostPosted: Thu Jun 09, 2005 8:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
sndarthcode
n00b
n00b


Joined: 08 Jun 2005
Posts: 10

PostPosted: Thu Jun 09, 2005 8:47 pm    Post subject: Reply with quote

The second one, ( gentoo router ) how would I do that? Would a 386 be fast enough?
Back to top
View user's profile Send private message
sndarthcode
n00b
n00b


Joined: 08 Jun 2005
Posts: 10

PostPosted: Thu Jun 09, 2005 8:53 pm    Post subject: Reply with quote

The 386 has two ETHs: eth0 and eth1.
Back to top
View user's profile Send private message
MrUlterior
Guru
Guru


Joined: 22 Mar 2005
Posts: 511
Location: Switzerland

PostPosted: Thu Jun 09, 2005 9:06 pm    Post subject: Reply with quote

http://gentoo-wiki.com/HOWTO_setup_a_home-server
_________________

Misanthropy 2.0 - enough hate to go around
Back to top
View user's profile Send private message
sndarthcode
n00b
n00b


Joined: 08 Jun 2005
Posts: 10

PostPosted: Thu Jun 09, 2005 9:13 pm    Post subject: Reply with quote

THANX!!!!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum