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

Block HTTP and HTTPS for some PCS

Friends, I installed a Sophos UTM (Astaro) in client software version, I downloaded the ISO and installed on a PC.

The client must block access to http and https for a specific pool of machines in your network, actually these machines should only access the services of www.mcafeeasap.com address on any port, these machines are able to receive virus definitions and security management center that McAfee is in the cloud.

I tried a lock on the doors http and https for this pool of machines, but they will still normal browsing, the firewall rule was not obeyed.

What is the correct way to meet this demand? How to block this pool of machines for all internet sites, but allowing access only to McAfee?

Thanks and I look forward guidance!


This thread was automatically locked due to age.
Parents
  • If your Astaro/Sophos is configured to use Web Filtering in transparent mode with HTTP and HTTPS scanning enabled, you must deny these specific clients the right to use it.  When you instill your firewall rule to block the clients from using HTTP/HTTPS outbound otherwise, it still succeeds to connect because it is hitting the web filter (proxy service) on the Sophos.  This service is governed by  the USR_INPUT chain, not the USR_FORWARD chain that you're modifying with your firewall rules.

    What you need to do is add the clients that shouldn't be able to use the proxy service to the Skip transparent mode sources list under Web Protection -> Web Filtering -> Advanced.  Then uncheck the Allow HTTP/S traffic for listed hosts/nets box directly below.  Once done, these hosts will not be able to use the proxy to get service.

    EDIT:  Exception isn't what you want.  Bolded the change.  Thanks BAlfson for the correction!
  • Ok, I get it, I did it and it worked in firewall rules have disabled http, https and dns for the rand machines that are nothing more by proxy.
    But I must allow these machines to access only the McAfee website, what should I do? Well I created a rule above all, for these machines, releasing only http to the destination host dns mcafee.com, but it did not work, forgot something?

    I await!
  • Ok, I get it, I did it and it worked in firewall rules have disabled http, https and dns for the rand machines that are nothing more by proxy.
    But I must allow these machines to access only the McAfee website, what should I do? Well I created a rule above all, for these machines, releasing only http to the destination host dns mcafee.com, but it did not work, forgot something?

    I await!


    The Web Proxy implicitly sets it's own required packetfilter rules. As they are from order in fron of you manual created block rules, they will not work.

    You can use proxy profiles to solve your issue

    create 2 proxy profiles.
    1. Profile
    Source Networks is a network group containing all hosts, which have limited or blocked access to internet
    Choose as Filter Action (Filter Assignement) the default block filter action, if all webtraffic has to be blocked. Otherwise create your own filter action in whitelist mode (DEFAULT EVERYTHING BLOCKED), and allow required sites as the McAffee update sites in the whitelist.

    2. Profile
    Source Networks are your allowed networks
    Choose you required filter actions (filter assignements)

    As the proxy profiles are ordered, and processes one for one until first match, you restricted hosts should be blocked / limited as defined, the other clients in the network gets the defined access to Internet.
  • Hello, thanks for the help. In fact the use of profiles Webfilter is the best solution, did the tests and it worked well.

    When I create the profile Webfilter to a specific network range, this profile will always have priority over the default profile, correct? The rest of the machines, which are in other ranges, will always use the default profile.

    I have a doubt: I created a profile, and attaches to a range adjusted to block all websites then liberated only Terra - Notcias, vdeos, esportes, economia, diverso, msica, moda, fotolog, blog, chat site, only that whatever comes after. Com.br such as www .terra.com.br / news, news Sophos blocks the session, it is as if the access was only released to Terra - Notcias, vdeos, esportes, economia, diverso, msica, moda, fotolog, blog, chat and nothing else, tried using this way: * terra.com.br * in rule profile, but it did not work, have any tips on how I can release a certain website and all its contents?
Reply Children