Home All Groups Group Topic Archive Search About

Where to put my IIS WebServer ?

Author
14 May 2009 11:52 AM
Dan DeCoursey
Hello,

I need advice on proper placement of my webserver. Our webserver is
multihomed. One interface has out public IP bound and the other one has an
assigned IP on our internal network. Not sure why it was setup this way. the
internal NIC has no gateway.... this makes administring this box from our
corpoate lan very difficult   The server is a member server in our AD forset,
but you cant add AD user accounts to the local administratos group, you cant
browse the internal LAn very well.....there seems to be many little nit pcik
operational problems....... folks that know some history claim that adding
the proper gateway on the internal NIC config...that this gateway will become
the defacto gateware for the "whole box"  and screws up the WEBSERVER   it
becomse un reachable from the internet ...... this gatewaye on the external
port must always point to the ISP



do we have a bad design implemented ...any rccomendations ?

Author
15 May 2009 12:53 AM
Grant Taylor
On 5/14/2009 6:52 AM, Dan DeCoursey wrote:
> I need advice on proper placement of my webserver.  Our webserver is
> multihomed.  One interface has out public IP bound and the other one
> has an assigned IP on our internal network.

Ok.  Depending on the age of the box, this may have been typical for the
time or the school of thought for the admin that made this design decision.

Is the public interface in a DMZ / behind an upstream firewall?

Aside from the security implications and the need for a firewall on the
public interface, this is not entirely a bad config.

> Not sure why it was
> setup this way.

If the server was set up prior to common adoption of NAT or by an
administrator with an older or anti-NAT school of thought, this would be
one of the more obvious choices.

> the internal NIC has no gateway.... this makes
> administring this box from our corpoate lan very difficult

I take it that your corporate LAN has multiple subnets?  Thus making the
box such that it will only communicate with the internet and systems
with in the subnet that it is physically connected to.

> The server
> is a member server in our AD forset, but you cant add AD user
> accounts to the local administratos group, you cant browse the
> internal LAn very well..... there seems to be many little nit pcik
> operational problems.......

If you have a multi-subnet corporate LAN, this will indeed make things
more complicated.  Especially if you are not using bridge-head servers
for AD replication to reach this box.

> folks that know some history claim that
> adding the proper gateway on the internal NIC config...that this
> gateway will become the defacto gateware for the "whole box" and
> screws up the WEBSERVER it becomse un reachable from the internet
> ...... this gatewaye on the external port must always point to the
> ISP

This is what I would expect.

Just because you have to use your ISP's router as the box's default
gateway does not mean that you can't have routes to the rest of your
network.

Open a command prompt and set up static (persistent) routes to the rest
of you corporate LAN by way of the routers on the internal subnet that
the server is connected to.  I.e.:

    route add <network> mask <netmask> <gateway>

You can optionally set a metric and / or interface for the route.

To make the route static / persistent across reboots add a "-p" between
"route" and "add".  As always you can get a complete description via
"route /?" at the command line.

> do we have a bad design implemented ...any rccomendations ?

I don't know that it is /bad/ per say, just not as common as it once was.

The main thing you have to worry about is how much of the server is
exposed by being directly connected to the internet.  Following that you
want to worry about what could happen if someone does breach the server
and if they can then use it as a stepping stone to get to the rest of
your network.

I would make sure that this server is behind some sort of firewall.  I
would prefer a hardware firewall or something else that is separate from
the system so that it can not be changed / opened up / disabled if the
system its self is breached.  (This is the same problem with using any
host based firewall.)



Grant. . . .