How to Block computer all websites except for one website..?
parengpogi last edited by
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 help
Nachtfalke last edited by
You could do an nslookup for the one site you want to allow.
If this sites IP is 22.214.171.124 and the Hosts IP is 192.168.0.100 you could add this rule on your LAN interface:
Block * 192.168.0.100 * ! 126.96.36.199 * * none
Block all from Host 192.168.0.100 which ist NOT 188.8.131.52 as destination
Cry Havok last edited by
Take a look at the SquidGuard package, combined with Squid it is almost certainly what you're after.