I have a client that would like to block internet access to certain machines in their organization.
Can I setup a walled graden that would allow these machine to only access certain websites? Primarily ones that tell them that they are blocked and who to contact for access to the web.
These computers are network computers not hotspot. The internal Network is Masqueraded to the internet.
Well, mark IP addresses of users and put the addresses of the website you want to allow them to view, all other redirect to one of admin pc’s in a network where you’re going to use webserver (example 192.168.1.10) with index.html (where you’re going to put contact info)
I gave example of only allowing google and yahoo, but you can build your own rules.
Remeber that if rules are not matched, it will jump to the rule
src-address=192.168.1.100/32 (user) action=nat to-dst-address=192.168.1.10 (webserver) to-dst-port=80
so always put accept rules infront of nat rule and info page will be opened.
I’d run with some form of Proxy server. This gives rather more flexibility and is easier to administer. You can block access to sites by machine or user / group of users.