NethServer Version: 7.7.1908
Hello Everyone, i’m testing the Trasparent Proxy with SSL feature of NS, everything seems fine, but i’m having some issue setting up the varius profiles.
So for testing purpose i’ve enabled shalla
block categories and choose to block " porn " but it’s not working.
Under profile i’ve set a new profile with this parameters:
- Who: green (role)
- What: Categories: porn
Blacklist:
Whitelist:
Mode: Block selected categories - When:
0 Time conditions
If i delete the profile, and add the blocked categories on the “default” profile, it work without issue, but i would like to just limit a specific interface / role.
What i’m missing ? what i did wrong ?
Default Profile:
Global Options
Here are my ufdbGuard conf and logs if it can help: https://pastebin.com/Uat6x42k
According to the logs, i’ve noticed there are some syntax error on the cfg from line 280 to 298:
280 src src_Block Porn {
281 ip 192.168.110.0/24
282
283 }
284
285
286 acl {
287
288 # Profile: Block Porn
289 src_Block Porn {
290 pass !security !"porn" all
291 }
292
293 default {
294 pass !security nh_whitelist !nh_blacklist !in-addr all
295 redirect http://192.168.110.1/cgi-bin/nethserver-block.cgi?clientaddr=%a&clientname=%n&clientident=%i&srcclass=%s &targetgroup=%t&url=%u
296 }
297
298 }
But i did not manually edit the file
and also :
2020-01-30 13:11:55 [16225]
2020-01-30 13:11:55 [16225]
2020-01-30 13:11:55 [16225] FATAL ERROR: "default" ACL is not defined *****
2020-01-30 13:11:55 [16225]
Any hint’s what could be causing this issue ?
Thanks