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

    Dynamic DNS as My Identifier– Cannot Establish the tunnel

    Scheduled Pinned Locked Moved IPsec
    3 Posts 3 Posters 2.5k 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.
    • T
      translatr
      last edited by

      Hello, I have setup two pfsense; one using static IP address and the other is dynamic. I saw a thread regarding this so what I did is I created a dynamic dns in no-ip.org so that it will become my identifier. seems that my configuration were ok for both sides (as i followed the instruction on the thread in this forum), but unfortunately, it is still unable to connect. the log says unknown gateway/ dynamic. to check if my dynamic dns is working, i did an nslookup on both network and it can resolve. what seems to be lacking on my configuration? do i need to configure the dynamic dns on the static pfsense box too (i configured the dynamic dns on the dynamic pfsense box)? Thank you in advance!

      1 Reply Last reply Reply Quote 0
      • K
        kapara
        last edited by

        why not just use a distinguished name?  That way you define it yourseld and it remains static.

        Skype ID:  Marinhd

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

          You're overcomplicating it a bit. The dynamic DNS identifier type is only needed if that end is behind NAT and can't directly see its external IP.

          Just use the dyndns hostname in the peer address on the other side, and leave all of the identifiers set to "My IP address" or "Peer IP address".

          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
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.