I've got a Win2K box with Apache 2.0 installed running my webserver. It is on a private network 192.168.x.x behind a FreeBSD firewall running IPFW. The firewall passes port 80 and 443, and works just fine. The firewall has only two subnets connected to it, an internal (192.168.x.x) and the public internet. However, as I'm looking through the logs on the webserver, the only visitor to my website has been the firewall? If I run a javascript or SSI on the website calling the REMOTE_ADDR from the client, all I ever see is the firewall outside IP address? The ipfw firewall does have NATD installed and is forwarding all port 80 requests to the internal webserver
IPFW firewall syntax:
$fwcmd add pass tcp from any to any 80 in recv ${oif} setup limit src-addr 3
NATD port forwarding:
redirect_port tcp 192.168.1.2:http 80
What gives? How can I get the IP address from the Client on the server?
Thanks,
IPFW firewall syntax:
$fwcmd add pass tcp from any to any 80 in recv ${oif} setup limit src-addr 3
NATD port forwarding:
redirect_port tcp 192.168.1.2:http 80
What gives? How can I get the IP address from the Client on the server?
Thanks,