Forum OpenACS Q&A: Access from behind a home firewall.
I am running a Netgear RP114 with "virtual server" pointed at port 8000. From the outside world, I have a regular IP address (184.108.40.206) and locally, the machine is known as 192.168.0.2. In my AOLServer configuration, I have:
set hostname 192.168.0.2
set address 192.168.0.2
When I try to assign the hostname/address, it can't pickup the regular address (220.127.116.11).
I am assuming something has changed in OpenACS, but I am unsure. Any tips?
I'm not sure what you mean by assigning the hostname and address. Is this in your logs, in your ifconfig, or where?
# listen on these ports
set httpport 80
set httpsport 443
# ns_info will try to guess these values based on
# your OS settings, but you may have to replace them
# with sane values if it guesses wrong!
#set hostname [ns_info hostname]
set hostname 192.168.168.4
#set address [ns_info address]
set address 192.168.168.4
set server "labyrinth"
set db_name $server
set servername "PCS-SC Community"
Then you'll have to enable port forwarding for port 80 to your hostaddress, in my case port 80 is forwarded to 192.168.168.4 . To access the webserver from inside the lan I have to use the IP address 192.168.168.4 or set www.pcs-sc.com to 192.168.168.4 in the hosts file found in my case c:\winnt\system32\drivers\etc .
When people access your website from the Internet side with the IP assigned by the provider, the router will forward the port request to your webserver. I use TZO for Dynamic DNS and when you go to http://www.pcs-sc.com you get sent to the public 18.104.22.168, the router then forward so my internal 192.168.168.4 webserver.
Hope this helps...
Might this be your problem?