Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    IPSec tunnel endpoint with dynamic IP kills connection

    Scheduled Pinned Locked Moved IPsec
    3 Posts 2 Posters 3.8k 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.
    • H
      Healing Care
      last edited by

      Hi,
      I have use IPSEC from pfsense at my office with static IP to a Cisco RV042 that has a dynamic IP (dyndns).
      Everytime the RV042 changes it's IP (i.e. 24h disconnect) the pfsense does a filter reload and kills all connections.
      It is not so bad at the moment, but if I have like 20 RV042 the connection will be down pretty often.

      Is there a way around that?

      I already use the mobile clients feature for VPN with some iphone users, whom I provide a virtual IP.
      I want a different type of security for the site-to-site with the RV042 tho.
      Is it not possible to set up multiple mobile clients?

      Or should I just add phase 2 entries to the mobile clients? They would get virtual IPs, right?

      Apr 13 11:07:16 php: : IPSEC: One or more IPsec tunnel endpoints has changed its IP. Refreshing.
      Apr 13 11:07:16 php: : Reloading IPsec tunnel 'TUNNEL X'. Previous IP 'x', current IP 'x'. Reloading policy
      Apr 13 11:07:17 check_reload_status: Reloading filter

      1 Reply Last reply
      Reply Quote 0
      • C
        cmb
        last edited by

        Filter reloads do not kill any connections under normal circumstances. If your gateway monitoring is broken, you'll kill states on filter reload. If that's the case either fix your gateway monitoring by putting in an IP that responds, or disable state killing on a down gateway under System>Advanced.

        You can't set up multiple mobile client configurations. Site to site is completely separate from that though, you have one entry for each for site to site.

        1 Reply Last reply
        Reply Quote 0
        • H
          Healing Care
          last edited by

          You were right, I feel kinda dumb now.
          I plugged one of the WAN uplinks into my RV042 to test this and yes of course the Gateway monitoring is down.

          Thanks!

          1 Reply Last reply
          Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
          Privacy Policy · Cookie Policy