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

    Port specific IP-range limitation rule

    Scheduled Pinned Locked Moved Firewalling
    3 Posts 2 Posters 2.9k 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.
    • S Offline
      sr71
      last edited by

      I'm not sure if this is at all possible, hence me asking here.

      Need:
      Set up a rule for port 10000 (just an example for this post) that will only allow connections to that port from a specific WAN side IP-range say  22.0.0.1 - 22.225.225.1 (just an example).

      Other traffic and services happen on this same firewall and naturally they have their own rules.

      1 Reply Last reply Reply Quote 0
      • P Offline
        pingulino
        last edited by

        Shouldn't be a problem.

        1. Make an alias containing the allowed ip range
        2. Create a firewall rule for WAN, port 10000 and source<your-iprange-alias></your-iprange-alias>
        1 Reply Last reply Reply Quote 0
        • S Offline
          sr71
          last edited by

          :o

          So you can use Aliases on WAN side things as well?!
          Cool!

          And of course thank you!

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