Block access from WAN but not from LAN I have an OSX Lion box behind a router (firewall on in the router). On the OS X, if I switch the firewall on, I'm unable to access the web server running on this box from outside the network (i.e. WAN). This is as expected.

However, if I try to access the web server from within the network (i.e. LAN), my requests are still blocked.

Two questions:


Is this the expected behavior?
If (1) is true, can I do/get something else that can enable me to do what I want i.e. block access from WAN but allow access from LAN?


EDIT:
I have "Allow Incoming Connections" enabled for "Web Sharing" in firewall options.
Solved the problem:

In the firewall options dialog (attached along with the question) there's another entity 'httpd' which was set to "Block incoming connections". Setting it to "Allow incoming connections" did the trick.

I do not know where it's coming from though.