Webserver behind firewall

  • Thread starter Thread starter Evan Camilleri
  • Start date Start date
E

Evan Camilleri

We installed a firewall (ISA Server) before the webserver.

Now the ASP.NET is giving me the IP of the ISA server and not the actual ip
of the users.... so i cannot know from where my users are!

The command I am using is:

Request.ServerVariables("REMOTE_ADDR").ToString

Any help?
thanks

Evan Camilleri
 
Evan,

I found following answer to a question similar to yours:
------------------------
You'll have to use server publishing to accomplish this. You'll also have
to disable the incoming web listener for any external IP you choose to
server publish a web site on.
ISA actually proxies the incoming web requests, and so terminates the
session at the external interface. Since the connection between the ISA
internal interface and the internal web server is only indirectly related to
the original request, the internal IP is the seen by the internal web
server.
 
I found a free ISAPI filter for ISA server that adds some extra variables
with information I'm asking for.

http://www.s0nic.hostinguk.com/topi...s+(Binaries)&Topic_Title=gISAPI+MS+ISA+filter


Evan Camilleri said:
We installed a firewall (ISA Server) before the webserver.

Now the ASP.NET is giving me the IP of the ISA server and not the actual ip
of the users.... so i cannot know from where my users are!

The command I am using is:

Request.ServerVariables("REMOTE_ADDR").ToString

Any help?
thanks

Evan Camilleri
 
Back
Top