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

    Suggestion: PF IP Tables

    Scheduled Pinned Locked Moved Firewalling
    4 Posts 2 Posters 2.1k 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.
    • X
      xibalba
      last edited by

      Hey everyone,
      I know PF has support for IP Tables which allow you to easily extend rules to LOTS of IPs with much efficiency. Could this be added into the next release/upgrade? I find it would be very nice to build a table of all APNIC ips and block access to ssh with one rule and this associated table. Just a thought, let me what you guys think.

      1 Reply Last reply Reply Quote 0
      • J
        jeroen234
        last edited by

        pfsense calls this aliases
        make a alias called sshblock
        and fill it with ip's to block

        now make a rule that blocks sshblock on port ssh

        1 Reply Last reply Reply Quote 0
        • X
          xibalba
          last edited by

          Thanks alot, but how do you specify the source ip's as being "sshblock" when making a rule?

          1 Reply Last reply Reply Quote 0
          • X
            xibalba
            last edited by

            set the source to "single host or alias" and then type sshblock, :)
            thanks again.

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