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

    pfSense IPv4+IPv6 & OpenVPN

    OpenVPN
    3
    12
    1.1k
    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.
    • ?
      A Former User
      last edited by

      for years I worked with a server openvpn + ipv4 it worked great, today I decided to add ipv6 to the tunnel (but when I go to test-ipv6 .com) to test it says ipv6 not detected does anyone know why?

      a08f5df5-a74b-483e-abb7-4571d34c35f7-image.png

      V 1 Reply Last reply Reply Quote 0
      • V
        viragomann @A Former User
        last edited by

        @silence said in pfSense IPv4+IPv6 & OpenVPN:

        (but when I go to test-ipv6 .com) to test it says ipv6 not detected does anyone know why?

        Obviously your browser cannot do any IPv6 request.
        Maybe the computer has no IPv6 or you have no IPv6 WAN address or you have disabled IPv6 on pfSense or there is no rule on LAN which allows it.
        But whatever the reason is, it doesn't necessarily have anything to do with the OpenVPN server.

        ? 1 Reply Last reply Reply Quote 0
        • ?
          A Former User @viragomann
          last edited by

          @viragomann
          My wan interfaces For ipv4 and ipv6 is a private ip!

          b6159ee8-26e9-41ac-b6f2-9be84bd4e097-image.png

          4eee1966-5bc8-4647-8911-72624f5f0cdc-image.png

          eb78ce96-9f32-4b2a-8358-79b07a4595cd-image.png

          Any suggestions? How to make ipv6 work in pfsense?

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            So pfSense here is your OpenVPN server? And you are able to connect to it from a Windows client but it only gets an IPv4 IP address? Or gets an IPv6 address but cannot connect out?

            It looks like pfSense itself is getting an IPv6 address via DHCPv6 but cannot ping out.
            You have set the source address as WAN link-local which is usually not routable. Does the ping work if you set the source to WAN or automatic?

            ? 1 Reply Last reply Reply Quote 0
            • ?
              A Former User @stephenw10
              last edited by

              @stephenw10 I say my openvpn worked fine, until i tried to add ipv6 since my isp gives me ipv6 I wanted to integrate ipv6 to my openvpn! since then it doesn't work.

              ? 1 Reply Last reply Reply Quote 0
              • ?
                A Former User @A Former User
                last edited by

                @silence said in pfSense IPv4+IPv6 & OpenVPN:

                @stephenw10 I say my openvpn worked fine, until i tried to add ipv6 since my isp gives me ipv6 I wanted to integrate ipv6 to my openvpn! since then it doesn't work.

                8d64f63c-e42f-4ae6-bcb3-e72a4d794ca9-image.png

                1 Reply Last reply Reply Quote 0
                • stephenw10S
                  stephenw10 Netgate Administrator
                  last edited by

                  Ok so forget OpenVPN until you get IPv6 working from pfSense itself.

                  Above you showed the interfaces widget with the valid public IPv6 address. Are you still seeing that?
                  Do you have a default route for IPv6?
                  A link-local gateway like the can be valid if the ISP is passing you a prefix and routing it to you.

                  ? 1 Reply Last reply Reply Quote 0
                  • ?
                    A Former User @stephenw10
                    last edited by

                    @stephenw10

                    I am connected from openvpn

                    39f8c6a6-0d45-4523-8a3f-c41e26f48ed3-image.png

                    of the network LAN

                    6c99ba4d-32af-4135-9e10-07b29da6deeb-image.png

                    ? 1 Reply Last reply Reply Quote 0
                    • ?
                      A Former User @A Former User
                      last edited by

                      @silence said in pfSense IPv4+IPv6 & OpenVPN:

                      @stephenw10

                      I am connected from openvpn

                      39f8c6a6-0d45-4523-8a3f-c41e26f48ed3-image.png

                      of the network LAN

                      6c99ba4d-32af-4135-9e10-07b29da6deeb-image.png

                      7333e376-c8b0-4b3b-92eb-02b71deb4249-image.png

                      1 Reply Last reply Reply Quote 0
                      • stephenw10S
                        stephenw10 Netgate Administrator
                        last edited by

                        Ok so you see an IPv6 public IP when you connect to OpenVPN.

                        What exactly is not working here?

                        ? 1 Reply Last reply Reply Quote 0
                        • ?
                          A Former User @stephenw10
                          last edited by

                          @stephenw10 Now everything is fine, I didn't make any changes and it started working (I would like to know what would be the correct setting(?? as this just started working but I have no idea how I did it.

                          1 Reply Last reply Reply Quote 0
                          • stephenw10S
                            stephenw10 Netgate Administrator
                            last edited by

                            If you changed nothing then perhaps the ISP changed something to allow IPv6 to work.

                            The 'correct' settings here are very much dependent on what your ISP provides.

                            Steve

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