• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

dns redirection - local requests being redirected

Scheduled Pinned Locked Moved NAT
3 Posts 1 Posters 331 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O
    omethe
    last edited by omethe Mar 19, 2023, 1:11 AM Mar 19, 2023, 1:10 AM

    hi,

    i'm using this guide to redirect dns requests: https://docs.netgate.com/pfsense/en/latest/recipes/dns-redirect.html. I've got everything set up exactly as the guide says.

    but i'm noticing in the logs that traffic to my pfsense box from local addresses also seem to being redirected as well. Here are my rules;

    dns-nat.png

    dns-rule.png

    And here is the entry in the firewall log when I do a dig google.com;

    dns-log.png

    Have I missed something? I'm not sure why local traffic is being redirected as well?

    Thanks!

    O 1 Reply Last reply Mar 19, 2023, 1:18 AM Reply Quote 0
    • O
      omethe @omethe
      last edited by Mar 19, 2023, 1:18 AM

      @omethe said in dns redirection - local requests being redirected:

      hi,

      i'm using this guide to redirect dns requests: https://docs.netgate.com/pfsense/en/latest/recipes/dns-redirect.html. I've got everything set up exactly as the guide says.

      but i'm noticing in the logs that traffic to my pfsense box from local addresses also seem to being redirected as well. Here are my rules;

      dns-nat.png

      dns-rule.png

      And here is the entry in the firewall log when I do a dig google.com;

      dns-log.png

      Have I missed something? I'm not sure why local traffic is being redirected as well?

      Thanks!

      I checked and the resolver is set to use 10.0.0.254

      O 1 Reply Last reply Mar 19, 2023, 4:03 AM Reply Quote 0
      • O
        omethe @omethe
        last edited by Mar 19, 2023, 4:03 AM

        Nevermind, I've worked out what's going on. That firewall rule is catching all dns traffic not just the redirected traffic. It had me confused for a while!

        1 Reply Last reply Reply Quote 0
        3 out of 3
        • First post
          3/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received