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.
    • 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
                                  • E
                                    erbalo @Gertjan
                                    last edited by

                                    @Gertjan

                                    Oh just;

                                    1. Unceck the Allow IPV6 (it was by me allready unchecked)
                                    2. And then using the Command shell run: block in log quick inet6 all tracker 1000000003 label "Block all IPv6
                                    3. Go to the Rule 1000000003 and uncheck Log packets

                                    Is that correct?

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

                                      Your not suppose to run anything in the shell.

                                      Your block all IPv6 rule is evaluated before your no log rule.. So stop blocking all IPv6.. and your logs will clear up..

                                      With your no log rule..

                                      Blocking all IPv6 is pointless if your not allowing it in the first place.. all interfaces have default deny. Unchecking that box is just going to spam your log with all IPv6 traffic that is blocked.

                                      Also ZERO point in hiding link-local address space.. But stops us from seeing if that is 1 device or multiple devices. Again the best advice I can give you is turn IPv6 off at the devices themselves if you don't want noise on your network... Your not using IPv6.. So every packet put on the wire is just noise, be you log it or not..

                                      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
                                      • viktor_gV
                                        viktor_g Netgate
                                        last edited by

                                        also check this: https://redmine.pfsense.org/issues/9837

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

                                          @erbalo said in Disable IPV6 completely:

                                          Is that correct?

                                          For one third.

                                          Uncheck - see my image above.
                                          Doing so, this will place a firewall rule '100000003' that block all IPV6 traffioc on all interface. This is what Unchecking "Allow IPV6" does, not more, not less.
                                          To see the firewall rule : Take a look at /tmp/rules.debug

                                          I do not understand what you mean with 2. There is nothing to execute by you.

                                          1. Even less.

                                          Again.

                                          Uncheck this one :

                                          895c1366-807a-409e-8df5-c7fbb7ff4cca-image.png

                                          and hit the bleu Save button at the bottom.
                                          32379db6-544b-4fa5-95ba-935ede0b292d-image.png

                                          Problem solved.

                                          edit : solved .... is relative.
                                          IPv4 is still fading out - IPV6 is the future.
                                          Accepting it, learning it is not some kind of luxury.
                                          If you are selling hair dryer all your live, you might need any IPv6 knowledge.
                                          If you maintain and administer Firewalls ... there is no choice.

                                          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
                                          • JKnottJ
                                            JKnott @erbalo
                                            last edited by

                                            @erbalo

                                            If you have IPv6 service, why would you want to block it? What sort of log entries are you getting? Where are they from?

                                            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
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.