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

    NAT port forwarding

    Scheduled Pinned Locked Moved NAT
    3 Posts 2 Posters 671 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.
    • S
      surajitom
      last edited by

      Dear Sir
      We are using pfSense ver.2.3.3 in our office. We are able to do the internet through pfSense without any problem. The problem I’m facing is that I am not able to redirect my packet to open DNS for content filtering. I have configured Dynamic DNS and it’s working fine. The cached IP is showing green. I have configured NAT as port forwarding. But my redirected packet is not reaching to open DNS at all. Even the open DNS link is also saying that my packet is not redirecting there. I want to redirect my all packets to the open DNS for content filtering all. Please help me how can I redirect the packet to open DNS.
      Thanks in advance.
      Surajit Chakraborty
      ![dynamic dns1.png](/public/imported_attachments/1/dynamic dns1.png)
      ![dynamic dns1.png_thumb](/public/imported_attachments/1/dynamic dns1.png_thumb)
      ![dynamic dns2.png](/public/imported_attachments/1/dynamic dns2.png)
      ![dynamic dns2.png_thumb](/public/imported_attachments/1/dynamic dns2.png_thumb)
      nat1.png
      nat1.png_thumb
      nat2.png
      nat2.png_thumb

      1 Reply Last reply Reply Quote 0
      • GrimsonG
        Grimson Banned
        last edited by

        You are forwarding DNS request targeting your WAN interface to OpenDNS, this of course won't affect LAN clients unless you tell them to use your WAN address as DNS server. Set the destination address to the OpenDNS IP and mark "Invert Match", so that anything not targeted at OpenDNS will be redirected there.

        1 Reply Last reply Reply Quote 0
        • S
          surajitom
          last edited by

          Dear Sir
          Thanks for your valiable information.Now I am able to block the free DNS also.I have made an allias and apply in the NAT rule.Contents are filtering as well as free DNS are being blocked.But this is a tidious and lengthy process.There are thousands of free DNS IP are exisitng. pfSense doesn't alowing me at all to put that huge amount of ip's in my allias list. Restriction is there for the number of entries.My question is there that is there any rule will be possible in pfSense that all the request will come to the pfSense and pfSense will reject if the DNS request are not matching which are mentioned in the DNS Server of the pfSense section.
          Thanks in advance.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.