Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > IIS - DNS - Internal vs. External

Reply
Thread Tools Display Modes

IIS - DNS - Internal vs. External

 
 
JohnB
Guest
Posts: n/a

 
      05-13-2010
This is most likely the wrong place to ask this, but I'm not finding a web
based Microsoft IIS forum. And the MS USENET forums for DSN or IIS look
pretty dead.

I have IIS running on a Server 2003 machine on our LAN. There's one website
on there, some type of portal where people enter their hours worked. They
have a username/password to get in. They access this both internally and
from the internet. I've been working here a short time and I found out the
other day that it's using port 80. I don't feel comfortable leaving it at
port 80 for public access. And putting it on a DMZ isn't an option, it's
also a file server.

I'd like to do 2 things:
- create a public DNS record so that outside users can enter something
like: appName.DomainName.com, instead of the public IP and then then port
number
- something similar internally with DNS, like: AppName.Server.local

To do the first part I'd:
- change the port in IIS from 80 to 8080
- map the port in the router
- create an "A" record in DNS, and point it to our static IP

The second part:
- create the DNS record on a DC

Is this possible?
How do I specify the port number for the external DNS record, so the user
doesn't have to?

Thanks.


 
Reply With Quote
 
 
 
 
kj [SBS MVP]
Guest
Posts: n/a

 
      05-13-2010
JohnB wrote:
> This is most likely the wrong place to ask this, but I'm not finding
> a web based Microsoft IIS forum. And the MS USENET forums for DSN or
> IIS look pretty dead.
>
> I have IIS running on a Server 2003 machine on our LAN. There's one
> website on there, some type of portal where people enter their hours
> worked. They have a username/password to get in. They access this
> both internally and from the internet. I've been working here a
> short time and I found out the other day that it's using port 80. I
> don't feel comfortable leaving it at port 80 for public access. And
> putting it on a DMZ isn't an option, it's also a file server.
>
> I'd like to do 2 things:
> - create a public DNS record so that outside users can enter something
> like: appName.DomainName.com, instead of the public IP and then then
> port number
> - something similar internally with DNS, like: AppName.Server.local
>
> To do the first part I'd:
> - change the port in IIS from 80 to 8080
> - map the port in the router
> - create an "A" record in DNS, and point it to our static IP
>
> The second part:
> - create the DNS record on a DC
>
> Is this possible?
> How do I specify the port number for the external DNS record, so the
> user doesn't have to?
>
> Thanks.


I'm not really a web guy, but I'd really think you'd want to get this on SSL
port 443 and keep port 80 out.
--
/kj


 
Reply With Quote
 
JohnB
Guest
Posts: n/a

 
      05-13-2010
Right now I have 443 used for remote managment for our routers.


"kj [SBS MVP]" <> wrote in message
news:...
> I'm not really a web guy, but I'd really think you'd want to get this on
> SSL port 443 and keep port 80 out.
> --
> /kj
>



 
Reply With Quote
 
Leythos
Guest
Posts: n/a

 
      05-13-2010
In article <#>,
says...
>
> This is most likely the wrong place to ask this, but I'm not finding a web
> based Microsoft IIS forum. And the MS USENET forums for DSN or IIS look
> pretty dead.
>
> I have IIS running on a Server 2003 machine on our LAN. There's one website
> on there, some type of portal where people enter their hours worked. They
> have a username/password to get in. They access this both internally and
> from the internet. I've been working here a short time and I found out the
> other day that it's using port 80. I don't feel comfortable leaving it at
> port 80 for public access. And putting it on a DMZ isn't an option, it's
> also a file server.
>
> I'd like to do 2 things:
> - create a public DNS record so that outside users can enter something
> like: appName.DomainName.com, instead of the public IP and then then port
> number
> - something similar internally with DNS, like: AppName.Server.local
>
> To do the first part I'd:
> - change the port in IIS from 80 to 8080
> - map the port in the router
> - create an "A" record in DNS, and point it to our static IP
>
> The second part:
> - create the DNS record on a DC
>
> Is this possible?
> How do I specify the port number for the external DNS record, so the user
> doesn't have to?
>
> Thanks.


