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

    IPv6 with two or more LAN-side interfaces

    Scheduled Pinned Locked Moved IPv6
    61 Posts 6 Posters 8.1k 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.
    • Bob.DigB
      Bob.Dig LAYER 8 @johnpoz
      last edited by Bob.Dig

      @johnpoz Is there a noob friendly tutorial for HE around here?
      For my noob-E-Mail-Server it would be nice to have PTR.
      Can I have two ore more IPs with each there own PTR for one machine/host? So that every Service got its own IP/PTR, even when it is on the same machine as another Service?

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by johnpoz

        You can setup PTRs for any of your IPv6 addresses.. I have a few setup

        here is the pfsense docs
        https://docs.netgate.com/pfsense/en/latest/interfaces/using-ipv6-with-a-tunnel-broker.html

        Haven't run through it years... But I would assume its current and ready to go from a quick look over it looks fine..

        I don't run smtp on it, I know a few years back they had some issues with abuse of users sending spam, etc. etc. And you had to enable it if you were sage, and now that is even gone - and you might have to contact them to enable 25.. Guess I could do a simple test to see if 25 is open in and out over the IPv6, etc.. But just be aware that might be something you will have to contact them about.

        edit: did a simple test of outbound and that is open

        telnet -6 2607:f8b0:4001:c03::1a 25
        Trying 2607:f8b0:4001:c03::1a...
        Connected to 2607:f8b0:4001:c03::1a.
        Escape character is '^]'.
        220 mx.google.com ESMTP e24si5820214ioh.159 - gsmtp
        

        So I don't see why outbound would be open without inbound.. I haven't kept up with all the stuff on their forums and such for years and years since its just rock solid and no need.. Only time I was on there frequentlly was years ago like early 2011 or something when got sage via their free certification test.. You can get a FREE tshirt ;) I still sport mine now and then..

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        Bob.DigB T 3 Replies Last reply Reply Quote 1
        • Bob.DigB
          Bob.Dig LAYER 8 @johnpoz
          last edited by Bob.Dig

          @johnpoz said in IPv6 with two or more LAN-side interfaces:

          You can setup PTRs for any of your IPv6 addresses.. I have a few setup

          Where can I do that? I got a he tunnel just now but can't find that option.

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

            I got it.

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

              @johnpoz Regarding PTR and the HE-tunnel, I created some PTR-Records or to be more precise I guess, HE created them after I made the AAAA-Records. But my DNS-provider is cloudflare, so my question is this, do I have to "glue" something togehter for PTR to be "better" or is this not important, because it works anyway?

              1 Reply Last reply Reply Quote 0
              • johnpozJ
                johnpoz LAYER 8 Global Moderator
                last edited by

                No there is nothing to glue together... cloudlflare becomes the authoritative NS for the forward records.. HE will always be the authoritative NS for the IP space... Unless they delegated that to clouldlflare.. Which they currently do not allow you to do..

                But works just fine this way.. Does your PTR resolve - then your fine.

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 24.11 | Lab VMs 2.8, 24.11

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

                  @johnpoz Thank you, John.

                  Regarding policy routing, in another thread you showed me the use of an Alias RFC1918 for an IPv4-rule.
                  Now I want to route everything IPv6 from VSERVER out to the HE-Tunnel. Is it therefore advised to have a rule for every other IPv6 enabled interface in my example LAN?

                  dgfsr.PNG

                  And if yes, I have to do it for every interface I guess, especially that I also use my ISP-IPv6 with is to some degree dynamic.

                  1 Reply Last reply Reply Quote 0
                  • johnpozJ
                    johnpoz LAYER 8 Global Moderator
                    last edited by johnpoz

                    does your wan have its own IPv6? HE prefixes wouldn't work out your wan if it has its own IPv6..

                    HE would just be your default gateway for IPv6 - there would be no reason to policy route it.. It would just happen on its own with the default * gateway.. Via normal routing..

                    Not getting the use case to why you would want/need to policy route ipv6..

                    An intelligent man is sometimes forced to be drunk to spend time with his fools
                    If you get confused: Listen to the Music Play
                    Please don't Chat/PM me for help, unless mod related
                    SG-4860 24.11 | Lab VMs 2.8, 24.11

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

                      @johnpoz I use both. The ISP one is only /64, it is on LAN and probably has better "ping-times" for gaming etc and is my default. And for the other Interfaces I will use those provided by HE or none.
                      In this regard, made my post from before sense?

                      1 Reply Last reply Reply Quote 0
                      • johnpozJ
                        johnpoz LAYER 8 Global Moderator
                        last edited by

                        Ah - ok..

                        They yeah you would policy route it just like IPv4 then - you send traffic from the networks using HE out HE gateway.

                        An intelligent man is sometimes forced to be drunk to spend time with his fools
                        If you get confused: Listen to the Music Play
                        Please don't Chat/PM me for help, unless mod related
                        SG-4860 24.11 | Lab VMs 2.8, 24.11

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

                          @johnpoz But do I need the rule in the middle?

                          Also you are right with making HE-Tunnel the default if the middle rule does make sense, it would be much easier then to only do it to LAN instead to all the other.

                          1 Reply Last reply Reply Quote 0
                          • johnpozJ
                            johnpoz LAYER 8 Global Moderator
                            last edited by

                            Yeah that way works too ;)

                            I personally would just use HE.. Have you done any testing to see how much latency difference your seeing to different things.. Or you just assuming that your ISP should be faster - all comes down to the peering ;) And if you have a HE pop in your local area.. If the only HE pop you have is on really far away - then yeah ok that could add some latency... If where you wanting to go is in the wrong direction.

                            You have a shared last mile which is your ISP... But after that it comes down to peering and location - for you know HE is in the same pop, etc. I would be curious to the difference in performance.. Sure HE is in a GRE tunnel and a bit of added overhead but really in the big picture your talking insignificant stuff here..

                            An intelligent man is sometimes forced to be drunk to spend time with his fools
                            If you get confused: Listen to the Music Play
                            Please don't Chat/PM me for help, unless mod related
                            SG-4860 24.11 | Lab VMs 2.8, 24.11

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

                              @johnpoz I did some very few ping-tests and my ISP came ahead with one ms, which is nothing. 😉
                              But now I am thinking to get rid of the /48 and instead open four other tunnels... 😈

                              1 Reply Last reply Reply Quote 0
                              • johnpozJ
                                johnpoz LAYER 8 Global Moderator
                                last edited by

                                Huh... They won't let you open 4 tunnels.. You have to have multiple IPv4s to do multiple tunnels.

                                An intelligent man is sometimes forced to be drunk to spend time with his fools
                                If you get confused: Listen to the Music Play
                                Please don't Chat/PM me for help, unless mod related
                                SG-4860 24.11 | Lab VMs 2.8, 24.11

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

                                  @johnpoz Ah ok, sounds fair.

                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    taz3146 @johnpoz
                                    last edited by

                                    he.net tunnelbroker went to default blocking of "IRC" and SMTP" traffic long ago due to spammers/flooders.
                                    To have it unblocked, they generally require you to pass their "IPv6 Certification testing" to level "Sage", then email them and if they choose to, they'll enable a button on the tunnelbroker advanced config page to "unblock" smtp & irc traffic.

                                    **obviously don't use it for devious purposes like spamming/trolling/flooding or you'll very likely get your whole tunnel removed in a hurry.

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

                                      @taz3146 Yep. I somehow managed to get Sage. ☺

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

                                        For getting a PTR for every service that I run, I tried adding a second NIC to my VMs for another IPv6-addresse by the dhcp. But then I found out that the DUID was the same for every NIC, seems to be machine specific, so I couldn't use the DHCPv6 Server anymore, because it is not using the MAC-addresses, only DUID. So I finally switched to give those machines the IPv6 manually. For that I also didn't needed a second NIC in the first place.
                                        Because the prefixes by HE never changes, that worked out well. But some time in the future, I would like to see all this managing is doable in pfSense. 😉

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

                                          With PTR in general there seems to be the problem that, if your machine hast two ore more addresses, to tell the server/service/program which of them to use for outgoing connections, right?

                                          1 Reply Last reply Reply Quote 0
                                          • johnpozJ
                                            johnpoz LAYER 8 Global Moderator
                                            last edited by johnpoz

                                            huh? Ya lost me... What does a dns record have to do with your machine having more than 1 address? And what does that have to do with what an application uses as its source IP?

                                            An intelligent man is sometimes forced to be drunk to spend time with his fools
                                            If you get confused: Listen to the Music Play
                                            Please don't Chat/PM me for help, unless mod related
                                            SG-4860 24.11 | Lab VMs 2.8, 24.11

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