Guest User!

You are not Sophos Staff.

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

DNAT black hole/null routing not working

I have been reading through Rulz and this earlier post trying to get my blackhole/null route working with DNAT since my firewall rules were not (as explained by Rulz).  From the latter link, BAlfson said the following is a valid DNAT configuration:

"DNAT : {group of bad IPs} -> Any -> {group of WAN (Address) objects} : to {non-existent IP}"

So I changed my configuration to look just like that:

  • "Bad actors" contains a variety of IP address Host objects,
  • "x Interfaces" contains a variety of * (Address) network objects

  • and "Black hole" is another Host object pointing to an invalid IP, which in my mind completes the null route creation

As you can see, I've told it to create an automatic firewall rule, and verified it is the first firewall rule to be processed after toggling all other NAT rules off and on again:

 

As a test, I added NPR.org's IP address to Bad actors, and then tried visiting their website via that same IP (HTTP & S) and it still loaded fine.

From what I can tell, there are no exceptions in place for my machine.

Am I contradicting the DNAT by adding both my external WAN interface IPs and the LAN interface IPs?

EDIT: disregard above question, I've tried only having external interfaces as well as just the 1 external interface (address) object with no change.

 

What should I try next? 



This thread was automatically locked due to age.
Parents
  • As a test, I added NPR.org's IP address to Bad actors, and then tried visiting their website via that same IP (HTTP & S) and it still loaded fine.

     

    I'm confused at what you are trying to achieve here. In the above sentence, it appears you have added NPR.org into the "bad actors" and then tried to visit NPR.orgs website?

    The blackhole route would stop NPR.orgs going to any site behind the the UTM other than the blackhole specified host. The above post infers you are trying to achieve this block in the outbound direction rather than the inbound?

Reply
  • As a test, I added NPR.org's IP address to Bad actors, and then tried visiting their website via that same IP (HTTP & S) and it still loaded fine.

     

    I'm confused at what you are trying to achieve here. In the above sentence, it appears you have added NPR.org into the "bad actors" and then tried to visit NPR.orgs website?

    The blackhole route would stop NPR.orgs going to any site behind the the UTM other than the blackhole specified host. The above post infers you are trying to achieve this block in the outbound direction rather than the inbound?

Children
No Data