adsl, lan and webserver q
- Started
- Last post
- 5 Responses
- mrming
Hi all,
Wonder if any techy peep could help me out. I'm trying to set up a public webserver on a LAN which is behind a hardware firewall. The telco has given us 5 static IP addresses to go with the ADSL line.
The firewall is configured in NAT mode.
I can alter the HTTP rule on the firewall's admin panel to allow incoming traffic on port 80 to a particular IP address on the LAN.
My question is:
Do I assign the static address that the telco gave me to the server machine, and fill this in on the firewall's admin panel, or do I give the server an normal (internal) IP address like all the other machines next to it on the LAN?
Any help would be greatly appreciated.
- ribit0
I would have thought you assign it an internal IP... and then assign the various ports to be redirected to it (or other machines) for FTP, web services etc... or even assign the server as the straight-thru DMZ(demilitarized zone) port (if your firewall has that function)...
so the firewall is always the one that has the main IP, and redirects ports/traffic to machines within the LAN
- mrming0
As far as I can understand the firewall's got it's own static IP which all the machines on the LAN hide behind, so if I allow incoming traffic on port 80 to go to the web server machine's local IP - then anyone who types in the firewall's IP in their browser will be sent to the webserver?
Sorry I'm totally ignorant but the network guy's on holiday and it's urgent!
- ribit0
that's right..
same with ftp (port 21?) , Apple File Sharing, (548), SSH, etc
You need to allow incoming and outgoing traffic (to the right ranges on LAN and WAN) seperately, depending on the setup interface..
I'm new to this too, so also struggling... but managed to setup my D-Link 614+ ethernet/ADSL/wireless router to do all this...
- mrming0
aggh - I'm still not getting this right.
any ideas what I'm doing wrong?
- mrming0
OK I've sorted it now!
One on One Nat needed to be enabled...