How to Block computer all websites except for one website..?
-
Hi i need to know how to block one computer which is connected to my network and i already have installed pfsense with squid package installed on it.
What i want to do is to block this computer accessing from any website or internet site except for one website only. Please anyone can help me with this concern. Hope somebody could helpThanks guys
-
You could do an nslookup for the one site you want to allow.
If this sites IP is 60.70.80.90 and the Hosts IP is 192.168.0.100 you could add this rule on your LAN interface:Block * 192.168.0.100 * ! 60.70.80.90 * * none
Block all from Host 192.168.0.100 which ist NOT 60.70.80.90 as destination
-
Take a look at the SquidGuard package, combined with Squid it is almost certainly what you're after.