Hi everyone,
Let me start this thread by saying I am a new intern at a company that needs web filtering sat up. I am new to Pfsense, Squid and Squidguard. I've done weeks of research on how to set up my company but I can't seem to get anything to work. None of the threads I found in this forum thus far have worked in the way I need them to. Allow me to explain our setup:
There are approximately 20 workstations in my building. 7 of them need admin access, or default to all. The rest need to be blocked from all website access EXCEPT a select few websites which are to be whitelisted.
Originally, I attempted to set up the limited workstations under an alias of "BlockedUsers" and then entered the workstation's IP as the host. I also made another alias called "AllowedSitesBlockedUsers" and by IP listed all whitelisted sites. I tried blocking/allowing on both the LAN and WAN side, and no configuration I tried worked. I finally gave up on this.
Next, I decided to install Squid as a transparent proxy and try web filtering with SquidGuard, due to what I've read about ease of use compared to using aliases. I have tried this and I think I am still doing something wrong as the filter is not working on the limited workstations.
Here is the setup I have currently:
Squidguard: Enabled
Don't allow IP access to URL: Enabled
Groups ACL:
Name- Internet Filter
Client- "BlockedUsers"
Target Rules List- none currently
Target Categories:Allowed Sites- Expressions: (google.com)|(204\.197\.246\.70)|(199\.237\.239\.168)| (76\.227\.216\.27)|(65\.254\.58\.21)|(184\.0\.154\.154)|(64\.20\2.170\.130)|(64\.184\.32\.112\)|(50\.17\.249\.143\) |(72\.3\.176\.67)|(64\.9\.198\.33)|(168\.144\.74\.211)|(64\.31\.183\.119)|(208\.64\.138\.65)|(69\.93\.59\.34)|(193\.192\.61\.2)|(205\.178\.145\.158)|(97\.71\.118\.189)|(216\.139\.247\.92)|(72\.167\.255\.27)|(184\.0\.154\.154)|(70\.60\.249\.136)|(202\.139\.234\.87)|(64\.78\.181\.71)|(209\.216\.124\.178)|(173\.201\.2\.165)|(184\.0\.154\.165)|(70\.60\.249\.134)|(208\.109\.162\.57)|(82\.165\.105\.22)|(70\.32\.100\.93)|(66\.180\.4\.10)|(174\.121\.108\.66)|(50\.22\.162\.97)|(67\.192\.63\.82)|(130\.94\.132\.31)|(173\.226\.124\.21)|(207\.218\.128\.6)|(140\.174\.98\.50)|(66\.212\.104\.33)|(180\.150\.140\.197)|(59\.37\.41\.108)|(216\.92\.110\.196)|(216\.235\.69\.64)|(98\.129\.132\.76)|(208\.79\.79\.20)|(216\.139\.210\.79)|(67\.18\.27\.84)|(67\.192\.55\.103)|(192\.112\.60\.69)|(66\.29\.217\.133)|(207\.148\.247\.55)|(74\.205\.123\.76)|(63\.144\.240\.81)|(173\.201\.232\.175)|(166\.70\.44\.202)|(184\.191\.132\.34)|(209\.61\.178\.176)|(64\.82\.110\.233)|(66\.7\.211\.30)|(209\.159\.201\.70)|(205\.178\.145\.158)|(66\.216\.115\.

|(69\.195\.199\.74)|(71\.6\.150\.219)|(198\.145\.115\.160)|(173\.203\.74\.5)|(67\.222\.16\.137)|(173\.236\.129\.128)|(63\.149\.92\.171)|(216\.167\.196\.76)|(209\.90\.77\.138)|(206\.188\.192\.136)|(208\.106\.213\.130)|(38\.113\.1\.143)|(67\.192\.51\.163)|(208\.109\.181\.63)|(208\.109\.162\.57)|(uberti.com)|(stoegerindustries.com)|(96\.60\.118\.100)|(216\.39\.58\.249)|(216\.39\.58\.250)|(216\.39\.58\.251) (.*(google|yahoo).*(search_query|keywords|search|query|q|p)=.*(\+|\%20)*(proxy|bypass).*(\-|\+|\%20).*(proxy|bypass).*)
Blocked Users: (192.168.40.*)|(192.168.40.*)|(192.168.40.*)|(192.168.40.*)|(192.168.40.*)|(192.168.40.*)|(192.168.40.*)|(192.168.40.*)|(192.168.40.*)|(192.168.40.*)|(192.168.40.*)|(192.168.40.*)|(192.168.40.*)
Based on what I have found I have set it up as follows but this configuration does not work. Any guidance would be greatly appreciated as I would love to learn more about this platform and package and become better at this.
Thank you in advance!
Kind regards.
