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

    Question on routing IPV6 WAN to IPV4 LAN

    IPv6
    4
    8
    873
    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.
    • K
      killmasta93
      last edited by

      Hi
      I was wondering if someone could shed some light,
      Currently our lSP gave us IPV6 and configured it, but when i try to create rule to open ports using the IPV6 route to an IPV4 im getting

      IPv4 addresses can not be used in IPv6 rules (except within an alias).
      

      i was reading as IPV6 is not recommended doing NAT but using the rules instead, also read
      i was trying to look for a guide for this but couldn't really find any
      the only wiki i found https://docs.netgate.com/pfsense/en/latest/firewall/aliases.html#mixing-ipv4-and-ipv6-addresses-in-aliases
      but not sure what to add in the alias?

      Thanks

      Tutorials:

      https://www.mediafire.com/folder/v329emaz1e9ih/Tutorials

      Bob.DigB 1 Reply Last reply Reply Quote 0
      • Bob.DigB
        Bob.Dig LAYER 8 @killmasta93
        last edited by

        @killmasta93 You can't mix IPv4 and IPv6.

        K 1 Reply Last reply Reply Quote 0
        • K
          killmasta93 @Bob.Dig
          last edited by

          @Bob-Dig thanks for the reply, so i would need to create on my LAN another IPV6 and on my virtual machines also add them an ipv6?

          Tutorials:

          https://www.mediafire.com/folder/v329emaz1e9ih/Tutorials

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

            @killmasta93 said in Question on routing IPV6 WAN to IPV4 LAN:

            @Bob-Dig thanks for the reply, so i would need to create on my LAN another IPV6 and on my virtual machines also add them an ipv6?

            If you set up pfSense properly, that should happen automagically. Also, you can create many rules to work with both IPv4 and IPv6.

            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...

            K 1 Reply Last reply Reply Quote 0
            • K
              killmasta93 @JKnott
              last edited by

              @JKnott thanks for the reply, first time configuring ipv6 so in theory i need to have enabled ipv6 on my LAN and also for my Vms?

              Tutorials:

              https://www.mediafire.com/folder/v329emaz1e9ih/Tutorials

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

                @killmasta93 said in Question on routing IPV6 WAN to IPV4 LAN:

                so in theory i need to have enabled ipv6 on my LAN and also for my Vms?

                Yes.

                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
                • S
                  Shack
                  last edited by

                  This is something that I have been wondering about. I firmly believe that IPv6 is overkill, needlessly complex, and inappropriate for small networks such as in a home. I would like to see functionality added (if it does not currently exist) to translate from IPv6 on the WAN interface to IPv4 on the LAN interface. That way if I ever have to choose between being stuck with CGNAT and using IPv6, I can go the IPv6 route.

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

                    @Shack

                    Why not just go with IPv6 and get rid of all the crap that's become necessary to keep IPv4 going? Stuff like NAT break things and CGNAT even more things. Because of NAT we need STUN for VoIP and some games. So, it's hack upon hack just to get around the IPv4 address shortage. On top of this, IPv6 cleans up some of the things in IPv4. For example, ARP predates IPv4 and was used because it was available. With IPv6, the functionality of it has been rolled into ICMPv6 with some other features added. Other things improve security and more. According to Vint Cerf, the guy who created it, IPv4 was intended only as a proof of concept and he expected the final protocol would have a much larger address space.

                    With my ISP, I have a single IPv4 address which requires NAT to support multiple devices. With IPv6, I get a /56 prefix, which provides 256 /64s, each of which contains 18.4 billion, billion addresses. NAT also breaks the end to end transparency, which the network gods had intended. 😉

                    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.