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

    Disable IPV6 completely

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    29 Posts 7 Posters 10.0k 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
      erbalo
      last edited by

      Hello Guys,

      How can i completely disable IPV6 on my Pfsense.

      I see too many Firewall logs with ipv6. I have installed pfblocker and also blocked all IPV6 GEOip addresses.

      JKnottJ 1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan
        last edited by

        Hi,

        Even when you disable IPv6 on your router, there will still always be IPv6 traffic on your LAN's as it is the default traffic these days - IPv4 is only used when IPv6 is broken / not set up.
        You have to disable it on any device, if possible.

        You are seeing log lines because you activated the default firewall block logging ? See log settings.
        If you didn't add any IPv6 rules, and default block rules aren't logging, then IPv6 will just be discarded.

        @erbalo said in Disable IPV6 completely:

        I have installed pfblocker and also blocked all IPV6 GEOip addresses.

        What ?
        You want to disable IPv6 and still including IPv6 rules ?

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        1 Reply Last reply Reply Quote 0
        • NogBadTheBadN
          NogBadTheBad
          last edited by

          @Gertjan said in Disable IPV6 completely:

          You are seeing log lines because you activated the default firewall block logging ? See log settings.
          If you didn't add any IPv6 rules, and default block rules aren't logging, then IPv6 will just be discarded.

          Create a firewall rule to drop IPv6 and not log as @Gertjan mentioned you'll still see IPv6 from the end devices otherwise.

          Andy

          1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

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

            Please post example of what your seeing in the logs..

            If you want to stop the noise of ipv6, its best to turn it off on the device if possible.

            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.7.2, 24.11

            1 Reply Last reply Reply Quote 0
            • provelsP
              provels
              last edited by provels

              Try looking at this old post. I did this before I started running IPv6. It turns off logging for the quick rule if the "Allow IPv6" checkbox is unchecked.
              https://forum.netgate.com/topic/101469/ipv6-multicasts-flooding-the-pfsense-logs/16
              Looks like it's around Line 3253 in /etc/inc/filter.inc in 2.4.4-3 .
              If you do this, it will be overwritten by upgrades. You'll need to redo.
              Ignore as needed, I'm pretty hung over. Too much quarantine.

              Peder

              MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
              BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

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

                Not logging stuff you have control over is not best solution.. Since its still actually there - your just not looking at it..

                For example there is one thing if your tired of looking at the noise from the public internet of the bots hitting you on port 3389, and you just don't want to see it in your logs any more.. There is really nothing you can do about that sort of noise.

                But if what your seeing is your devices asking for dhcpv6, and your firewall is logging it.. What is better for your network.. Just turn off the logging and ignore it, or just set the device that keeps asking for dhcpv6 to not ask for dhcpv6 since your not running IPv6 on this network..

                Details of what exactly is being logged will help us determine best way to accomplish what @erbalo wants.

                Maybe what is flooding his logs with noise is some iot device that he has zero control over it putting ipv6 noise on the wire.. The better solution for just ignoring this by not logging it, might be to isolate that iot device and any of its brothers to their own L2, so that now that noise isn't on his normal devices network/wifi.. Or maybe he can block the noise at the switch port before this noise enters the network - vs just not logging it..

                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.7.2, 24.11

                1 Reply Last reply Reply Quote 0
                • E
                  erbalo
                  last edited by

                  Here are some details about my configs and logs. The problem is here because too much logs i can't see another logs over and can't solve another problems becuase too much logs of IPV6..

                  Some of logs:

                  5791c246-5404-42a9-ac5a-ec377dc02fdb-afbeelding.png

                  Can you please also verify me to my system logs settings?

                  d96204cf-4f12-4010-80a3-18adf89e656d-afbeelding.png

                  PFblocker also blocked ipv6 country:
                  e0374962-5295-4a53-82dd-a93e298dc53e-afbeelding.png

                  IPV6 settings of Pfsense:
                  2d0774a8-eb98-4269-bcb1-70aa0d671416-afbeelding.png

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

                    Not sure the point of hiding link local IPs.. But that traffic is multicast dns and LLMNR (another local name resolution protocol)..

                    I would suggest you turn that off at the machine.. the LLMNR would scream some windows machine to me.. Turn it off there.

                    But if you don't want that nonsense logged, then create a rule that doesn't log it.. I would create a rule with dest say ff00::/8 and not log it..

                    example.jpg

                    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.7.2, 24.11

                    1 Reply Last reply Reply Quote 0
                    • E
                      erbalo
                      last edited by

                      @johnpoz said in Disable IPV6 completely:

                      ff00::/8

                      Ok just by me the destination IPV6 address is everytime different.

                      When you add this rule, did you then pass this rule also? Is that not strange to do that? By me on the logs i see that this address is blocked.

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

                        Doesn't matter if you pass it or block it... pfsense isn't going to do anything with it anyway!

                        The dest ff00:://8 would include all of that dest traffic!

                        Again the best solution is turn off the noise at the source!!

                        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.7.2, 24.11

                        GertjanG E 2 Replies Last reply Reply Quote 0
                        • GertjanG
                          Gertjan @johnpoz
                          last edited by

                          @johnpoz said in Disable IPV6 completely:

                          Again the best solution is turn off the noise at the source!!

                          Another one might be : locate and obliterate that device that likes so much ports "5353 and 5355 ".

                          No "help me" PM's please. Use the forum, the community will thank you.
                          Edit : and where are the logs ??

                          1 Reply Last reply Reply Quote 0
                          • E
                            erbalo @johnpoz
                            last edited by

                            @johnpoz When i want to add this rule it says destination ip is not correct, how did you add that to the rule. I am planning to add this rule on floating and then as block.

                            1 Reply Last reply Reply Quote 0
                            • NogBadTheBadN
                              NogBadTheBad
                              last edited by

                              Post a screenshot.

                              You can drag a screenshot into the reply window.

                              Andy

                              1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

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

                                As network

                                network.jpg

                                make sure you tick the quick checkbox! How many interfaces do you have? Its normally a GOOD idea to put the rules directly on the interface... So you don't forget about them when looking at your rules.

                                There would be 1 thing if you had 100 interfaces... But when you have a handful, just put the rules directly on the interface!!

                                But if you don't want to see any ipv6 noise - prob just make the dest ANY Ipv6 vs the specific multicast destination

                                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.7.2, 24.11

                                1 Reply Last reply Reply Quote 0
                                • E
                                  erbalo
                                  last edited by

                                  This post is deleted!
                                  1 Reply Last reply Reply Quote 0
                                  • johnpozJ
                                    johnpoz LAYER 8 Global Moderator
                                    last edited by johnpoz

                                    Because that is NOT single addres ff00::/8 is a NETWORK!

                                    And again its not going to do you any good on floating if you don't tick the quick option!

                                    Why would you be picking the WAN interface? Are you seeing ipv6 noise on your wan? That you don't have an IPv6 address on? What sort of noise is that? Post a screenshot of such noise please.

                                    And yet again I am going to mention this - you would be better off turning it off at the source of the NOISE!! Disable IPv6 on your windows machines for example... Which I would guess would of been the source of that LLMNR traffic.. Windows loves to have that shit on by default..

                                    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.7.2, 24.11

                                    1 Reply Last reply Reply Quote 0
                                    • E
                                      erbalo
                                      last edited by

                                      With this settings the logs are not go on and still coming on.

                                      I have searched the source in NTOPng but i can't found which device that is, i don't get a DNS name.

                                      5a11e4b9-ce0f-44e8-95a9-634784a6bb7f-afbeelding.png

                                      I will also try to put the rule on the interfaces.

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

                                        And is what your seeing in the logs to the ff00:: network?

                                        What you posted before was.. Your saying your still seeing that? What other rules do you have on floating? So we can see the order.

                                        Since you don't want to see IPv6 in your logs, just set the dest to ANY.. vs just multicast..

                                        ff02::fb in your log for example is the ipv6 link-local dest multicast address

                                        FF02:0:0:0:0:0:0:FB mDNSv6

                                        So if your still seeing it logged, you have something other than the default rule logging it. Possible the Block ALL IPv6 rule... What is the description on your log?

                                        Turn off the block all IPv6 setting... It's pretty pointless if you don't have any ipv6 setup on your interfaces in the first place, or don't allow IPv6 inf your rules anyway.

                                        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.7.2, 24.11

                                        1 Reply Last reply Reply Quote 0
                                        • E
                                          erbalo
                                          last edited by

                                          just here are some of logs:
                                          dab4d26f-0bde-4033-867a-9402c972c7d4-afbeelding.png

                                          1 Reply Last reply Reply Quote 0
                                          • GertjanG
                                            Gertjan
                                            last edited by Gertjan

                                            When you want to block all incoming IPv6 traffic :

                                            854efb59-f29d-4750-9c1c-b069f96c87b6-image.png

                                            Note : unchecking this option == blocking UIPv6 activates rule "1000000003" =

                                            block in log quick inet6 all tracker 1000000003 label "Block all IPv6"
                                            

                                            and you have this option set :

                                            288933b7-3129-4207-a8b8-6b95544c3f5e-image.png

                                            then yeah, your Firewall log will get hail stormed by these '100000003' lines.
                                            After all, all your devices on your LAN's are still going to try to use IPv6.

                                            So, you get exactly what you are asking ...

                                            No "help me" PM's please. Use the forum, the community will thank you.
                                            Edit : and where are the logs ??

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