SRX

 View Only
last person joined: 2 days ago 

Ask questions and share experiences about the SRX Series, vSRX, and cSRX.
  • 1.  Multiple UTM policy

    Posted 11 days ago

    I tried to configure multiple UTM policies, but neither of them worked correctly. The source address from VLAN 24 matches policy1, but it does not block traffic. However, the source address from another VLAN matches policy2 and works fine. Where did I go wrong?

    set security utm utm-policy utm-policy1 web-filtering profile BLOCKV24policy
    set security utm utm-policy utm-policy2 web-filtering profile BLOCKALLpolicy

    set security policies from-zone trust to-zone untrust policy BLOCK_WEB_V24 match source-address VLAN24
    set security policies from-zone trust to-zone untrust policy BLOCK_WEB_V24 match destination-address any
    set security policies from-zone trust to-zone untrust policy BLOCK_WEB_V24 match application any
    set security policies from-zone trust to-zone untrust policy BLOCK_WEB_V24 then permit application-services utm-policy utm-policy1

    set security policies from-zone trust to-zone untrust policy default-permit match source-address any
    set security policies from-zone trust to-zone untrust policy default-permit match destination-address any
    set security policies from-zone trust to-zone untrust policy default-permit match application any
    set security policies from-zone trust to-zone untrust policy default-permit then permit application-services utm-policy utm-policy2



    ------------------------------
    Ekachai Teerakaew
    ------------------------------


  • 2.  RE: Multiple UTM policy

    Posted 10 days ago

    You also have to show the BLOCK24policy and BLOCKALLpolicy web-filtering profiles.



    ------------------------------
    Nikolay Semov
    ------------------------------



  • 3.  RE: Multiple UTM policy

    Posted 8 days ago

    Thanks for the reply!

    web-filtering {
        http-reassemble;
        http-persist;
        juniper-enhanced {
            server {
                host rp.cloud.threatseeker.com;
                port 80;
            }
            profile BLOCKALLpolicy {
                category {
                    Enhanced_Adult_Content {
                        action block;
                    }
                    Enhanced_Violence {
                        action block;
                    }
                    Enhanced_Gambling {
                        action block;
                    }
                }
                default permit;
                custom-block-message "this page is not allow";
                fallback-settings {
                    default log-and-permit;
                    server-connectivity log-and-permit;
                    timeout log-and-permit;
                    too-many-requests log-and-permit;
                }
                timeout 119;
            }
            profile BLOCKV24policy {
                category {
                    Enhanced_Entertainment {
                        action block;
                    }
                    Enhanced_Adult_Content {
                        action block;
                    }
                    Enhanced_Social_Networking_and_Personal_Sites {
                        action block;
                    }
                }
                default permit;
                custom-block-message "ACCESS DENIED";
                fallback-settings {
                    default log-and-permit;
                    server-connectivity log-and-permit;
                    timeout log-and-permit;
                    too-many-requests log-and-permit;
                }
                timeout 119;
            }
        }
    }



    ------------------------------
    Ekachai Teerakaew
    ------------------------------



  • 4.  RE: Multiple UTM policy

    Posted 7 days ago

    Your policies are mostly permissive. If a website is allowed when it seems it should be blocked, you should check how the website is categorized in order to see if your policy is working ok or not.

    See this article on how to check a website category: https://supportportal.juniper.net/s/article/Link-to-check-category-for-Enhanced-Web-Filtering?language=en_US



    ------------------------------
    Nikolay Semov
    ------------------------------