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

    IP Ranges ?

    Scheduled Pinned Locked Moved General pfSense Questions
    4 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.
    • U Offline
      umar
      last edited by

      HI All,

      Can we define ip ranges in pfsense e.g.

      I have local network 192.168.1.0/24. Now I want to block

      FTP traffic for these ips
      192.168.1.20 - 192.168.1.50

      and block ssh access for these ips
      192.168.1.70 - 192.168.1.90

      Best Regards,

      Umar

      1 Reply Last reply Reply Quote 0
      • S Offline
        SeventhSon
        last edited by

        You should be able to make an Alias for that, and use that alias in your block rules.

        1 Reply Last reply Reply Quote 0
        • W Offline
          wallabybob
          last edited by

          It would be helpful to have more detail of your configuration and what you are trying to block.

          For example, if you are trying to block 192.168.1.x from access to FTP on 192.168.1.20 through 192.168.1.50 then the firewall won't help because that traffic bypasses the firewall.

          1 Reply Last reply Reply Quote 0
          • jimpJ Offline
            jimp Rebel Alliance Developer Netgate
            last edited by

            On 2.0 you can use ranges in an alias, but what it really does is translate that alias into an equivalent set of CIDR masked proper subnets.

            On 1.2.3 you can get this functionality by installing the package for IP Ranges in aliases.

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

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