I'm designing a website, and I'd like to test my website from the point of view of a user which has port 80 and 443 open only. (e.g. hotspot in a restaurant, etc.)
Why? Because my website uses some internal ports, with some forwarding inside Apache, reverse proxy, etc. and I'm not sure how it would look like from a computer which can only access 80 and 443.
How to do that from Windows and Linux? i.e. :
How to temporarily block all ports except 80 and 443? (without having to mess too much with configuration)
I'm using Windows 7 and Linux Debian 8.
I was thinking about such solutions but didn't know which one to use and also this is maybe too definitive for just a small test to see how my site will react from the point of view of a user who has only 80 and 443 open...
