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

    Connecting to Remote (Dynamic IP Address) Gateway

    Scheduled Pinned Locked Moved IPsec
    6 Posts 3 Posters 6.2k 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.
    • L
      lks
      last edited by

      This is a really basic question, but here goes…

      I would like to set up an IPsec tunnel between two firewall/routers that have DHCP-assigned WAN addresses.  In the VPN>IPsec>Tunnel configuration, I am asked to specify a remote gateway.  As far as I can tell, I have to input a hard-coded IP address.  Ideally, I'd just like to input a fully qualified name (that happens to be maintained with Dynamic DNS on the remote side).

      Is this possible to do in some way, or is this planned for a future release?

      Thanks.

      1 Reply Last reply Reply Quote 0
      • H
        hoba
        last edited by

        You need a static IP-Adress at at least one location. I have a setup between 12 locations where only one location has a static IP. See http://pfsense.com/mirror.php?section=tutorials/mobile_ipsec/ for a howto. OpenVPN should work between dynamic endpionts afaik. You might consider using this then instead of IPSEC (see http://pfsense.com/mirror.php?section=tutorials/openvpn/pfsense-ovpn.pdf ).

        1 Reply Last reply Reply Quote 0
        • L
          lks
          last edited by

          Thanks–that's what I figured.  I was mostly just curious if this is a planned addition at any point in the future.

          I am using OpenVPN for road warrior stuff and it works great with an XP client or with another pfSense box.  I wanted the IPsec tunnel to interoperate with a location that runs a D-Link VPN Router.

          I guess I'll try to get a static IP for one of the sides in the meantime...

          1 Reply Last reply Reply Quote 0
          • H
            hoba
            last edited by

            It's not easy to implement this in a good way and if it gets implemented it will most likely only work between 2 pfSense systems. We have discussed this at some point but there is no high priority on this item. I wouldn't expect this to happen too soon.

            1 Reply Last reply Reply Quote 0
            • D
              devoyon
              last edited by

              lks, I have to setup exactly the same configuration beetwen my pfsense (static) and my dlink (dynamic).
              How did you made such connection ?

              Best regards
              Guillaume

              1 Reply Last reply Reply Quote 0
              • L
                lks
                last edited by

                I am using OpenVPN for now because I have two DHCP endpoints.

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