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

    Anyway to use IPsec on a site-to-site VPN with one side dynamic?

    Scheduled Pinned Locked Moved IPsec
    2 Posts 2 Posters 488 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.
    • WB3FFVW
      WB3FFV
      last edited by

      I have bunches of IPsec connections running under PFsense, and they work well.  I need to setup a VPN connection to a location that only has a dynamic IP address, but know the address will change at times.

      Is there anyway to use IPsec to setup a site to site link, if one of the two links is dynamic??

      I have 10.3.0.0/16 on the LAN with a static, and want to use 10.4.0.0/16 on the side with the dynamic IP.  I have a PFsense box on each side running the current 2.4.1 code.

      Any help or hints on if this is possible would be appreciated..

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

        Sure, you just need to setup a dynamic DNS hostname on the side that changes. Then on the static side, use that hostname as the peer 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.