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

    OpenVPN with IPv6 as transport

    Scheduled Pinned Locked Moved OpenVPN
    5 Posts 2 Posters 1.6k 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.
    • J
      jeffbrl
      last edited by

      I want to remotely access my internal network via IPv6. Using IPv4 is not an option as my provider uses carrier-grade NAT. In pfSense 2.1.4, the OpenVPN wizard reports an error when I submit the form that includes the default 2001:DB8::/64 network as the tunneled network.

      The error is "The field 'Tunnel Network' must contain only valid ipv4 CIDR range(s) separated by commas." It appears that the backend is unable to recognize an IPv6 network.

      Is there a workaround or fix for this apparent defect?

      Jeff L.
      openvpn-capture.PNG
      openvpn-capture.PNG_thumb

      1 Reply Last reply Reply Quote 0
      • P
        phil.davis
        last edited by

        The wizard code does not have the IPv6 fields in it.
        So for that you have to create/edit yourself. I guess you could put some IPv4 numbers in the wizard to make it happy. Then edit the resulting OpenVPN Server, adding IPv6 information and removing IPv4 addresses you do not want.

        or, enhance the wizard code to include IPv6 fields and submit a pull request  ;)

        As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
        If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

        1 Reply Last reply Reply Quote 0
        • J
          jeffbrl
          last edited by

          Phil,

          Thank you. I will edit the file manually.

          If I knew php, I would definitely take the time to give back to the community.

          Jeff L.

          1 Reply Last reply Reply Quote 0
          • P
            phil.davis
            last edited by

            Sorry, I mena create/edit using the normal GUI pages rather than the wizard! You do not need to actual do any text file editing.

            As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
            If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

            1 Reply Last reply Reply Quote 0
            • J
              jeffbrl
              last edited by

              I was successful editing using the GUI.

              Unfortunately, the OpenVPN windows client can't parse an IPv6 address and can't resolve a host with only an AAAA record.

              Fri Nov 14 19:27:33 2014 RESOLVE: Cannot resolve host address: xxx.xxx.duia.us: The requested name is valid, but no data of the requested type was found.
              Fri Nov 14 19:27:38 2014 RESOLVE: Cannot resolve host address: xxx.xxx..duia.us: The requested name is valid, but no data of the requested type was found.

              Off to the OpenVPN forum…

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