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

    Endpoint address family (IPv6) is incompatible with transport protocol (udp4)

    Scheduled Pinned Locked Moved OpenVPN
    7 Posts 3 Posters 178 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.
    • P
      pietsnot56
      last edited by

      Hi, i use openvpn already 2 years.
      My provider is TELENET.

      Now i'm no more able to make a connection with my iphone ios 18.4.1 to pfsense 2.7.2. firewall / openvpn serer.

      In the log i found this :
      Endpoint address family (IPv6) is incompatible with transport protocol (udp4).

      Any idea what's wrong?

      GertjanG P JKnottJ 3 Replies Last reply Reply Quote 0
      • GertjanG
        Gertjan @pietsnot56
        last edited by

        @pietsnot56 said in Endpoint address family (IPv6) is incompatible with transport protocol (udp4):

        In the log i found this :

        Which log ?
        Server ?
        Client ?

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        1 Reply Last reply Reply Quote 0
        • P
          pietsnot56 @pietsnot56
          last edited by

          @pietsnot56

          Client log on iphone.

          GertjanG 1 Reply Last reply Reply Quote 0
          • GertjanG
            Gertjan @pietsnot56
            last edited by Gertjan

            @pietsnot56

            I imagine your OpenVPN server is se up using IPv4 :

            d207714c-b89e-4e6c-9bf0-a18d798ab751-image.png

            and this implies you have to use IPv4 to contact the WAN IP of your pfSense.

            But .... your phone, does it have it's own IPv4 ?
            I can image, since there are no more IPv4 to give to everybody (there are more Internet capable devices on the planet as there are aIPv4 addresses) that your phone has only a IPv6 ..... and that sucks, as you need to use IPv4.
            So, your phone, does it have a IPv4 - your phone data carrier gave it an IPv4 (it did give an IPv6, I'm sure) ?

            Fast solution : on the pfSense side, it's time to activate the "dual stack", which means your pfSense can use = will be accessible over IPv4 and IPv6.
            When that works, change the OpenVPN server so it can be accessed over IPv4 and IPv4, or just IPv6 :

            0e90f8c3-50c0-432e-a46b-03419bb424e1-image.png

            and you'll be fine.

            Btw : I'm presuming a lot as you didn't gave a lot of info.

            No "help me" PM's please. Use the forum, the community will thank you.
            Edit : and where are the logs ??

            1 Reply Last reply Reply Quote 0
            • P
              pietsnot56
              last edited by

              I have re installed opvenvpn on my server and export ovpn file to my iphone.

              the connection (Cellular Only) from my iphone is still failing and i found in the log of the iphone still the same error.
              Any idea what's wrong?

              GertjanG 1 Reply Last reply Reply Quote 0
              • GertjanG
                Gertjan @pietsnot56
                last edited by

                @pietsnot56 said in Endpoint address family (IPv6) is incompatible with transport protocol (udp4):

                still the same error
                Any idea what's wrong?

                Can you show the error ?

                No "help me" PM's please. Use the forum, the community will thank you.
                Edit : and where are the logs ??

                1 Reply Last reply Reply Quote 0
                • JKnottJ
                  JKnott @pietsnot56
                  last edited by

                  @pietsnot56 said in Endpoint address family (IPv6) is incompatible with transport protocol (udp4):

                  Any idea what's wrong?

                  Many cell networks are now IPv6 only. On Android devices, 464XLAT is used to connect to IPv4 only sites over an IPv6 only network. iPhones use something similar, but I don't know the details. Perhaps there's some issue there. My phone gets the IPv4 address 192.0.0.4, which is reserved for 464XLAT, as well as a global IPv6 address.

                  I have pfSense configured to allow openVPN to use either IPv4 or IPv6 to connect. Do you have IPv6 available from Telenet?

                  BTW, Telenet used to be an X.25 packet switched network back in the dark ages. The company I used to work for provided Telenet in Canada and I maintained part of that system.

                  PfSense running on Qotom mini PC
                  i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                  UniFi AC-Lite access point

                  I haven't lost my mind. It's around here...somewhere...

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