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

    Blocking truenas access

    Scheduled Pinned Locked Moved Firewalling
    6 Posts 4 Posters 953 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.
    • K
      kreki1986
      last edited by

      Planning to set the rule that block webgui into truenas from everyone

      Truenas port is 54222 and here what I did and IDK what I am missing

      Action: Block
      Interface: LAN
      Address F: IPv4
      Protocol: TCP/UDP
      Source : Any
      Destination: any port 54222

      Thanks in advance.

      R V 2 Replies Last reply Reply Quote 0
      • R
        rcoleman-netgate Netgate @kreki1986
        last edited by

        @kreki1986 Destination should be the IP of the TrueNAS and the rule should be on the interface that TrueNAS is connected to.

        It won't block subnet traffic, though.

        Ryan
        Repeat, after me: MESH IS THE DEVIL! MESH IS THE DEVIL!
        Requesting firmware for your Netgate device? https://go.netgate.com
        Switching: Mikrotik, Netgear, Extreme
        Wireless: Aruba, Ubiquiti

        K 1 Reply Last reply Reply Quote 1
        • V
          viragomann @kreki1986
          last edited by

          @kreki1986
          If both, the Truenas and the devices you want to block are in the LAN subnet, the traffic won't pass pfSense. So there is no way to block it.
          Put the Truenas into another network segment in this case, maybe a VLAN hooked up on the LAN network.

          K 1 Reply Last reply Reply Quote 1
          • K
            kreki1986 @rcoleman-netgate
            last edited by

            @rcoleman-netgate
            Thanks for the explanation

            1 Reply Last reply Reply Quote 0
            • K
              kreki1986 @viragomann
              last edited by

              @viragomann
              Thank you Viragomann.
              This explain everything.
              Both devices are on the same network that the reason why.

              I want to leave this truenas connected on the internet to get the updates.
              What would be the best practice of rule to block anyone beside this private network to have access on this truenas

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

                @kreki1986 if you want to use pfsense to control access to the nas from your other local networks you would need to put the truenas on a different network/vlan than the devices you want to control access from..

                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

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