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

Firewall rules for IPV6 track interface.

Scheduled Pinned Locked Moved IPv6
19 Posts 4 Posters 1.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.
  • B
    bassopt @Bob.Dig
    last edited by Aug 1, 2022, 6:34 PM

    @bob-dig said in Firewall rules for IPV6 track interface.:

    So how do you came up with this, how have you checked this.

    Because I have a vps running on vultr and decided to ssh into the ipv6 address assigned to one of my docker VMs. And voilá… instant access. If I do it to the (global) ipv4 address it’s blocked.

    B S 2 Replies Last reply Aug 1, 2022, 6:38 PM Reply Quote 0
    • B
      Bob.Dig LAYER 8 @bassopt
      last edited by Bob.Dig Aug 1, 2022, 6:39 PM Aug 1, 2022, 6:38 PM

      @bassopt So then show your WAN rules, you have to open ports for IPv6 too, it is not open by default.

      B 1 Reply Last reply Aug 1, 2022, 6:44 PM Reply Quote 0
      • B
        bassopt @Bob.Dig
        last edited by bassopt Aug 1, 2022, 6:45 PM Aug 1, 2022, 6:44 PM

        @bob-dig

        I have zero rules on the wan interface assigned for ipv6 only ipv4.
        I just configured ipv6 today.

        It’s as if the track interface from wan to lan, ignores completely the wan rules and only uses the lan ones. That’s why everything is exposed.

        Note that my wan interface doesn’t even has have an ipv6 address ( that’s how my isp works apparently ) just a ff80: link local address ..

        B 1 Reply Last reply Aug 1, 2022, 6:48 PM Reply Quote 0
        • B
          Bob.Dig LAYER 8 @bassopt
          last edited by Aug 1, 2022, 6:48 PM

          @bassopt said in Firewall rules for IPV6 track interface.:

          That’s why everything is exposed.

          No, exposed is only your missing knowledge about this. But without screens it is hard to say what is wrong with your setup.

          B 1 Reply Last reply Aug 1, 2022, 7:03 PM Reply Quote 0
          • B
            bassopt @Bob.Dig
            last edited by Aug 1, 2022, 7:03 PM

            @bob-dig

            Here.

            alt text

            alt text

            alt text

            alt text

            alt text

            alt text

            alt text

            I also have NAT

            B 1 Reply Last reply Aug 1, 2022, 7:34 PM Reply Quote 0
            • B
              Bob.Dig LAYER 8 @bassopt
              last edited by Bob.Dig Aug 1, 2022, 7:35 PM Aug 1, 2022, 7:34 PM

              @bassopt So this looks ok.
              I did a quick test from my vps and everything is closed here.

              B 2 Replies Last reply Aug 1, 2022, 8:16 PM Reply Quote 0
              • B
                bassopt @Bob.Dig
                last edited by Aug 1, 2022, 8:16 PM

                @bob-dig

                Thanks! No idea why this happening…

                1 Reply Last reply Reply Quote 0
                • B
                  bassopt @Bob.Dig
                  last edited by Aug 1, 2022, 9:12 PM

                  @bob-dig btw are you using pfsense+ or community? I’ll try to reinstall pfsense tomorrow and restore Di figs from a backup and see if anything changes.

                  1 Reply Last reply Reply Quote 0
                  • B
                    bassopt
                    last edited by Aug 3, 2022, 2:21 PM

                    Any other input in this? I’ve reinstalled pfsense+ and pfsense community edition and problem still exists.

                    1 Reply Last reply Reply Quote 0
                    • S
                      SteveITS Galactic Empire @bassopt
                      last edited by Aug 3, 2022, 2:42 PM

                      @bassopt said in Firewall rules for IPV6 track interface.:

                      ssh into the ipv6 address assigned to one of my docker VMs. And voilá… instant access

                      Are you connecting from another PC on your LAN? (which wouldn't go through the router...)

                      In theory you can add a rule on WAN to block all IPv6 but the default block rule should be blocking everything inbound.

                      Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                      When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                      Upvote 👍 helpful posts!

                      B 1 Reply Last reply Aug 3, 2022, 3:18 PM Reply Quote 0
                      • B
                        bassopt @SteveITS
                        last edited by Aug 3, 2022, 3:18 PM

                        @steveits no. I’m accessing from a vps outside my lan. That’s why something doesn’t add up. I know I could add a firewall rule if I wanted to ssh into vm but I don’t. Still all my lan machines are completely exposed when the get a global address from pfsense with no passing rules whatsoever.

                        B 1 Reply Last reply Aug 3, 2022, 3:58 PM Reply Quote 0
                        • B
                          bassopt @bassopt
                          last edited by bassopt Aug 3, 2022, 3:58 PM Aug 3, 2022, 3:58 PM

                          Found the issue.

                          PFBlockerNG .... uninstalled it and problem is solved. No clue what it might be doing but whatever !!!

                          T 1 Reply Last reply Aug 3, 2022, 5:40 PM Reply Quote 0
                          • T
                            the other @bassopt
                            last edited by Aug 3, 2022, 5:40 PM

                            @bassopt hey there, good to know you solved it.
                            Just out of interest, did you use pfblockerng at all, meaning, have you configured something regarding ip whitelists or geoIP?
                            Some existing floating rules might then have been the issue...
                            Just having pfblockerng installed without any settings active and aliase or rules created shouldn't cause that...
                            Or Am I wrong assuming that (*looking at the more experienced people here)
                            :)

                            the other

                            pure amateur home user, no business or professional background
                            please excuse poor english skills and typpoz :)

                            S 1 Reply Last reply Aug 3, 2022, 5:58 PM Reply Quote 0
                            • S
                              SteveITS Galactic Empire @the other
                              last edited by Aug 3, 2022, 5:58 PM

                              @the-other pfBlocker can set up allow or block rules, or aliases, or DNSBL. By itself, without any configuration, it basically does nothing. Any rules it creates would normally be on the LAN and/or WAN rule pages.

                              Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                              When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                              Upvote 👍 helpful posts!

                              T 1 Reply Last reply Aug 3, 2022, 7:28 PM Reply Quote 0
                              • T
                                the other @SteveITS
                                last edited by the other Aug 3, 2022, 7:29 PM Aug 3, 2022, 7:28 PM

                                @steveits
                                Hey there and thanks for your reply.
                                That is what I thought.
                                So, there must have been some rule responsible for this issue. Since the Screenshots of wan and lan did not show any such rule, I figured there must have been other rules...
                                Just uninstalling pfblockerng solving the problem seems strange otherwise.
                                Just trying to understand this issue.

                                the other

                                pure amateur home user, no business or professional background
                                please excuse poor english skills and typpoz :)

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