I have the following network:
· openbsd 5.0 web server (LAN)
· windows 7 (LAN)
· router provided by my ISP (LAN, WAN)
· cell phone not conected to the network (WAN)
UPDATE
As LAN I mean a home network with 192.168.1.x addresses, so openbsd and windows are here. As WAN I mean Internet or public IP. With that the router is the point of connection between internet and my house.
My web application is coded in python and using cherrypy as web framework. From windows machine I can see the web pages and navigate from home to all pages served by openbsd. That means all is working perfectly on home network web requests.
The next step I did is opened the router ports to reach the web server from the outside. Before redirecting to openbsd machine I made a test using my windows machine as the web server and works fine using my cell phone as the client (meaning that from internet can reach the window machine). Changing the redirection from windows to openbsd server broke the internet access but from home network all is fine.
So, my problem is that I cannot reach the openbsd from internet. I don't know what is happening but I though that openbsd is rejecting external connections. I googled about that and find some links about pf but is disabled on my openbsd. I've also found how to get information using netstat tool and when I make a request from internet don't show anything but when requests are from home network is showing all connections.
My questions are:
- How can I know if there are incoming connections from internet?
- Is there any tool other than pf that can block external connections?
Thanks in advance.