Is this file server part of the domain you're talking about in another
thread?

If so, you don't want to allow anonymous port 80 access. While you might
be using SSL (443) to manage your routers (as you replied in a later
post), you can change that to any port you want and properly setup SSL
on your internal LAN side server and disable HTTP.

You can not set the port using external DNS, so, just change the router
management port, since that would only impact you.

--
You can't trust your best friends, your five senses, only the little
voice inside you that most civilians don't even hear -- Listen to that.
Trust yourself.
(remove 999 for proper email address)
 
Reply With Quote
 
JohnB
Guest
Posts: n/a

 
      05-13-2010
> Is this file server part of the domain you're talking about in another
> thread?
>

Hmm... not sure which thread. The server in question here is part of a
domain.


> If so, you don't want to allow anonymous port 80 access.

Right, I do not.


>While you might
> be using SSL (443) to manage your routers (as you replied in a later
> post), you can change that to any port you want and properly setup SSL
> on your internal LAN side server and disable HTTP.

Sure, I can change it in the router. I'm not a web guy, so I don't know how
to setup SSL. I see the box in IIS for SSL port. How is that going to
work?


> You can not set the port using external DNS, so, just change the router
> management port, since that would only impact you.

And that's what I don't understand about internet hosts/DNS. For example,
if I created an "A" record for "vpn", and someone setup a VPN client, they
could just put in vpn.domain.com, versus the ip address. But they wouldn't
have to specify a port number, the client takes care of that. If someone on
the internet wants to access our internal website, and it's not the default
port of 80, how does AppName.DomainName.com get forwarded to the IIS server,
if a port number isn't specified. That's what I'm hoping to get to. That
they just enter (from the internet) AppName.DomainName.com. But if a port
number isn't specified in a browser, isn't 80 assumed?


 
Reply With Quote
 
Leythos
Guest
Posts: n/a

 
      05-13-2010
In article <>,
says...
>
> > Is this file server part of the domain you're talking about in another
> > thread?
> >

> Hmm... not sure which thread. The server in question here is part of a
> domain.
>
>
> > If so, you don't want to allow anonymous port 80 access.

> Right, I do not.
>
>
> >While you might
> > be using SSL (443) to manage your routers (as you replied in a later
> > post), you can change that to any port you want and properly setup SSL
> > on your internal LAN side server and disable HTTP.

> Sure, I can change it in the router. I'm not a web guy, so I don't know how
> to setup SSL. I see the box in IIS for SSL port. How is that going to
> work?
>
>
> > You can not set the port using external DNS, so, just change the router
> > management port, since that would only impact you.

> And that's what I don't understand about internet hosts/DNS. For example,
> if I created an "A" record for "vpn", and someone setup a VPN client, they
> could just put in vpn.domain.com, versus the ip address. But they wouldn't
> have to specify a port number, the client takes care of that. If someone on
> the internet wants to access our internal website, and it's not the default
> port of 80, how does AppName.DomainName.com get forwarded to the IIS server,
> if a port number isn't specified. That's what I'm hoping to get to. That
> they just enter (from the internet) AppName.DomainName.com. But if a port
> number isn't specified in a browser, isn't 80 assumed?


Because HTTP is port 80 by default, HTTPS is port 443 by default - the
clients apps (like FireFox, IE, Opera) know this and will use the
default port. Yes, if HTTP is used without :80, then port 80 is assumed,
since you're talking about HTTP traffic.

The same is true of your VPN, depending on the VPN client it will
automatically want to use certain ports.

As for managing your routers, you can always set them to port 444 and
then you would type HTTP://router.ip.address:444 to access them from a
web browser.

Before you screw this up and compromise your network you should hire a
consultant to do this right the first time.

--
You can't trust your best friends, your five senses, only the little
voice inside you that most civilians don't even hear -- Listen to that.
Trust yourself.
(remove 999 for proper email address)
 
