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

    IPv6 passthough?

    Scheduled Pinned Locked Moved IPv6
    7 Posts 3 Posters 465 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.
    • E
      ebsense
      last edited by

      I am currently getting /60 IPv6 prefix from ISP, and would like to passthrough /62 prefix via LAN to a Unifi UDM-SE to use for private, guest and IoT networks. Is this possible?

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

        @ebsense

        Generally you'd just route the subnets you want. I have done that here with my /56. I have a main LAN, guest WiFi, test LAN and OpenVPN. Just create an interface and choose the appropriate prefix ID for each.

        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
        • E
          ebsense
          last edited by ebsense

          Yes, I've done so when pfsense was the main gateway. I would like to keep using UDM-SE as the gateway for the private IP subnets, but I'm seeking to reintroduce pfsense into the mix to handle the public IPv4 / 28 subnet. UDM is very much lacking in that area.

          Here is roughly what I'm trying to do:
          4d5f9d21-c6b6-45c4-b931-88bd7420b2f3-image.png

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

            @ebsense

            Then you'll have to route the subnets to the UDM.
            You say you have a /28 IPv4 from your ISP, but 3x /28 to the UDM. How do you manage to get 3, when you only had 1 to start with?

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

            E 1 Reply Last reply Reply Quote 0
            • E
              ebsense @JKnott
              last edited by

              @JKnott Sorry for the confusion, it is the entire /28 block of static IPs. They are routed to / via the DHCP IP from the ISP. UDM doesn't have a good way to handle that, so I'm trying to get a pfsense firewall to be a man in the middle for the public subnet block. I'm not planning on using NAT on pfsense at all.

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

                @ebsense

                You'll still have to route the subnets to the UDM.

                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
                • demD
                  dem
                  last edited by

                  Forgive me if I'm misunderstanding what you're wanting to do, but on pfSense you can set up a Prefix Delegation Pool in the DHCPv6 Server settings for the interface to which the UDM is connected. Assuming the UDM supports PD it should request a prefix from pfSense which will then take care of the routing.

                  Also, as you might already be aware, an easy way to disable NAT for IPv4 is to switch to Hybrid Outbound NAT and add a "NO NAT" rule for IPv4 for the interface the ISP device is connected to.

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