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

    Good results with URL Table Aliases package

    Scheduled Pinned Locked Moved pfSense Packages
    25 Posts 7 Posters 30.8k 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.
    • jimpJ
      jimp Rebel Alliance Developer Netgate
      last edited by

      @killervette:

      i havent had a chance to check yet, but just to mention I am running NanoBSD version.  Does that matter?

      I thought it was safe to use on NanoBSD but I don't recall at the moment.

      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
      • K
        killervette
        last edited by

        So how should i add an alias to my rules?  I want to only allow us ips to connect.  So, i add the CIDR US list to the URL alias.  Then what?

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

          You make a new alias, choose the URL table type, put in the URL for the US IPs list.

          Then use the alias in a rule like any other alias. You'd make a rule on WAN like so:

          pass <protocol>from <single host="" or="" alias,="" us_ip_alias="">, port: any, to <local_ip>, port: <whatever>.

          The real contents of that rule are up to you and whatever your app is.</whatever></local_ip></single></protocol>

          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
          • K
            killervette
            last edited by

            Will that by default block all other ips? do i need to put a rule below allow us ips to block all?

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

              All traffic is blocked on pfSense by default.

              If you have no other pass rule that matches the same traffic, then all other traffic will be blocked.

              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.