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

ip / country block does not work with waf

SFVH (SFOS 18.0.4 MR-4) 

hello

the block rule only works with dnat

I have created the "block country" rule and blocked my cell phone for testing purposes

the dnat rule is blocked correctly

but all waf rules are not blocked

do firewall rules not apply to waf?
how to set ip / country block for waf?



This thread was automatically locked due to age.
Parents
  • Well its weird cuz for me IP/Country is working correctly. Ive checked it from different VPNs, proxies And all traffic is denied.  Im using WAF rules And on the top of all policies stand "deny countries" -> I did check logs and the traffic is  tagged as "denied".

    __________SETUP___________

    HP Small Form Factor:  i5 4Cores, 8Gb of RAM.
    Intel Network Card 5x Eth
    SSD: 256Gb

  • Hi,

    please remember that linked NAT rules take precedence over ordinary NAT rules even if you have the linked NAT rule lower down the processing order.

    Ian

    XG115W - v19.5.1 mr-1 - Home

    If a post solves your question please use the 'Verify Answer' button.

Reply
  • Hi,

    please remember that linked NAT rules take precedence over ordinary NAT rules even if you have the linked NAT rule lower down the processing order.

    Ian

    XG115W - v19.5.1 mr-1 - Home

    If a post solves your question please use the 'Verify Answer' button.

Children
  • Those are mine. 

    And i havent been touhcong default settings ;)  FW rule is blocking whole world excpet specific hostname that is allow to access VPN and other services ;) pls keep in mind that dest FW rule is behind blocking rule. DNAT rule is FIRST as u can see in the screenshot. 

    __________SETUP___________

    HP Small Form Factor:  i5 4Cores, 8Gb of RAM.
    Intel Network Card 5x Eth
    SSD: 256Gb

  • Im also using WAF and for me country block is working as expected. I have latest firmware - home usage.

    __________SETUP___________

    HP Small Form Factor:  i5 4Cores, 8Gb of RAM.
    Intel Network Card 5x Eth
    SSD: 256Gb