This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to apply multiple filter actions to one proxy profile?

Hello, 

Finally, after one month of testing, my astaro box went live. Everything, except for one kernel error, works fine. I am running the latest version 9.108. 

According to the manual and various forum posts it is possible to apply multiple web filter actions to one proxy profile. But somehow, in my case this doesn't work. 

Action1: block everything except site collection A
Action2: block everything except site collection B

Now when those two actions are assigned to one profile, I am only able to visit the sites listed in the Action with the lowest number. 
So, how can I create one 'general' filter action that is assigned to every profile and a second, profile specific action while blocking everything else?

Sent from my iPad using Astaro.org


This thread was automatically locked due to age.
  • Hi,
    that won't work if you think through the logic of the process, the first profile will fail everything that is not an exception and not pass anything to the second profile.
    You will need to put the second profile in as the default.

    Ian
  • Hello Ian, 

    thanks for your reply. 

    So there's nothing like a 'greylist' like it's called with dansguardian?
    Yes I thought through the logic but came to no conclusion :-) That's why I posted the question in the forums.
  • Hi, 
    there are other ways of doing what you want. I am not in a position to experiment at the moment.

    Ian
  • Razor, say again what version you're on...

    There are "Filter Assignments" in a Profile, but no "Actions."  In a Profile, the Assignments are processed in order.  When an access qualifies for an Assignment, no further Asignments are considered.

    Maybe you could tell us what you're trying to accomplish instead of the solution you're trying.

    Cheers - Bob
  • Hi Bob, 

    I've added a signature to my profile. 
    I am running version 9.102-8. 

    What I'm trying to do:
    I have different IP groups. 
    IP group 1 may pass the proxy/web filter unfiltered, only virus scanning. 
    IP group 2 only has access to sites listed in whitelist 1 all other sites are blacklisted. 
    IP group 3 only has access to sites listed in whitelist 2
    IP group 4 only has access to sites listed in whitelist 3 and so on. 

    Now I'd like to have a profile/ACL/whitelist containing links/sites every IP group has access to. 
    E.g. Group 2 only has access to google, group 3 only amazon, group 4 only bing. Now I want a list containing microsoft.com and assign them to all the profiles above so that group 2 has access to google and microsoft, group 3 amazon and microsoft, group 4 bing and microsoft.

    Bjoern
  • Now I'd like to have a profile/ACL/whitelist containing links/sites every IP group has access to.

    This is done by creating one or more Exceptions.  Exceptions apply to all traffic.  If you're separating access groups by IP address, then you should use a different Profile for each IP range, as Ian suggested.

    Cheers - Bob
  • Hi Bob, 

    I already have different profiles for each IP group. 
    Creating excpetions did the trick. That's what I was looking for. :-)

    Thanks a lot. 

    Bjoern