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

Update Remote Address on GRE with DNS IP

Scheduled Pinned Locked Moved General pfSense Questions
10 Posts 2 Posters 371 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.
  • G
    G_Costa
    last edited by G_Costa May 21, 2024, 6:31 PM May 21, 2024, 6:31 PM

    Hey!

    For some reason my ISP is allways chaning my public IP what makes my GRE tunnel allways stop working.
    I already got an way to change my main DNS IP to the new public ip grabbing it on a VM and changing on cloudflare with curl but i also need to change the Remote Address on GRE Interface.
    Is there any file I can edit or any easiest way to do it?

    Thank you all in advance!

    1 Reply Last reply Reply Quote 0
    • S
      stephenw10 Netgate Administrator
      last edited by May 21, 2024, 7:59 PM

      Not easily, the GRE config requires a fixed IP address.

      If you used IPSec or OpenVPN you could just use an FQDN for the endpoint and pfSense will resolve it.

      Steve

      G 1 Reply Last reply May 22, 2024, 1:58 PM Reply Quote 0
      • G
        G_Costa @stephenw10
        last edited by May 22, 2024, 1:58 PM

        @stephenw10 And that value cant be edited on any file or something like that?

        1 Reply Last reply Reply Quote 0
        • S
          stephenw10 Netgate Administrator
          last edited by May 22, 2024, 2:24 PM

          You can just enter it as an FQDN and it will be resolved when the tunnel connects. So if that is a dyndns address it will be updated when the dyndns entry is.

          G 1 Reply Last reply May 22, 2024, 2:25 PM Reply Quote 0
          • G
            G_Costa @stephenw10
            last edited by May 22, 2024, 2:25 PM

            @stephenw10 Its not dydns, its a normal dns on cloudflare but on GRE remote address only allow numeric ip's, that's why I asked if there's a file to edit that value

            1 Reply Last reply Reply Quote 0
            • S
              stephenw10 Netgate Administrator
              last edited by May 22, 2024, 2:27 PM

              Ah the Cloudflare end? As long as Cloudflare updates the DNS entry the FQDN will resolve to that when it connects.

              G 1 Reply Last reply May 22, 2024, 3:07 PM Reply Quote 0
              • G
                G_Costa @stephenw10
                last edited by May 22, 2024, 3:07 PM

                @stephenw10 Uh im just not understanding where i can put the FQDN on GRE address, can you guide me with that?

                1 Reply Last reply Reply Quote 0
                • S
                  stephenw10 Netgate Administrator
                  last edited by May 22, 2024, 3:15 PM

                  You can't; GRE requires a fixed IP address.

                  I suggested using IPSec or OpenVPN instead because those can use an FQDN to connect to.

                  G 1 Reply Last reply May 22, 2024, 3:31 PM Reply Quote 0
                  • G
                    G_Costa @stephenw10
                    last edited by May 22, 2024, 3:31 PM

                    @stephenw10 Since Im assigning local IPs to external public IP's (on proxmox vms's) what do you suggest?

                    1 Reply Last reply Reply Quote 0
                    • S
                      stephenw10 Netgate Administrator
                      last edited by May 22, 2024, 3:53 PM

                      Doesn't really matter what you have locally it's what you're connecting to. What is supported at the remote side?

                      1 Reply Last reply Reply Quote 0
                      1 out of 10
                      • First post
                        1/10
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                        This community forum collects and processes your personal information.
                        consent.not_received