Reply With Quote
 
JohnB
Guest
Posts: n/a

 
      05-13-2010
> Because HTTP is port 80 by default, HTTPS is port 443 by default - the
> clients apps (like FireFox, IE, Opera) know this and will use the
> default port. Yes, if HTTP is used without :80, then port 80 is assumed,
> since you're talking about HTTP traffic.
>
> The same is true of your VPN, depending on the VPN client it will
> automatically want to use certain ports.
>
> As for managing your routers, you can always set them to port 444 and
> then you would type HTTP://router.ip.address:444 to access them from a
> web browser.
>
> Before you screw this up and compromise your network you should hire a
> consultant to do this right the first time.


The internal website has been publically accessible from port 80 for about 5
years now. I can't do much worse than that. Well, I guess I could somehow
make it totally inaccessible. But, I think I'm pretty close to figuring
this out. I appreciate your advice.



 
Reply With Quote
 
+Bob+
Guest
Posts: n/a

 
      05-14-2010
On Thu, 13 May 2010 19:41:47 -0400, "JohnB" <> wrote:

>> Because HTTP is port 80 by default, HTTPS is port 443 by default - the
>> clients apps (like FireFox, IE, Opera) know this and will use the
>> default port. Yes, if HTTP is used without :80, then port 80 is assumed,
>> since you're talking about HTTP traffic.
>>
>> The same is true of your VPN, depending on the VPN client it will
>> automatically want to use certain ports.
>>
>> As for managing your routers, you can always set them to port 444 and
>> then you would type HTTP://router.ip.address:444 to access them from a
>> web browser.
>>
>> Before you screw this up and compromise your network you should hire a
>> consultant to do this right the first time.

>
>The internal website has been publically accessible from port 80 for about 5
>years now. I can't do much worse than that. Well, I guess I could somehow
>make it totally inaccessible. But, I think I'm pretty close to figuring
>this out. I appreciate your advice.
>
>


John:

Your traffic from outside should really use https as otherwise the
usernames and passwords are sniffable on the network. You will need to
purchase an SSL certificate and install that on the server. A good
book on IIS should explain the process. Certificates can be had for
$100 or less these days.

That said, if you wanted traffic for a specific IP to route to a
specific internal IP/port, you'd generally do that in the router, not
on the web server. The web server would be set up to listen on
whatever port you have the router forwarding. But, that would not be
the right approach in this case. Security by obscurity is really no
security at all.


 
Reply With Quote
 
JohnB
Guest
Posts: n/a

 
      05-14-2010
After further review.... I think I'm going to leave it as is for now. Maybe
talk the manager into buying the software VPN client for our routers.

Thanks for the suggestions.


"+Bob+" <> wrote in message
news:...
> John:
>
> Your traffic from outside should really use https as otherwise the
> usernames and passwords are sniffable on the network. You will need to
> purchase an SSL certificate and install that on the server. A good
> book on IIS should explain the process. Certificates can be had for
> $100 or less these days.
>
> That said, if you wanted traffic for a specific IP to route to a
> specific internal IP/port, you'd generally do that in the router, not
> on the web server. The web server would be set up to listen on
> whatever port you have the router forwarding. But, that would not be
> the right approach in this case. Security by obscurity is really no
> security at all.
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using internal 300GB HDD as an external HDD for my laptop.? GSi-R Windows Vista File Management 4 03-05-2008 05:30 PM
Re: WM6 external IP - internal network Chris De Herrera ActiveSync 0 02-13-2008 03:27 AM
File copy from external XP Pro HD to internal Vista Home Premium H Neagle Windows Vista Administration 5 06-11-2007 04:59 PM
Vista NOT allowing any dvd writers, internal or external Tdawgx Windows Vista Installation 2 12-10-2006 12:45 PM
Re: Activesync 4.1, Exchange 2003, internal and external IP addresses Chris De Herrera ActiveSync 0 01-13-2006 03:51 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59