Connecting Tech Pros Worldwide Forums | Help | Site Map

Remote_addr will return my web server ip address

xarrisx
Guest
 
Posts: n/a
#1: Jul 22 '05
I have a web server with a firewall.
The problem is that when i use request.servervariables("remote_addr")
the ip i get is my server's ip.
Is there any other way to retrieve my visitor's ip?

Looks like the firewall cought the visitor's request and then request's
this page from the web server-and send it back to the visitor.(but still i
am not sure if this is what happens)

If i have to reconfigure my firewall can you give me some info on how to do
this and if this is secure!!

Is this the right newsgroup for this question?

Thanks in advance!!



Bob Barrows [MVP]
Guest
 
Posts: n/a
#2: Jul 22 '05

re: Remote_addr will return my web server ip address


xarrisx wrote:[color=blue]
> I have a web server with a firewall.
> The problem is that when i use request.servervariables("remote_addr")
> the ip i get is my server's ip.
> Is there any other way to retrieve my visitor's ip?
>
> Looks like the firewall cought the visitor's request and then
> request's this page from the web server-and send it back to the
> visitor.(but still i am not sure if this is what happens)
>
> If i have to reconfigure my firewall can you give me some info on how
> to do this and if this is secure!!
>[/color]

I found this article by typing firewall and remote_addr into the search box
at www.aspfaq.com:

http://www.aspfaq.com/show.asp?id=2012

Bob Barrows
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"


Ray Costanzo [MVP]
Guest
 
Posts: n/a
#3: Jul 22 '05

re: Remote_addr will return my web server ip address


Fix your clock.

Ray at work

"xarrisx" <haris@f2d.gr> wrote in message
news:OEIbsf41EHA.3092@TK2MSFTNGP10.phx.gbl...[color=blue]
> I have a web server with a firewall.
> The problem is that when i use request.servervariables("remote_addr")
> the ip i get is my server's ip.
> Is there any other way to retrieve my visitor's ip?
>
> Looks like the firewall cought the visitor's request and then request's
> this page from the web server-and send it back to the visitor.(but still i
> am not sure if this is what happens)
>
> If i have to reconfigure my firewall can you give me some info on how to[/color]
do[color=blue]
> this and if this is secure!!
>
> Is this the right newsgroup for this question?
>
> Thanks in advance!!
>
>[/color]


Closed Thread


Similar ASP / Active Server Pages bytes