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

    How to config 2 or more dailup IPSec VPN tunnel using Remote gateway IP-0.0.0.0 ? The error is showning " The following input errors were detected: The remote gateway "0.0.0.0" is already used by phase1 "DAILUP-2"."

    Scheduled Pinned Locked Moved IPsec
    6 Posts 2 Posters 994 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.
    • S
      sandeepvkm
      last edited by

      DAILUP TUNNEL ISSUE .JPG

      How to config 2 or more dailup IPSec VPN tunnel using Remote gateway IP-0.0.0.0 ? The error is showing
      " The following input errors were detected: The remote gateway "0.0.0.0" is already used by phase1 "DAILUP-2"."

      Dear team Kindly help us to solve this issue

      1 Reply Last reply Reply Quote 1
      • kiokomanK
        kiokoman LAYER 8
        last edited by

        uhm you need to patch
        vpn_ipsec_phase1.php
        ikev2 should be able to handle multiple phase1 with the same ip
        file is /usr/local/www/vpn_ipsec_phase1.php
        if you can test this change line 291 to

        if (($ph1tmp['remote-gateway'] == $tremotegw) && !isset($ph1tmp['disabled']) && $pconfig['iketype'] == "ikev1") {
        

        Immagine.jpg

        ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
        Please do not use chat/PM to ask for help
        we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
        Don't forget to Upvote with the 👍 button for any post you find to be helpful.

        S 1 Reply Last reply Reply Quote 3
        • S
          sandeepvkm
          last edited by

          WORKING LIKE A CHARM

          1 Reply Last reply Reply Quote 0
          • kiokomanK
            kiokoman LAYER 8
            last edited by

            i didn't notice before but there was already a redmine for this
            it seems that they need time to correctly implement this so take in mind that my suggestion can lead to possible misbehavior
            the use of dyndns is suggested instead of 0.0.0.0
            for reference:
            https://redmine.pfsense.org/issues/7410
            https://redmine.pfsense.org/issues/9768
            https://redmine.pfsense.org/issues/10234

            ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
            Please do not use chat/PM to ask for help
            we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
            Don't forget to Upvote with the 👍 button for any post you find to be helpful.

            1 Reply Last reply Reply Quote 1
            • S
              sandeepvkm @kiokoman
              last edited by

              @kiokoman Tunnel bases IPsec S2S VPN is working fine. But
              Routed(VTI) Based site to site IPSecVPN ping access (tunnel is up but no network traffic) not working when config Dailup VPN (VPN remote gateway IP- 0.0.0.0).
              You have any idea about this?

              It's will work when i change vpn remote gateway ip from 0.0.0.0 to static(but i have no static ip).

              Kindly request you to give solution this problem.

              1 Reply Last reply Reply Quote 0
              • kiokomanK
                kiokoman LAYER 8
                last edited by

                no idea sorry, as jimp mentioned 0.0.0.0 is used for other stuff inside pfsense, you need to wait for the dev to find a better solution or use dyndns

                ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                Please do not use chat/PM to ask for help
                we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                Don't forget to Upvote with the 👍 button for any post you find to be helpful.

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