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

[SOLVED] IPv6 'routing' issue (WAN <-> LAN)

Scheduled Pinned Locked Moved IPv6
28 Posts 3 Posters 13.6k 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.
  • T
    tic226
    last edited by Mar 2, 2015, 11:29 AM

    @hda:

    Cascading setup where pfSense becomes dependent (slave) on MoDem/router, as you indicated.

    You could try with opening up MoDem for its firewall rulings. Make the correct settings for IPv6 in the MoDem config.
    [Typical need for a box like the AVM/FritzBox!-73xx]

    Do you mean a cascading setup is impossible? The modem/router is a Draytek Vigor 130 and there are no
    IPv6 related firewall rules. Could you elaborate a bit further?
    The only possible issue i can see right now is that i set the modem/router's global IPv6 as gateway address
    for pfSense's WAN interface instead of the link-local one. That's the only thing i haven't checked yet, will
    do that later (at work atm).

    1 Reply Last reply Reply Quote 0
    • H
      hda
      last edited by Mar 2, 2015, 11:50 AM

      @tic226:

      @hda:

      Cascading setup where pfSense becomes dependent (slave) on MoDem/router, as you indicated.

      You could try with opening up MoDem for its firewall rulings. Make the correct settings for IPv6 in the MoDem config.
      [Typical need for a box like the AVM/FritzBox!-73xx]

      Do you mean a cascading setup is impossible? The modem/router is a Draytek Vigor 130 and there are no
      IPv6 related firewall rules. Could you elaborate a bit further?

      Cascading is possible, but cumbersome, and double NAT IPv4.

      But OK, you have DTv130, so you can pass-tru the MoDem to pfSense-WAN !
      This is just transparent pfSense <-> ISP-node as if DTv130 is not there.

      1 Reply Last reply Reply Quote 0
      • T
        tic226
        last edited by Mar 2, 2015, 12:23 PM

        @hda:

        @tic226:

        @hda:

        Cascading setup where pfSense becomes dependent (slave) on MoDem/router, as you indicated.

        You could try with opening up MoDem for its firewall rulings. Make the correct settings for IPv6 in the MoDem config.
        [Typical need for a box like the AVM/FritzBox!-73xx]

        Do you mean a cascading setup is impossible? The modem/router is a Draytek Vigor 130 and there are no
        IPv6 related firewall rules. Could you elaborate a bit further?

        Cascading is possible, but cumbersome, and double NAT IPv4.

        But OK, you have DTv130, so you can pass-tru the MoDem to pfSense-WAN !
        This is just transparent pfSense <-> ISP-node as if DTv130 is not there.

        I will set the Draytek to pass-through mode later and see how it goes from there, i was hoping i could avoid that step… (the Draytek's firmware
        has various bugs, it was a pain to get IPv6 working, support was helpful though)

        1 Reply Last reply Reply Quote 0
        • H
          hda
          last edited by Mar 2, 2015, 12:38 PM

          @tic226:

          I will set the Draytek to pass-through mode later and see how it goes from there, i was hoping i could avoid that step… (the Draytek's firmware has various bugs, it was a pain to get IPv6 working, support was helpful though)

          With Pass-through you have only to worry about the correct ISP-protocol. So get your full public IPv4 & IPv6 on the pfSense-WAN. [set pass-tru & standard settings on DTv130, so no VLAN or IPv6 stuff to do there]

          If DT-firmware is the point, then complain to them for improvement.

          1 Reply Last reply Reply Quote 0
          • T
            tic226
            last edited by Mar 2, 2015, 1:11 PM

            @hda:

            @tic226:

            I will set the Draytek to pass-through mode later and see how it goes from there, i was hoping i could avoid that step… (the Draytek's firmware has various bugs, it was a pain to get IPv6 working, support was helpful though)

            With Pass-through you have only to worry about the correct ISP-protocol. So get your full public IPv4 & IPv6 on the pfSense-WAN. [set pass-tru & standard settings on DTv130, so no VLAN or IPv6 stuff to do there]

            If DT-firmware is the point, then complain to them for improvement.

            Right now i'm still hoping to be able to tell the draytek to pass-through IPv6 only. I have 5 static IPv4 addresses which are
            managed by the draytek (fritzbox and many other modem/routers only support one IPv4 on the WAN side), at first glance
            i couldn't find an option in pfSense to handle several IPv4 addresses on WAN side. I need to try this later.

            The firmware is working as it should but the diagnostic functions for IPv6 don't really work (ping6 on the draytek is
            broken, PPPoE section in IPv6 overview shows 'errors' were there are none, etc.), the support
            knows about this since august last year and the new version from november (which the support guys
            'promised' to not have the bugs mentioned) is still faulty. So i had quite some trouble to get IPv6
            working the 'traditional' way because i was trying to fix non-existent errors. So that's why i don't
            really trust the Draytek firmware and suspected it to be the culprit of my actual problem. Let's just
            hope the pass-through does work/is existent.

            1 Reply Last reply Reply Quote 0
            • H
              hda
              last edited by Mar 2, 2015, 2:28 PM Mar 2, 2015, 2:03 PM

              @tic226:

              …
              Right now i'm still hoping to be able to tell the draytek to pass-through IPv6 only.
              ...

              There is no special pass-tru capability for IPv6 needed. One could even do well with a DTv120 which has no IPv6 capa. at all !

              Pass-tru means no interference from DT(v130) with communication between pfSense and ISP-node.

              1 Reply Last reply Reply Quote 0
              • T
                tic226
                last edited by Mar 2, 2015, 7:39 PM

                I just looked through the WAN interface IPv6 settings on pfSense and the only possible alternative
                to static is DHCP6. The Draytek modem/router is set to PPP on it's WAN IPv6 side since the connection
                type is PPPoE and this is the only way it works for the Draytek (my ISP told me the settings), DHCP6
                doesn't work with my ISP. So what happens when i set the WAN IPv6 setting of the Draytek to 'offline'
                and disable RA and DHCP6 on it's LAN side? pfSense shouldn't get the addresses via DHCP6 as my
                ISP doesn't use it on their side..
                But i tried it, Draytek IPv6 offline, pfSense to DHCP6, i didn't remove the Draytek's link-local IPv6 yet and
                with this setup pfSense shows a link-local IPv6 and the Draytek's link-local address as gateway, so
                i removed every IPv6 entry from the Draytek's LANside. After that pfSense only has a link-local address,
                i tried several different setting (obtain IPv6 addresses via IPv4, prefix only, etc.) all to no avail.
                There must be a way to route IPv6 from WAN to LAN on pfsense with a static setup…

                1 Reply Last reply Reply Quote 0
                • D
                  Derelict LAYER 8 Netgate
                  last edited by Mar 2, 2015, 8:15 PM

                  Forgetting about your routed /48 for a minute, what happens if you put the modem in bridge mode, use PPPoE for IPv4 and SLAAC for IPv6?

                  Chattanooga, Tennessee, USA
                  A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                  DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                  Do Not Chat For Help! NO_WAN_EGRESS(TM)

                  1 Reply Last reply Reply Quote 0
                  • H
                    hda
                    last edited by Mar 2, 2015, 8:20 PM

                    sideline IPv6 for a while. First IPv4.

                    AIUI, you connect DT130 to ISP as PPPoE, then have tested pass-tru/("bridge") for IPv4 and cannot get IPv4 on pfSense-WAN ?

                    1 Reply Last reply Reply Quote 0
                    • T
                      tic226
                      last edited by Mar 2, 2015, 8:33 PM

                      Oh no, IPv4 is working fine. I didn't set the Draytek to PPPoE pass-through yet, because like i said
                      that's not really an option because of my 4 additional static IPv4 addresses (they're more important
                      than IPv6) unless pfsense has the ability to do that.
                      Isn't there a way to route IPv6 traffic from WAN to LAN with static addresses, just like it works with
                      IPv4?

                      1 Reply Last reply Reply Quote 0
                      • D
                        Derelict LAYER 8 Netgate
                        last edited by Mar 2, 2015, 8:36 PM

                        You want to look at Firewall > Virtual IPs to see about multiple IP addresses on your WAN interface.  Chances are you can do what you need as long as the IPs are routed to you.

                        https://doc.pfsense.org/index.php/What_are_Virtual_IP_Addresses

                        You'll probably need to post more specific information if you want more specific help.

                        I think you're out of luck with IPv6 until you get your modem into bridge mode.

                        Chattanooga, Tennessee, USA
                        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                        Do Not Chat For Help! NO_WAN_EGRESS(TM)

                        1 Reply Last reply Reply Quote 0
                        • H
                          hda
                          last edited by Mar 2, 2015, 8:54 PM

                          @tic226:

                          Oh no, IPv4 is working fine. I didn't set the Draytek to PPPoE pass-through yet,….

                          One needs to do tests to inform oneself. :D

                          Then very likely the IPv6 will be supplied by using IPv4 PPPoE at pfSense-WAN,

                          1 Reply Last reply Reply Quote 0
                          • T
                            tic226
                            last edited by Mar 2, 2015, 10:12 PM

                            You're both right, there really is no way i can pull this off without setting the Draytek to PPPoE pass-throught. I accept my defeat.
                            I have it all set up now and IPv4 works fine, IPv6 not yet. As Derelict suggested, on the WAN side (pfsense) i've set IPv4 to PPPoE and SLAAC
                            for IPv6, the LAN side has static entries for both. I've put a screenshot of the interfaces page in the attachment as well as a shot of the LAN
                            configurations. I only get link-local IPv6 addresses on the WAN side, no ping6.

                            snapshot1.png
                            snapshot1.png_thumb
                            snapshot2.png
                            snapshot2.png_thumb

                            1 Reply Last reply Reply Quote 0
                            • D
                              Derelict LAYER 8 Netgate
                              last edited by Mar 2, 2015, 10:24 PM Mar 2, 2015, 10:19 PM

                              Link local addresses on interfaces are OK.

                              Looks like it's getting close to you:

                              traceroute6 to 2a01:170:110c:1::1 (2a01:170:110c:1::1) from 2001:470:…, 64 hops max, 12 byte packets
                              1  2001:470:...  0.444 ms  0.365 ms  0.311 ms
                              2  2001:470:...  20.509 ms  18.493 ms  27.693 ms
                              3  2001:470:...  26.365 ms  18.327 ms  25.308 ms
                              4  2001:470:0:10e::2  84.479 ms  89.593 ms  73.084 ms
                              5  2001:470:0:2cf::1  152.046 ms  138.959 ms  140.712 ms
                              6  2001:7f8:4::33b5:1  143.464 ms  147.377 ms  141.665 ms
                              7  2001:7f0:0:28::2  153.165 ms  153.688 ms  154.670 ms
                              8  2001:7f0:1:2::2  153.532 ms  157.187 ms  157.728 ms
                              9  2a01:170::1:2:7:0:2  159.198 ms  157.267 ms  155.856 ms

                              Put a rule on WAN passing IPv6 ICMP from any to 2a01:170:110c:1::1

                              You can't ping6 to the gateway address from the pfSense node itself?

                              Chattanooga, Tennessee, USA
                              A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                              DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                              Do Not Chat For Help! NO_WAN_EGRESS(TM)

                              1 Reply Last reply Reply Quote 0
                              • H
                                hda
                                last edited by Mar 2, 2015, 10:34 PM Mar 2, 2015, 10:23 PM

                                You have set the LAN Static. That's OK. It needs  Services: Router advertisements(Router Only) or including SLAAC RA needs (Unmanaged)

                                1 Reply Last reply Reply Quote 0
                                • T
                                  tic226
                                  last edited by Mar 2, 2015, 10:28 PM

                                  @Derelict:

                                  You want to look at Firewall > Virtual IPs to see about multiple IP addresses on your WAN interface.  Chances are you can do what you need as long as the IPs are routed to you.

                                  https://doc.pfsense.org/index.php/What_are_Virtual_IP_Addresses

                                  You'll probably need to post more specific information if you want more specific help.

                                  I think you're out of luck with IPv6 until you get your modem into bridge mode.

                                  Thank you, i had a quick look at it and it looks very promising. I will look further into it when/if IPv6
                                  is working (in bridge mode)

                                  1 Reply Last reply Reply Quote 0
                                  • H
                                    hda
                                    last edited by Mar 2, 2015, 10:45 PM

                                    Can we see your pfSense-WAN config screenshot ?

                                    1 Reply Last reply Reply Quote 0
                                    • T
                                      tic226
                                      last edited by Mar 2, 2015, 10:59 PM

                                      @Derelict:

                                      Link local addresses on interfaces are OK.

                                      Looks like it's getting close to you:

                                      traceroute6 to 2a01:170:110c:1::1 (2a01:170:110c:1::1) from 2001:470:…, 64 hops max, 12 byte packets
                                      1  2001:470:...  0.444 ms  0.365 ms  0.311 ms
                                      2  2001:470:...  20.509 ms  18.493 ms  27.693 ms
                                      3  2001:470:...  26.365 ms  18.327 ms  25.308 ms
                                      4  2001:470:0:10e::2  84.479 ms  89.593 ms  73.084 ms
                                      5  2001:470:0:2cf::1  152.046 ms  138.959 ms  140.712 ms
                                      6  2001:7f8:4::33b5:1  143.464 ms  147.377 ms  141.665 ms
                                      7  2001:7f0:0:28::2  153.165 ms  153.688 ms  154.670 ms
                                      8  2001:7f0:1:2::2  153.532 ms  157.187 ms  157.728 ms
                                      9  2a01:170::1:2:7:0:2  159.198 ms  157.267 ms  155.856 ms

                                      Put a rule on WAN passing IPv6 ICMP from any to 2a01:170:110c:1::1

                                      You can't ping6 to the gateway address from the pfSense node itself?

                                      The firewall is completely open, i can't ping6 the gateway or any external addresses from pfSense…

                                      @hda:

                                      You have set the LAN Static. That's OK. It needs  Services: Router advertisements(Router Only) or including SLAAC RA needs (Unmanaged)

                                      I tried both setting, no change. It is set to Router Only at the moment, see attachment (i've added the DNS entries manually, ISP doesn't provide
                                      any for IPv4/6).

                                      @hda:

                                      Can we see your pfSense-WAN config screenshot ?

                                      Sure, a screenshot is in the attachment.

                                      –-----------------
                                      I've also attached a screenshot of the interface assignment page and the first network card (em0, which is connected to the Draytek)
                                      is shown as unassigned. just because i'm curious, is that normal? Looks odd.

                                      snapshot3.png
                                      snapshot3.png_thumb
                                      snapshot4.png
                                      snapshot4.png_thumb
                                      snapshot5.png
                                      snapshot5.png_thumb

                                      1 Reply Last reply Reply Quote 0
                                      • H
                                        hda
                                        last edited by Mar 2, 2015, 11:47 PM Mar 2, 2015, 11:05 PM

                                        For sure: Set block bogon network to False = uncheck

                                        Your iface DT to WAN is OK & transparant, because you have your IPv4, right ?
                                        Therefore IPv6 must be possible too. Just find out how(protocol pfSense-WAN) to get it from ISP.

                                        I would test to use config: dhcp6 & use IPv4 connectivity & prefix & delegation size =/48, if SLAAC doesn't yield.

                                        Just experiment with the combinations. ;)

                                        DNS servers go in: System: General Setup

                                        1 Reply Last reply Reply Quote 0
                                        • T
                                          tic226
                                          last edited by Mar 2, 2015, 11:29 PM

                                          @hda:

                                          For sure: Set block bogon network to False = uncheck

                                          DNS servers go in: System: General Setup

                                          Ok i've disabled the bogon block, but i still can't ping6 from the pfsense node, ping6 from the LAN
                                          side the gateway or external addresses time out and ping6 from WAN to the gateway doesn't work at all.
                                          (Not even from the link-local address)

                                          @hda:

                                          Your iface to WAN is OK & transparant. Because you have your IPv4, right ?
                                          Therefore IPv6 must be possible too. Just find out how(protocol pfSense-WAN) to get it from ISP.

                                          Yes, IPv4 is working fine. On the draytek IPv6 must be set to PPP, i don't know in which way the
                                          whole process differs to SLAAC if it does at all. But the link-local addresses look ok, it 'should' work.
                                          Maybe after all the fiddling around with settings over the last 2 days i need a clean default setup
                                          to start from the beginning (also the draytek box) and then it will all magically work out…

                                          1 Reply Last reply Reply Quote 0
                                          22 out of 28
                                          • First post
                                            22/28
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received