Navigation

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

    URLs auto update aws ip

    General pfSense Questions
    2
    5
    111
    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.
    • T
      tomli last edited by

      Pfsense version: 2.4.5

      Hi All,

      We use curl to get the aws ip lists and setup a url alias in pfsense.
      curl -k -s https://ip-ranges.amazonaws.com/ip-ranges.json" | /usr/local/bin/jq -r '.prefixes[]|.ip_prefix > /var/www/http/awsip

      b57afebb-6104-448d-8a0c-5e9e062f9b01-image.png

      In the pfsense table, we can see 2371 records for aws only. In the curl result, we can count 3254 records, Is it any limitation in pfsense alias table?

      Please advise.

      1 Reply Last reply Reply Quote 0
      • stephenw10
        stephenw10 Netgate Administrator last edited by

        Not in that way. Are all the items in the list valid subnets?

        They appear to be in the breif test I did here.

        Steve

        1 Reply Last reply Reply Quote 0
        • stephenw10
          stephenw10 Netgate Administrator last edited by

          Ah looks like a limit with not using a table alias. Make sure that alias is set as type URL Table (IPs).

          Steve

          1 Reply Last reply Reply Quote 0
          • T
            tomli last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • T
              tomli last edited by

              Hi
              Checked the IP list, there are some duplicated IP addresses in AWS IP list. Pfsense do not import the duplicated IP addresses.

              Thanks!

              1 Reply Last reply Reply Quote 0
              • First post
                Last post