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

He.net dynamic dns issue

Scheduled Pinned Locked Moved IPv6
12 Posts 7 Posters 9.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.
  • S
    singerie
    last edited by Jun 24, 2011, 11:05 AM

    Hello, i'm having a hard time to setup the he.net dyndns using the tool in pfsense.

    Anyone managed to get it working ?

    1 Reply Last reply Reply Quote 0
    • J
      johnpoz LAYER 8 Global Moderator
      last edited by Jun 24, 2011, 8:25 PM

      Have never tried, I could take a look when I get a chance - my Ipv4 address is pretty stable, it maybe changes every 3 or 6 months or so, maybe so no need to setup any sort of dyndns changes for the tunnel on a change.

      An intelligent man is sometimes forced to be drunk to spend time with his fools
      If you get confused: Listen to the Music Play
      Please don't Chat/PM me for help, unless mod related
      SG-4860 24.11 | Lab VMs 2.7.2, 24.11

      1 Reply Last reply Reply Quote 0
      • J
        jimp Rebel Alliance Developer Netgate
        last edited by Jun 28, 2011, 1:35 PM

        AFAIK the he.net dyndns type is for their dyndns service, not for updating an ipv6 tunnel endpoint IP. I'd have to look the code over to double check though.

        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
        • B
          bardelot
          last edited by Jun 28, 2011, 4:19 PM

          @jimp:

          AFAIK the he.net dyndns type is for their dyndns service, not for updating an ipv6 tunnel endpoint IP. I'd have to look the code over to double check though.

          They also have an interface to update the tunnel endpoint IP.

          
          Usage: https://ipv4.tunnelbroker.net/ipv4_end.php?ip=IPV4ADDR&pass=MD5PASS&apikey=USERID&tid=TUNNELID
           -or-: https://USERNAME:PASSWORD@ipv4.tunnelbroker.net/ipv4_end.php?tid=TUNNELID (auto-detect IP)
                 https://USERNAME:PASSWORD@ipv4.tunnelbroker.net/ipv4_end.php?tid=TUNNELID&ip=IPV4ADDR
          
          IPV4ADDR: Your IPv4 endpoint.  Set to AUTO to determine your IP based on the IP you requested this page from.  Previously passed as ipv4b.
          MD5PASS : The MD5 hash of your password.  You may be able to 'echo -n YOURPASSWORD | md5sum' to produce the MD5 hash of your password.
          USERID  : The UserID shown on the main page of tunnelbroker.net when you log in.  Previously referred to as user_id.
          TUNNELID: The ID of the tunnel you're updating the endpoint on.  This can be found on the tunnel information page.  Previously referred to as the Global Tunnel ID / tunnel_id.
          
          
          1 Reply Last reply Reply Quote 0
          • J
            jimp Rebel Alliance Developer Netgate
            last edited by Jun 28, 2011, 4:52 PM

            I meant the he.net dyndns type in our code, not on their servers :-) The one in our code only goes to "https://dyn.dns.he.net/nic/update"

            Though that is awesome that they have the update there. Last I saw they had some clunky perl script that did a POST to the tunnelbroker site. It should be possible to code up an update type for that rather easily then.

            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
            • J
              jimp Rebel Alliance Developer Netgate
              last edited by Jun 28, 2011, 7:24 PM

              smacks the easy button

              https://github.com/smos/pfsense-ipv6/commit/38a481adc8179b1df06faf0e7fcc08a51a6de53e

              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
              • C
                Cino
                last edited by Jun 28, 2011, 7:57 PM

                love the easy button!!

                1 Reply Last reply Reply Quote 0
                • I
                  iFloris
                  last edited by Jun 28, 2011, 9:07 PM

                  awesome, thanks jimp!

                  one layer of information
                  removed

                  1 Reply Last reply Reply Quote 0
                  • S
                    singerie
                    last edited by Jul 6, 2011, 5:23 PM

                    Thanks jimp !  ;D

                    1 Reply Last reply Reply Quote 0
                    • P
                      plinss
                      last edited by Nov 22, 2011, 2:45 AM

                      This isn't working for me. System log lists:
                      php: /services_dyndns_edit.php: phpDynDNS: (Error) Bad Request - Missing/Invalid Parameters.

                      Looking at the code in the commit above it seems that maybe HE changed the parameters they're expecting. I have this working in a script (on my desktop), this is what I'm using:
                      https://ipv4.tunnelbroker.net/ipv4_end.php?ipv4b=$NEW_IP&pass=$HEPASS&user_id=$HEUSER&tunnel_id=$HETUNNEL

                      Where $HEUSER is the user ID from the HE web page (not the username I log in to the site with) and $HEPASS is and MD5 hash of my HE web page login password.

                      1 Reply Last reply Reply Quote 0
                      • J
                        jimp Rebel Alliance Developer Netgate
                        last edited by Nov 22, 2011, 5:22 AM

                        Still updating and working fine for me.

                        The settings in the GUI are:
                        Hostname: tunnel id
                        Username: he.net username
                        Password: he.net password

                        According to their spec, your way works too.

                        http://ipv4.tunnelbroker.net/ipv4_end.php

                        We use the https method with basic auth and tid (middle choice here)

                        Usage: https://ipv4.tunnelbroker.net/ipv4_end.php?ip=IPV4ADDR&pass=MD5PASS&apikey=USERID&tid=TUNNELID
                         -or-: https://USERNAME:PASSWORD@ipv4.tunnelbroker.net/ipv4_end.php?tid=TUNNELID (auto-detect IP)
                               https://USERNAME:PASSWORD@ipv4.tunnelbroker.net/ipv4_end.php?tid=TUNNELID&ip=IPV4ADDR
                        
                        IPV4ADDR: Your IPv4 endpoint.  Set to AUTO to determine your IP based on the IP you requested this page from.  Previously passed as ipv4b.
                        MD5PASS : The MD5 hash of your password.  You may be able to 'echo -n YOURPASSWORD | md5sum' to produce the MD5 hash of your password.
                        USERID  : The UserID shown on the main page of tunnelbroker.net when you log in.  Previously referred to as user_id.
                        TUNNELID: The ID of the tunnel you're updating the endpoint on.  This can be found on the tunnel information page.  Previously referred to as the Global Tunnel ID / tunnel_id.
                        
                        The following parameters are only usable when accessing this script over https.
                        USERNAME: Your tunnelbroker.net username.
                        PASSWORD: Your tunnelbroker.net password.
                        
                        The legacy parameter names will continue to work for the forseable future.  Naming of them changed to be more in line with industry convention and their roles.
                        
                        

                        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
                        • P
                          plinss
                          last edited by Nov 22, 2011, 5:48 AM

                          Ah, thanks jimp! I was using the userid from the other method instead of my username. Works now.

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