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

    Create firewall rule from DynDns clients

    Scheduled Pinned Locked Moved Firewalling
    6 Posts 4 Posters 2.7k 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.
    • N Offline
      namp
      last edited by

      Hello Guys.
      I have configured my pfsense box on bridge mode (transparent / monowall) and a new issue came up. I have created firewall rules (access lists) using a static ip source to an "internal" ip destination. I would like to use DynDns client as a source. For example i want to allow access to my internal server ( ip address 1.2.3.4)  from an external DynDns client (client.no-ip.biz) since the dynamic ip will change every so. Is there any way to configure this?

      Thank you
      Vassilis

      1 Reply Last reply Reply Quote 0
      • jimpJ Offline
        jimp Rebel Alliance Developer Netgate
        last edited by

        On pfSense 2.x, make an alias, and put the dyndns host in the alias. It will be periodically resolved and updated as needed (checked every 5 minutes)

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • N Offline
          namp
          last edited by

          Hello jimp,
          thank you for your reply. I have create an alias (client.no-ip.biz) as a host and i have use it in a firewall rule as a source single host or alias with no success.  When i change the source value with the dynamic ip of the client, the policy works fine. I think i miss something here. I also want to mention that i am not using any DNS servers on the firewall and i was wondering if this is the problem. Any suggestions?

          Thanks again
          Vassilis

          1 Reply Last reply Reply Quote 0
          • K Offline
            kejianshi
            last edited by

            I did not know that.  Thats awesome.

            1 Reply Last reply Reply Quote 0
            • N Offline
              namp
              last edited by

              jimp
              i think dns was the problem.
              thanks again!!

              1 Reply Last reply Reply Quote 0
              • F Offline
                firewalluser
                last edited by

                It does work ok as I set up a system over Xmas to use the no-ip.com service via pfsense.

                Capitalism, currently The World's best Entertainment Control System and YOU cant buy it! But you can buy this, or some of this or some of these

                Asch Conformity, mainly the blind leading the blind.

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