Navigation

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

    dns redirection - local requests being redirected

    NAT
    1
    3
    51
    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

      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 Reply Quote 0
      • O
        omethe @omethe last edited by

        @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 Reply Quote 0
        • O
          omethe @omethe last edited by

          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
          • First post
            Last post