For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > April 2004 > CGI.pm - Remote_Addr









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author CGI.pm - Remote_Addr
Mark Weisman

2004-04-03, 8:30 pm

This might be a little off-topic and/or a double post of which I'm
really sorry, but my mail server has done bad things to me lately. I'm
trying to pull a remote_addr with CGI.pm, however, the machine I'm doing
it on is behind a firewall. The Remote_addr keeps showing the firewall
address regardless where I login from. How do I set up the net to grab
the right remote_addr on the server? I'm using NATD and IPFW at the
firewall to direct traffic to the internal web server. Any help would be
greatly appreciated.

Res Ipsa Loquitor,
Mark-Nathaniel Weisman
Site Master
Mystic_One Internet Gaming Server
Anchorage, Alaska
http://games.mystic1.net


Wc -Sx- Jones

2004-04-03, 9:30 pm

Mark Weisman wrote:
> trying to pull a remote_addr with CGI.pm, however, the machine I'm doing
> it on is behind a firewall. The Remote_addr keeps showing the firewall
> address regardless where I login from. How do I set up the net to grab
> the right remote_addr on the server? I'm using NATD and IPFW at the



This is a side effect of NAT. Is the firewall
acting as a proxy - passing requests to the
internally protected WWW?

If so - allow a direct WWW connection.

Sorry;
Bill
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com