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

    Multiple Source IP addresses

    Scheduled Pinned Locked Moved NAT
    3 Posts 2 Posters 1.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.
    • E
      elangley
      last edited by

      Hello All,

      I have a NAT rule setup to forward one port to a particular destination.

      PFSense allows for restricting to one IP address or a range but I would like to be able to restrict the Source by IP address with more than one address.

      For instance, allow (block all except) 10.0.0.1 and 10.120.0.1 and 10.125.0.2

      What would be the best way to go about this?

      Thanks in advance,

      ~eric

      1 Reply Last reply Reply Quote 0
      • KOMK
        KOM
        last edited by

        Create an alias with your whitelisted IPs, and then use that alias as the Source in your firewall or NAT rule.

        1 Reply Last reply Reply Quote 0
        • E
          elangley
          last edited by

          KOM,

          Perfect.

          Thanks,

          ~eric

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