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

Sophos XG Firewall Rule Best Practice

Hi All,

I just started testing Sophos XG as a VM in Hyper-V to make sure it will be suitable for our needs. As a Sophos UTMv9 user for a few years, I'm used to how that functioned and I noticed that, by default, Sophos UTM would block everything except what I specifically allowed. This meant setting up Definitions for services, Hosts, FQDN Hosts...etc to enable my network to talk to the outside world for all that was needed.

When I setup Sophos XG, I saw that I have the option to select a default "Allow All" except what's not allowed via any of the policies like adult content, inappropriate content for business, I can also block specific sites...etc. This options essentially allowed me to create a single firewall rule including IPS policy, traffic shaping and Web policy all within this single rule. I love this simplicity of setup but I'm not sure that this is what would be considered a best practice. For those of you here who've been working with Sophos XG for some time, what has been your standard approach? Do you setup with Deny All and then work to allow only those services that are required or do you Allow All except what you want blocked?

Call me paranoid, but I'm concerned that a single firewall rule, even if I've selected everything I want blocked, is the right way to go. Btw I've confirmed that the firewall rule is working as it is blocking access to resources I wanted blocked.

Would appreciate any insight you might have.



This thread was automatically locked due to age.
Parents
  • Nash,

    the intent of XG is to reduce the number of rules and to have every setting in one location. Keep in mind that as best practice you should use multiple rule if you need multiple ports to be opened.

    For example:

    • One rule for DNS
    • One rule for Web Services
    • One rule for FTP

    More restricted you are, more safe your network will be.

    Enjoy it!

  • Hi Luk,

    So it sounds like you're recommending a Deny All except for those service I allow type of approach, am I understanding you correctly? Similarly to how I had Sophos UTM9 setup, if I wanted SMTP for Office 365, I needed to allow that service otherwise it wouldn't work.

    The way I have it setup now is reversed. I allow all, except for whatever IPS and Web policies block. Sounds like that's not the recommended approach.

Reply
  • Hi Luk,

    So it sounds like you're recommending a Deny All except for those service I allow type of approach, am I understanding you correctly? Similarly to how I had Sophos UTM9 setup, if I wanted SMTP for Office 365, I needed to allow that service otherwise it wouldn't work.

    The way I have it setup now is reversed. I allow all, except for whatever IPS and Web policies block. Sounds like that's not the recommended approach.

Children
  • Nash,

    if you need to block something on web or application, one rule can be used (if the ports are HTTP/HTTPS).

    Any as service inside the LAN to WAN rule is not safe at all.

  • Hi All,

    I am new to Sophos Firewall. I setup a lab a few day ago and until now it is not working at all. I deleted default rule, and create 4 rules and 2 IP Host Group!
    I tested on IP: 172.16.16.11/24 by add to ITGroup where this group is going anywhere. Not surprise, I can go anywhere.
    But when i disabled that rule above which is rule id number 2, i still can go anywhere!

    Nothing special here:
        1 - default ip LAN is use: 172.16.16.0/24
        2 - Sophos XG Firewall Home Edition 16.05.8320 MR-8
        3 - i DIDNOT mention what my rule function, because i screenshot it here:

    I want him to block anything! But he's not! that why i say my lab is not working.

  • Chhai,

    please note that only one question per thread is allowed. Open a new thread.

    Thanks

  • Hi lferrara,

    I m using Web Proxy to allow browsing for Branches users but i cannot choose service HTTP/HTTPS only and must leave it as any service cause its by XG design when use it as proxy according to a support case.

    If you have any workaround, please help.