Navigation

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

    guest vlan with ipv6

    IPv6
    2
    6
    86
    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.
    • G
      gwabber last edited by

      Hey all,

      At the moment I have a guest network with IPv4, that's exiting via a VPN gateway. Rules are easy enough, just block all the RCF1918 ranges and select the vpn gateway.

      For shits and giggles I want to add IPv6. I also want to route this via the VPN gateway (my vpn provider supports ipv6)

      I was able to make an ULA subnet and NAT this via the IPv6 gateway. But now is the problem; how do I block all trafic to my other subnets? I use ULA and GUA's on my other subnets and it seems like I have to block a lot of IP ranges. Is there an easy way tot do this?

      Thanks in advance!

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

        @gwabber

        Why are you using NAT? Don't you have multiple /64s available?

        Here are my rules. I'm using prefix 03 for my guest WiFi.

        0dfa8498-fbb8-4fcf-9057-5cd29bab5406-image.png

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

        G 1 Reply Last reply Reply Quote 0
        • G
          gwabber @JKnott last edited by

          @jknott

          Thanks for your reply!
          For my normal subnets I don't use NAT, but I want to route everything from my guest network over my VPN provider, that only gave me an /128 address, so I have to use NAT to route everything.

          My rules look a lot like that, I have the same rule about the RFC1918 and ULA addresses, but what do you mean with "reject all IPv6 within prefix"?

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

            @gwabber said in guest vlan with ipv6:

            but what do you mean with "reject all IPv6 within prefix"?

            That refers to my entire /56 prefix as provided by my ISP. I don't allow guests to accessn any of it.

            For my normal subnets I don't use NAT, but I want to route everything from my guest network over my VPN provider, that only gave me an /128 address, so I have to use NAT to route everything.

            ???

            Are yo referring to the WAN address? If so, it's not used for routing. It's only used for connections, such as VPN to your pfSense box. You just route your subnets as you would generally. Also, you have to specifically route all but your LAN, so those other subnets won't be routed, unless you want to. You can also use rules to further restrict what gets routed.

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

            G 1 Reply Last reply Reply Quote 0
            • G
              gwabber @JKnott last edited by

              @jknott

              No, I don't refer to the WAN address. With my other subnets, I don't use NAT for IPv6, but I track the WAN interface. I also have an /56 from my ISP.

              My VPN provider on the other hand only gave me an /128, so to use that gateway, I have to use NAT to send all trafic from my guest VLAN over that gateway.

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

                @gwabber

                No, you route the traffic, just as you do with your default gateway.

                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