I think that the problem is more of people accessing a web site outside
their own firewall - this problem - to my knowledge can't be solved - as the
requesting remote host is the proxy server (/firewall/router)
Cheers
Nigel
-----Original Message-----
From: Jeffrey Widmer [mailto:jwidmer@o...]
Sent: 07 December 2000 17:34
To: Security_asp
Subject: RE: IpAddress or ComputerName of a PC behind a firewall
Is the web server also behind the firewall? If it is then you should be
able to get the internal IP address from the server variables. Make sure
the internal users are not going through the firewall before getting the
page from the web server. To do this set up your WINS (if you using one)
server to point to the web server internally. For example, on the WINS
server point the name Intranet (just an example) to the web server machine.
Now when the internal uses type in the address http://Intranet in their
browser the WINS server will catch it before it goes through the firewall
and send the request to the web server. At this point the firewall has not
gotten involved and the IP addresses will be the internal one. Taking it
one step further, set the host headers name on the web server to recognize
the name, this will allow you to have multiple web sites on the same
machine. To do this, select your web site and choose properties. Select
the Web Site tab and click on the Advanced button. Click Add and type in
the host header name (IP address = all unassigned; port = 80). Add as many
host headers as you want that will access this web site, i.e. Intranet,
Intranet.Company.com, etc. Now the URL http://Intranet will point to this
website internally and http://Intranet.Company.com will point to the web
site externally. And you can also add more web sites to this web server,
just set their host headers and remove the default setting.
Hope this was helpful, let me know if this works.
-Jeff
-----Original Message-----
From: M R Anand Kumar [mailto:anand.kumar@n...]
Sent: Thursday, December 07, 2000 12:02 PM
To: Security_asp
Subject: RE: IpAddress or ComputerName of a PC behind a firewall
Thanks. Actually I am interested in the private Ip Addresses. If there is
some way to get it and save it, it would help in identifying the machine
causing the problem.
Regards
Anand Kumar
mailto:Anand.Kumar@n...
> -----Original Message-----
> From: nigel.barker@s... [mailto:nigel.barker@s...]
> Sent: Thursday, December 07, 2000 10:46 AM
> To: Security_asp
> Subject: RE: IpAddress or ComputerName of a PC behind a firewall
>
>
> Not to my knowledge - the reason behind this is that the p.c.'s behind a
> firewall will probably have private IP Addresses (i.e. Local to that
> Intranet) The request for the page usually comes from a proxy
> server which
> in turn routes the page to the requester - this is why the page
> IP addresses
> are the same - they are that of either the router, firewall or
> proxy server
> that they sit behind.
>
> But I might be wrong!
>
> Nigel
>
> -----Original Message-----
> From: Anand Kumar [mailto:Anand.Kumar@n...]
> Sent: 07 December 2000 16:16
> To: Security_asp
> Subject: IpAddress or ComputerName of a PC behind a firewall
>
>
> Hi,
>
> Is there some way to get the IpAddress or the ComputerName of a PC behind
> a firewall.
>
> I am tracking the ipaddress (REMOTE_ADDR) and page visits, but in certain
> situations need to determine where an entry came from. All PCs sitting
> behind a firewall have the same ipaddress in my log. REMOTE_HOST and
> REMOTE_USER are blanks.
>
> Is this possible? Any help will be appreciated.
>
> Thanks in Advance
>
> Anand Kumar
>
>